Ch. 8 Review Questions

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

In what directory is Stage2 of the GRUB2 boot loader stored?

a. /boot

Which directory stores most UNIX SysV rc scripts?

a. /etc/rc5.d (TEST /etc/init.d)

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. (TEST modify the daemon configuration files within the /etc/init directory)

Which two implementations of X Windows are commonly used in Linux? (Choose two answers.)

a. X.org, ** d. XFree86

The timeout value in the GRUB configuration file is measured in?

a. seconds

Which of the following Systemd commands can be used to stop a daemon called lala?

a. service stop lala (TEST systemctl stop lala.service)

What is the name of the directory that contains symbolic links to UNIX SysV rc scripts for runlevel 2?

b. /etc/init.d/rc2.d

Which of the following statements is true?

b. Either the MBR/GPT or the active partition can contain the boot loader?

You have recently modified the options within the /etc/default/grub file. What command can you use next to rebuild the GRUB2 configuration file?

b. grub-install (TEST grub2-mkconfig)

Which command causes the system to enter Single User Mode?

b. init 1

Which runlevel halts the system?

c. 0

The first daemon loaded on a Linux system is ________________.

c. init

What keyword can be specified within a boot loader to force the system to boot to Single User Mode?

c. single

Which command can be used to start X Windows, the window manager, and the default desktop environment?

c. startx

Which command can be used to fine-tune the vsync and hsync of a video card for use in X Windows?

c. xvidtune

Which of the following indicates the second partition on the third hard disk drive to GRUB?

d. (hd2,1)

Which file does the UNIX SysV init daemon reference on startup to determine the default runlevel?

d. /etc/inittab

Which of the following statements is true?

d. GRUB need not be reinstalled after it has been modified (TEST LILO needs to be reinstalled after it has been modified)

What Systemd target corresponds to runlevel 5?

d. runlevelX.target (TEST graphical.target)

Which of the following commands can be used to start a UNIX SysV daemon called lala in runlevels 1, 2, and 3?

d. service enable lala 123 (TEST chkconfig --level 123 lala on)


Ensembles d'études connexes