ExamGecko
Home Home / LPI / 201-450

LPI 201-450 Practice Test - Questions Answers, Page 15

Question list
Search
Search

What effect does the -f option to the update-rc.d command have on files in the /etc/rcX.d/ and /etc/init.d/ directories?

A.
It will force the removal of the symlinks in /etc/rcX.d/ even when the links are read only
A.
It will force the removal of the symlinks in /etc/rcX.d/ even when the links are read only
Answers
B.
It will remove both the symlinks in /etc/rcX.d/ and the init script in /etc/init.d/
B.
It will remove both the symlinks in /etc/rcX.d/ and the init script in /etc/init.d/
Answers
C.
It will remove the init script in /etc/init.d/ and the symlinks in /etc/rcX.d/ and update the package information of installed files
C.
It will remove the init script in /etc/init.d/ and the symlinks in /etc/rcX.d/ and update the package information of installed files
Answers
D.
It will force the removal of symlinks in /etc/rcX.d/ even if the corresponding init script still exists in /etc/init.d/
D.
It will force the removal of symlinks in /etc/rcX.d/ even if the corresponding init script still exists in /etc/init.d/
Answers
Suggested answer: D

Which command is used to install a GRUB boot loader into the master boot record?

A.
grub-install
A.
grub-install
Answers
B.
grub-mkconfig
B.
grub-mkconfig
Answers
C.
grub-install-mbr
C.
grub-install-mbr
Answers
D.
grub-glue-mbr
D.
grub-glue-mbr
Answers
E.
grub-mbr-setup
E.
grub-mbr-setup
Answers
Suggested answer: A

Fill in the blank:

Which directory contains system-specific systemd unit files? (Specify the full path to the directory.)

A.
/lib/systemd/system
A.
/lib/systemd/system
Answers
Suggested answer: A

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
A.
telinit 0
Answers
B.
systemctl default
B.
systemctl default
Answers
C.
sync
C.
sync
Answers
D.
systemctl emergency
D.
systemctl emergency
Answers
E.
systemctl reboot
E.
systemctl reboot
Answers
Suggested answer: A, B

Fill in the blank:

Which is the main configuration file for the SystemV init process? (Specify the full name of the file, including path.)

A.
/etc/inittab
A.
/etc/inittab
Answers
Suggested answer: A

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
A.
It loads required modules and starts sub sytems like LVM to make the root file system accessible to the kernel
Answers
B.
It moves the kernel from normal system memory to initram memory to speed up kernel access
B.
It moves the kernel from normal system memory to initram memory to speed up kernel access
Answers
C.
It copies the root file system's content to RAM to speed up the system and reduce writes to disk
C.
It copies the root file system's content to RAM to speed up the system and reduce writes to disk
Answers
D.
It creates a ram disk to store volatile data for directories like /tmp to reduce writes to disk
D.
It creates a ram disk to store volatile data for directories like /tmp to reduce writes to disk
Answers
Suggested answer: A

Which of the following is a userspace application used to modify EFI entries on a Linux system?

A.
efieditor
A.
efieditor
Answers
B.
configefi
B.
configefi
Answers
C.
efimanager
C.
efimanager
Answers
D.
efiboottmgr
D.
efiboottmgr
Answers
E.
efibootedit
E.
efibootedit
Answers
Suggested answer: D

In which directory tree are files modified when changing kernel parameters using the command sysctl?

A.
/sys/kernel/
A.
/sys/kernel/
Answers
B.
/proc/kernel/
B.
/proc/kernel/
Answers
C.
/proc/sys/
C.
/proc/sys/
Answers
D.
/lib/sys/
D.
/lib/sys/
Answers
E.
/sys/proc/
E.
/sys/proc/
Answers
Suggested answer: C

After the downloading patch-4.6.4.xz from http://kernel.org, what are the next steps to prepare thebuild of a version 4.6.4 Linux kernel? (Choose two.)

A.
Uncompress the file and move the resulting directory to /usr/src/linux
A.
Uncompress the file and move the resulting directory to /usr/src/linux
Answers
B.
Apply the patch file to the kernel source directory containing kernel version 4.6.0
B.
Apply the patch file to the kernel source directory containing kernel version 4.6.0
Answers
C.
Apply the patch file to the kernel source directory containing kernel version 4.6.3
C.
Apply the patch file to the kernel source directory containing kernel version 4.6.3
Answers
D.
Uncompress the file using xz to get the uncompressed patch file
D.
Uncompress the file using xz to get the uncompressed patch file
Answers
E.
Use patch to apply the uncompressed patch file to the source directory of any previous kernel version
E.
Use patch to apply the uncompressed patch file to the source directory of any previous kernel version
Answers
Suggested answer: D, E

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
A.
To initramfs is independent of the kernel and should not be modified unless the hardware configuration of the machine has changed
Answers
B.
Since the initramfs contains kernel modules, a new initramfs must be built for the new kernel
B.
Since the initramfs contains kernel modules, a new initramfs must be built for the new kernel
Answers
C.
During the compilation of the Linux kernel, a new initramfs is built automatically. The new initramfs only needs to be installed
C.
During the compilation of the Linux kernel, a new initramfs is built automatically. The new initramfs only needs to be installed
Answers
D.
The system should be restarted since the initramfs reconfigures itself for the new kernel during the startup of the system
D.
The system should be restarted since the initramfs reconfigures itself for the new kernel during the startup of the system
Answers
Suggested answer: C
Total 161 questions
Go to page: of 17