Linux+ CompTIA Linux+ Test System Architecture 2 β Questions and Answers
Question 1: Which BIOS/UEFI setting must be enabled to allow a 64-bit Linux OS to use hardware-assisted virtualization?
- Intel VT-x or AMD-V (Correct answer)
- Secure Boot
- UEFI CSM mode
- Fast Boot
Correct answer: Intel VT-x or AMD-V
Intel VT-x (Intel) or AMD-V (AMD) are the CPU extensions required for hardware-assisted virtualization in a 64-bit Linux environment.
Question 2: What is the purpose of the /proc/cmdline file on a running Linux system?
- Displays kernel parameters passed at boot time (Correct answer)
- Lists installed kernel modules
- Shows current CPU usage
- Contains the bootloader configuration
Correct answer: Displays kernel parameters passed at boot time
/proc/cmdline shows the exact command-line parameters the bootloader passed to the kernel during the current boot.
Question 3: A system boots successfully but the hardware clock is 5 hours ahead of the system clock. Which command corrects the hardware clock to match the current system time?
- hwclock --systohc (Correct answer)
- timedatectl set-time
- date --hwclock
- ntpdate --hc
Correct answer: hwclock --systohc
hwclock --systohc writes the current system time to the hardware (CMOS) clock.
Question 4: Which IRQ number is traditionally assigned to the primary ATA/IDE controller on legacy x86 systems?
- 14 (Correct answer)
- 1
- 9
- 12
Correct answer: 14
IRQ 14 is the traditional IRQ for the primary IDE/ATA controller on legacy x86 hardware.
Question 5: A Linux administrator needs to view which I/O ports are currently in use by the kernel. Which file provides this information?
- /proc/ioports (Correct answer)
- /proc/devices
- /sys/bus/pci/devices
- /etc/ioports.conf
Correct answer: /proc/ioports
/proc/ioports lists the I/O port ranges currently allocated to kernel devices.
Question 6: What does the kernel parameter 'nomodeset' do when added to the GRUB boot line?
- Disables kernel mode-setting, forcing basic video drivers (Correct answer)
- Prevents loading of kernel modules at boot
- Disables symmetric multiprocessing
- Forces read-only root filesystem
Correct answer: Disables kernel mode-setting, forcing basic video drivers
nomodeset prevents the kernel from loading GPU kernel mode-setting drivers, falling back to a basic framebuffer, useful for graphics troubleshooting.
Question 7: Which systemd target is the closest equivalent to the legacy SysV runlevel 3 (multi-user, no GUI)?
- multi-user.target (Correct answer)
- graphical.target
- rescue.target
- network.target
Correct answer: multi-user.target
multi-user.target corresponds to SysV runlevel 3: full multi-user mode with networking but without a graphical display manager.
Which BIOS/UEFI setting must be enabled to allow a 64-bit Linux OS to use hardware-assisted virtualization?