Chapter 8
Which of the following statement is true? a. The GRUB boot loader is stored in the /usr/grub directory. b. LILO needs to be reinstalled after it has been modified. c. The GRUB2 boot loader is often used on legacy Linux systems. d. GRUB needs to be reinstalled after it has been modified.
b. LILO needs to be reinstalled after it has been modified
What Systemd target corresponds to runlevel 5? a. multi-user.target b. graphical.target c. system.target d. runlevel5.target
b. graphical target
Which command cause the system to enter Single User Mode? a. init 0 b. init 1 c. init 6 d. inistate 5
b. init 1
Which of the following Systemd commands can be used to stop a daemon called lala? a. service stop lala b. systemctl stop lala.service c. chkconfig stop lala d. stop lala
b. systemctl stop lala.service
Which runlevel halts the system? a. 1 b. 6 c. 0 d. 5
c. 0
You wish to configure the runlevels that a particular upstart daemon is started in. What should you do? a. Run the appropriate update-rc.d command b. Modify the contents of the /etc/rc[runlevel].d directories c. Modify the daemon configuration file within the /etc/init directory d. Run the appropriate systemctl command
c. Modify the daemon configuration file within the /etc/init directory
The first daemon loaded on a Linux system is _________. a. initstate b. inittab c. init d. linux
c. init
What keyword can be specified within a boot loader to force the system to boot to Single User Mode? a. init b. rescue c. single d. telinit
c. single
Which command can be used to start X Windows, the window manager, and the default desktop environment? a. startgui b. startgdm c. startx d. gstart
c. startx
Which command can be used to fine-tune the vsync and hsync of a video card for use in X Windows? a. vidtune b. synctune c. xvidtune d. vhtune
c. xvidtune
Which of the following indicates the second partition on the third hard disk drive to GRUB? a. (hd3,2) b. (hd4,3) c. (hd2,3) d. (hd2,1)
d. (hd2,1)
Which file does the UNIX SysV init daemon reference on startup to determine the default runlevel? a. /etc/inistate b. /inittab c. /etc/init d. /etc/inittab
d. /etc/inittab
You have recently modified the options within the /etc/default/grub file. What command can you use next to rebuild the GRUB2 configuration file? a. grub2-install b. grub-install c. grubby d. grub2-mkconfig
d. grub2-mkconfig
In what directory is Stage2 of the GRUB2 boot loader stored? a. /boot b. /root c. /bin d. /
a. /boot
What is the name of the directory that contains symbolic links to UNIX SysV rc scripts for runlevel 2? a. /etc/rc2.d b. /etc/init.d/rc2.d c. /etc/runlevel/2 d. /etc/inittab/rc2/d
a. /etc/rc2.d
Which two implementations of X Windows are commonly used in Linux? (Choose two answers.) a. X.org b. XFce c. Xconfigurator d. XFree86
a. X.org d. XFree86
Which of the following commands can be used to start a UNIX SysV daemon called lala in runlevels 1, 2, and 3? a. chkconfig --level 123 lala on b. update-rc.d lala defaults c. systemctl enable lala 123 d. service enable lala 123
a. chkconfig --level 123 lala on
The timeout value in the GRUB configuration file is measured in? a. seconds b. 1/10 of minutes c. 1//10 of seconds d. 1/100 of seconds
a. seconds
Which directory stores most UNIX SysV rc scripts? a. /etc/rc5.d b. /etc/rc.d c. /etc/init.d d. /usr/local/systemd
b. /etc/rc.d
Which of the following statements is true? a. The boot loader points to the MBR/GPT b. Either the MBR/GPT or the active partition can contain the boot loader c. Both the MBR/GPT and the active partition point to the boot loader d. The boot loader points to the active partition
b. Either the MBR/GPT or the active partition can contain the boot loader