CompTIA Linux+ Test System Architecture Flashcards
7 cards from real Linux practice questions. Tap to flip, then mark Knew It or Still Learning โ missed cards come back until you master them.
Read the first 7 CompTIA Linux+ Test System Architecture flashcards as text
A Linux system fails to boot and drops to a (initramfs) prompt. What is the most likely cause?
Answer: The kernel cannot find or mount the root filesystem
An initramfs prompt means the initramfs environment loaded correctly but the kernel failed to locate or mount the real root filesystem.
What does the 'acpi=off' kernel boot parameter do?
Answer: Disables ACPI power management, forcing the kernel to use legacy power interfaces
acpi=off disables the ACPI subsystem entirely, which can work around ACPI-related hardware compatibility issues at the cost of power management functionality.
Which command displays the current I/O scheduler assigned to a specific block device, such as /dev/sda?
Answer: cat /sys/block/sda/queue/scheduler
The scheduler file under /sys/block//queue/ shows the available schedulers and marks the active one in brackets.
What is the significance of the 'nohz=on' kernel parameter?
Answer: Enables tickless (dynamic timer) mode to reduce idle CPU interrupts
nohz=on enables the tickless idle mode where the kernel skips timer ticks when a CPU is idle, reducing unnecessary interrupts and saving power.
A server has multiple network interfaces and the administrator wants to confirm which physical PCI slot each NIC occupies. Which command provides this mapping?
Answer: lspci | grep -i ethernet
lspci lists PCI devices including Ethernet controllers with their bus address, which corresponds to the physical PCI/PCIe slot.
Which /proc entry allows an administrator to read the current kernel version string, equivalent to what 'uname -r' reports?
Answer: /proc/version
/proc/version contains the full kernel version string including the kernel release, compiler version, and build timestamp.
What is the effect of setting the kernel parameter 'vm.swappiness=0' on a Linux system?
Answer: The kernel will avoid swapping and only uses swap when physical RAM is completely exhausted
vm.swappiness=0 tells the kernel to minimize swapping, only resorting to swap when RAM is fully exhausted, not proactively.