XK0-006 practice question 4 of 15
Which of the following best describes the role of initrd?
Full set: 149 questionsThe initrd (initial RAM disk) is a temporary root file system loaded into memory during the Linux boot process. Its primary role is to contain a minimal set of drivers and kernel modules (e.g., for SATA, NVMe, or RAID controllers) that are necessary for the kernel to access the actual root filesystem on a physical device. Once the real root filesystem is mounted, the system pivots to it, and the initrd is unmounted and its memory is freed. This mechanism allows for a smaller, more generic kernel that can still boot on a wide variety of hardware configurations.
A. SSH is a network service for remote access, which is started much later in the boot process, long after the initrd has served its purpose.
C. System certificates and secret keys are sensitive data stored securely on the permanent root filesystem, typically in /etc/ssl/ or similar directories, not in the temporary initrd.
D. The kernel's cryptographic subsystem initializes the random number generator devices (/dev/random, /dev/urandom), not the initrd.
1. The Linux Kernel Archives. (2020). ramfs, rootfs and initramfs. kernel.org. Section: "What is initramfs?". https://www.kernel.org/doc/Documentation/filesystems/ramfs-rootfs-initramfs.txt
2. Red Hat Enterprise Linux 8 Documentation. (2023). Chapter 25. An introduction to the boot process. Section 25.3. "The initial RAM disk". https://access.redhat.com/documentation/en-us/redhatenterpriselinux/8/html/managingmonitoringandupdatingthekernel/an-introduction-to-the-boot-processmanaging-monitoring-and-updating-the-kernel#the-initial-ram-diskan-introduction-to-the-boot-process
3. Bovet, D. P., & Cesati, M. (2005). Understanding the Linux Kernel, 3rd Edition. O'Reilly Media. Chapter 19, Section "The Role of the initrd RAM Disk".
Keep practicing
Take the free XK0-006 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other XK0-006 practice questions
- Question 1A DevOps engineer needs to create a local Git repository. Which of the following commands…
- Question 2Which of the following is the main reason for setting up password expiry policies?
- Question 3A Linux administrator needs to securely erase the contents of a hard disk. Which of the f…
- Question 5Which of the following is a characteristic of Python 3?
- Question 6A Linux user runs the following command: nohup ping comptia.com & Which of the following …
- Question 7A systems administrator needs to enable routing of IP packets between network interfaces.…
