201-450: LPIC-2 Exam 201 Part 3
Question #: 21
Topic #: 1
Which command is used to install a GRUB boot loader into the master boot record?
A. grub-install
B. grub-mkconfig
C. grub-install-mbr
D. grub-glue-mbr
E. grub-mbr-setup
Question #: 22
Topic #: 1
If the file containing the Linux kernel is deleted, what happens when the system boots?
A. The system starts normally since the bootloader copies the kernel to the master boot record of the hard disk
B. Instead of the kernel, the initramfs is loaded and instructed to mount the root filesystem and reinstall the kernel from the original package or from source
C. The bootloader mounts the root filesystem read-only and launches /bin/sh directly in order to allow the administrator to reinstall the kernel
D. Without a kernel system cannot boot and, depending on the bootloader, an error is displayed
Question #: 23
Topic #: 1
A Linux server running systemd booted to rescue.target for maintenance. Which commands are used to restore the server to its usual target? (Choose two.)
A. telinit 0
B. systemctl default
C. sync
D. systemctl emergency
E. systemctl reboot
Question #: 24
Topic #: 1
What is the purpose of an initramfs during the Linux system start?
A. It loads required modules and starts sub sytems like LVM to make the root file system accessible to the kernel
B. It moves the kernel from normal system memory to initram memory to speed up kernel access
C. It copies the root file system’s content to RAM to speed up the system and reduce writes to disk
D. It creates a ram disk to store volatile data for directories like /tmp to reduce writes to disk
Question #: 25
Topic #: 1
Which of the following is a userspace application used to modify EFI entries on a Linux system?
A. efieditor
B. configefi
C. efimanager
D. efiboottmgr
E. efibootedit
Question #: 26
Topic #: 1
In which directory tree are files modified when changing kernel parameters using the command sysctl?
A. /sys/kernel/
B. /proc/kernel/
C. /proc/sys/
D. /lib/sys/
E. /sys/proc/
Question #: 27
Topic #: 1
What is the purpose of the command udevadm monitor?
A. It listens to kernel events produced by a udev rule and prints information to the console
B. It monitors the /dev/ directory for new devices
C. It monitors the udev process and prints performance statistics to the console
D. It communicates with D-Bus to setup new devices
Question #: 28
Topic #: 1
How is the source code for the main Linux kernel modules distributed?
A. It is included with the Linux kernel source code
B. The kernel modules are downloaded on demand as they are used during compilation
C. The kernel modules have their own release cycle and can be maintained separately from the Linux kernel source
D. It is provided as a separate download alongside the Linux kernel source code for the same version
Question #: 29
Topic #: 1
After the downloading patch-4.6.4.xz from http://kernel.org, what are the next steps to prepare the build of a version 4.6.4 Linux kernel? (Choose two.)
A. Uncompress the file and move the resulting directory to /usr/src/linux
B. Apply the patch file to the kernel source directory containing kernel version 4.6.0
C. Apply the patch file to the kernel source directory containing kernel version 4.6.3
D. Uncompress the file using xz to get the uncompressed patch file
E. Use patch to apply the uncompressed patch file to the source directory of any previous kernel version
Question #: 30
Topic #: 1
After manually compiling and installing a new kernel, what has to be done regarding the initramfs?
A. To initramfs is independent of the kernel and should not be modified unless the hardware configuration of the machine has changed
B. Since the initramfs contains kernel modules, a new initramfs must be built for the new kernel
C. During the compilation of the Linux kernel, a new initramfs is built automatically. The new initramfs only needs to be installed
D. The system should be restarted since the initramfs reconfigures itself for the new kernel during the startup of the system