Linux+ and LPIC-1 Chapter 8
You want 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.
Modify the daemon configuration file within the /etc/init directory.
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
systemctl stop lala.service pg 435
Which command can be used to modify the default locale on the system? a. tzselect b. cmdline c. localectl d. export LANG=C
localectl pg 449
Which runlevel halts the system? a. 1 b. 6 c. 0 d. 5
0 pg 426
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
chkconfig --level 123 lala on pg 432
What Systemd target corresponds to runlevel 5? a. multi-user.target b. graphical.target c. system.target d. runlevel5.target
graphical.target pg 434
Which of the following indicates the second MBR partition on the third hard disk drive to GRUB2? a. hd2,msdos2 b. hd4,mbr3 c. hd3,mbr2 d. hd2,msdos1
hd2,msdos2 pg 423
Which two implementations of X Windows are commonly used in Linux? (Choose two answers.) a. X.org b. XFCE c. winX d. Wayland
X.org Wayland pg 438
You have recently modified the system time using the date command. What command can you run to ensure that the same time is updated within the system BIOS? a. timedatectl --update b. tzselect c. hwclock -w d. date --set
hwclock -w pg 446
The first daemon loaded on a Linux system is _________. a. initstate b. inittab c. init d. linux
init pg 415
Which command causes the system to enter Single User Mode? a. init 0 b. init 1 c. init 6 d. initstate 5
init 1 pg 427
What kernel option 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
single pg 427
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
startx pg 443
Which of the following statements is true? a. Unicode provides the least localization support for different languages. b. ASCII is the most common character set used today. c. UTF-8 is commonly used to provide Unicode character set support. d. ASCII is an extension of the ISO-8859 standard.
UTF-8 is commonly used to provide Unicode character set support. pf 447
In what directory is Stage 2 of the GRUB2 boot loader stored? a. /boot b. /root c. /bin d. /
/boot pg 420
Which directory stores most UNIX SysV rc scripts? a. /etc/rc5.d b. /etc/rc.d c. /etc/init.d d. /usr/local/systemd
/etc/init.d pg 430
Which file does the UNIX SysV init daemon reference on startup to determine the default runlevel? a. /etc/initstate b. /inittab c. /etc/init d. /etc/inittab
/etc/inittab pg 428
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
/etc/rc2.d pg 429
Which of the following statements is true? a. GRUB Legacy can be loaded from a MBR or GPT. b. After modifying /etc/default/grub, you must run the grub2-mkconfig command before the changes are made to GRUB2. c. GRUB2 can only be loaded from a UEFI System Partition. d. GRUB needs to be reinstalled after it has been modified.
After modifying /etc/default/grub, you must run the grub2-mkconfig command before the changes are made to GRUB2 pg 424
Which assistive technology will make a desktop environment more accessible to a person with low vision? a. High Contrast b. Visual Alerts c. Repeat Keys d. Click Assist
High Contrast pg 445
