WorksheetsLinux - Unit 7 Quiz
Total questions: 15
Worksheet time: 8mins
Which firmware interface is the modern replacement for BIOS?
GRUB2
UEFI
mkinitrd
Dracut
Which command installs the GRUB2 bootloader to the system's boot sector or EFI system partition?
grub2-mkconfig
grub2-update
grub2-install
mkinitrd
What is the initial RAM disk image called?
vmlinuz
initrd.img
udev
initramfs
What does PXE stand for?
Power-On Self-Test
Preboot eXecution Environment
Portable X Environment
Postboot eXecution Engine
What is indicated by a kernel panic in an operating system?
An irrecoverable error within the operating system's kernel
Normal startup of the operating system
Standard hardware setup
Loading of the GRUB2 bootloader
Which device type is associated with serial ports, keyboards, and mice?
Block devices
Special character devices
Character devices
UEFI devices
What is a zombie process, and how can it affect system performance?
A process that consumes an excessive amount of system resources, causing performance degradation.
A process that has completed execution but still has an entry in the process table, consuming minimal resources.
A process waiting for I/O operations to complete, leading to system slowdown.
A process that is ready to run, indicating a high demand for CPU time.
What does high CPU utilization indicate, and what are some potential causes?
It indicates the average number of processes in the run queue over a specific time period. Causes include heavy system load and potential performance issues.
It indicates that the CPU is not actively executing any processes. Causes include system idleness and low demand.
It indicates the CPU consistently working at or near its maximum capacity, potentially leading to sluggish system performance. Causes include runaway processes, zombie processes, malware, and background processes.
It indicates the time the CPU spends waiting for I/O operations to complete. Causes include I/O bottlenecks and slow storage.
What is the purpose of the renice command?
To monitor and manage CPU time spent on user processes.
To dynamically adjust CPU priorities for running processes.
To identify and address runaway processes.
To troubleshoot interface errors in networking.
Why is it important to monitor and manage the CPU in a computer system?
To diagnose issues with SSL/TLS connections.
To resolve network interface errors.
To ensure system health, optimize performance, and pinpoint causes of instability.
To scan for open ports and detect remote services.
What are the consequences of having high run queues and elevated load averages on a system's performance?
They indicate optimal system performance and minimal system demand.
They point to possible I/O bottlenecks and slow storage performance.
They imply the system is experiencing heavy load, which may cause performance degradation and reduced responsiveness.
They show a queue of processes waiting for execution and high competition for CPU resources.
What is free memory in computing, and what can happen when it is exhausted?
The portion of RAM used to store recently accessed data, leading to improved system performance. Exhaustion results in file caching issues.
The portion of RAM currently not being used by any active processes. Exhaustion can lead to system slowdowns or instability.
The portion of RAM used to store frequently used files, application code, or parts of the operating system. Exhaustion can cause memory leaks.
The portion of RAM used for memory management by the operating system. Exhaustion results in out-of-memory (OOM) errors.
What is swapping in the context of CPU and memory management?
Swapping is a technique used to manage CPU priorities dynamically.
Swapping is the process of moving data between RAM and secondary storage devices when physical RAM is insufficient.
Swapping is a memory management technique used to optimize file caching.
Swapping is a tool for adjusting CPU priorities.
How does swapping help prevent out-of-memory (OOM) errors, and what is a potential drawback?
Swapping helps by preventing memory leaks. The drawback is decreased file cache efficiency.
Swapping helps by extending memory capacity using slower storage devices. The drawback is increased file cache consumption.
Swapping helps by optimizing CPU priorities. The drawback is decreased system responsiveness.
Swapping helps by moving data between RAM and secondary storage devices. The drawback is potential slowdowns and reduced overall system responsiveness, known as "thrashing."
What are lscpu and lsmen commands used for in Linux?
They are used for managing file cache and preventing memory exhaustion.
They are tools for adjusting CPU priorities dynamically.
lscpu displays detailed information about the CPU, and lsmen displays information about the system's RAM layout.
lscpu displays information about the system's RAM layout, and lsmen displays detailed information about the CPU.
