Question 1
A server cannot access its encrypted root filesystem until early userspace loads a storage driver. Which boot component supplies that temporary environment?
- PXE network boot
- GRUB2 bootloader menu
- systemd as initial userspace process
- Initial RAM filesystem (initramfs)
Explanation
Correct Answer
D:An initramfs provides drivers and early startup programs before the real root filesystem is mounted. It is unpacked into RAM during early boot.
Incorrect Answers
A:Preboot Execution Environment uses firmware network support, typically DHCP and a boot server, to obtain initial startup software; it does not deliver availability of drivers before the real root is mounted, which is decisive in this scenario.
B:GRUB2 selects a boot entry and loads the chosen kernel with its parameters; the evidence calls for availability of drivers before the real root is mounted, not merely this separate operation.
C:Once early boot has mounted the real root, the kernel can hand execution to PID 1, commonly systemd. systemd subsequently starts units and manages service dependencies; the task involves availability of drivers before the real root is mounted, whereas this addresses another subsystem.
Question 2
An administrator wants to temporarily pass an arbitrary flag, such as systemd.unit=rescue.target, from the boot menu. Which general class of settings is being modified?
- Kernel initialization
- root= kernel argument
- Kernel command-line parameters
- GRUB2 bootloader menu
Explanation
Correct Answer
C:The kernel consumes boot-time options such as systemd.unit or root at startup. Changing a GRUB menu entry for one boot can test a parameter without saving it permanently.
Incorrect Answers
A:The kernel initializes core hardware, memory management and early devices before handing control to PID 1; the administrator instead needs passing an option directly to the booting kernel; this option serves a different purpose.
B:The root parameter tells the kernel or initramfs which filesystem should become the operating system root; it answers a neighboring question rather than passing an option directly to the booting kernel.
D:GRUB2 is the bootloader interface from which the kernel command line can be edited. The question asks for the type of values being edited, not the name of the bootloader program.
Question 3
Firmware is configured to load the operating-system kernel and bootloader artifacts. Which directory commonly stores those Linux boot files?
- /etc
- /boot
- /home
- /tmp
Explanation
Correct Answer
B:The /boot hierarchy contains boot-related files such as kernels and initial RAM images. Some systems use a separate EFI system partition mounted elsewhere.
Incorrect Answers
A:The /etc hierarchy holds host-specific system configuration, including service settings; using it would leave locating Linux boot images unresolved.
C:User home directories commonly live below /home, although administrators can choose different paths; it does not deliver locating Linux boot images, which is decisive in this scenario.
D:/tmp is designated for temporary files and may be cleaned automatically; the evidence calls for locating Linux boot images, not merely this separate operation.
Question 4
A web application writes frequently changing logs. Which directory is the conventional base for these variable files?
- /home
- /var/log
- /etc
- /boot
Explanation
Correct Answer
B:The FHS places logs under /var/log because they change as services run. This separates runtime logs from predominantly static binaries and configuration.
Incorrect Answers
A:User home directories commonly live below /home, although administrators can choose different paths; its scope differs from placing changing service log files in their conventional location, so it cannot meet the stated requirement.
C:The /etc hierarchy holds host-specific system configuration, including service settings; the administrator instead needs placing changing service log files in their conventional location; this option serves a different purpose.
D:The /boot hierarchy contains boot-related files such as kernels and initial RAM images; it answers a neighboring question rather than placing changing service log files in their conventional location.
Question 5
An administrator needs an ordinary user's default personal directory. Which FHS path is the typical parent?
- /dev
- /home
- /tmp
- /etc
- /var/log
Explanation
Correct Answer
B:User home directories commonly live below /home, although administrators can choose different paths. They store each account's personal files and user-level settings.
Incorrect Answers
A:Device files in /dev expose interfaces to kernel-managed devices and pseudo-devices; this does not achieve identifying conventional user home locations on the system described.
C:/tmp is designated for temporary files and may be cleaned automatically; using it would leave identifying conventional user home locations unresolved.
D:The /etc hierarchy holds host-specific system configuration, including service settings; the requirement is identifying conventional user home locations, outside the effect of this choice.
E:The FHS places logs under /var/log because they change as services run; it does not deliver identifying conventional user home locations, which is decisive in this scenario.
Question 6
A user reaches a graphical sign-in screen before a desktop session is launched. What software component typically presents it?
- Copyleft licensing
- Display manager
- Kernel command-line parameters
- Wayland compositor
Explanation
Correct Answer
B:A display manager provides the graphical login interface and starts sessions after authentication. It differs from the window manager that controls application-window placement.
Incorrect Answers
A:Copyleft requires specified freedoms and source-sharing obligations to be preserved on redistributed derivatives; the evidence calls for locating the graphical session login component, not merely this separate operation.
C:The kernel consumes boot-time options such as systemd.unit or root at startup; its scope differs from locating the graphical session login component, so it cannot meet the stated requirement.
D:The compositor combines application surfaces and handles display input in the Wayland model; that is not equivalent to locating the graphical session login component.
Question 7
A Linux host stores site-specific system configuration such as sshd_config. Where should an administrator look?
- /etc
- /proc
- /tmp
- /var/log
Explanation
Correct Answer
A:The /etc hierarchy holds host-specific system configuration, including service settings. It is not normally the destination for executable application binaries.
Incorrect Answers
B:procfs provides kernel-generated runtime information rather than ordinary persistent files; that changes a different part of the system; the requested outcome is finding system configuration files.
C:/tmp is designated for temporary files and may be cleaned automatically; this does not achieve finding system configuration files on the system described.
D:The FHS places logs under /var/log because they change as services run; it will not provide finding system configuration files under these conditions.
Question 8
After firmware finds the boot disk, which component commonly presents choices of installed kernels before Linux starts?
- Kernel command-line parameters
- PXE network boot
- systemd as initial userspace process
- GRUB2 bootloader menu
Explanation
Correct Answer
D:GRUB2 selects a boot entry and loads the chosen kernel with its parameters. Its menu is processed before systemd or normal user services can start.
Incorrect Answers
A:The kernel consumes boot-time options such as systemd.unit or root at startup; the requirement is selecting the kernel before system initialization, outside the effect of this choice.
B:Preboot Execution Environment uses firmware network support, typically DHCP and a boot server, to obtain initial startup software; it does not deliver selecting the kernel before system initialization, which is decisive in this scenario.
C:PID 1, often systemd, manages service startup only after the kernel and early boot stages have been entered. systemd subsequently starts units and manages service dependencies; the evidence calls for selecting the kernel before system initialization, not merely this separate operation.
Question 9
A system has local temporary scratch files that are not meant for long-term retention. Which path is traditionally used?
- /proc
- /tmp
- /var/log
- /home
Explanation
Correct Answer
B:/tmp is designated for temporary files and may be cleaned automatically. Long-lived application state should not depend on entries remaining there.
Incorrect Answers
A:procfs provides kernel-generated runtime information rather than ordinary persistent files; that is not equivalent to choosing a disposable temporary-files directory.
C:The FHS places logs under /var/log because they change as services run; it answers a neighboring question rather than choosing a disposable temporary-files directory.
D:User home directories commonly live below /home, although administrators can choose different paths; that changes a different part of the system; the requested outcome is choosing a disposable temporary-files directory.
Question 10
A package repository uses DEB package files and dpkg metadata. Which distribution family is it most closely associated with?
- AArch64
- RISC-V
- x86_64
- Debian-derived distributions
Explanation
Correct Answer
D:Debian and Ubuntu commonly use dpkg with apt as a higher-level frontend. RPM-family platforms instead normally use RPM package formats.
Incorrect Answers
A:AArch64 denotes the 64-bit ARM execution environment; it will not provide recognizing a dpkg-based distribution family under these conditions.
B:RISC-V is an open instruction-set architecture with multiple implementations; using it would leave recognizing a dpkg-based distribution family unresolved.
C:AMD64 and x86_64 commonly name the same 64-bit x86 instruction-set architecture; the requirement is recognizing a dpkg-based distribution family, outside the effect of this choice.