Linux Quiz 7

Ace your homework & exams now with Quizwiz!

Under what directory is Stage 2 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 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

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

c. hwclock -w

Which runlevel starts a display manager, such as GDM? a. 1 b. 6 c. 0 d. 5

d. 5

Which of the following 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

b. After modifying /etc/default/grub, you must run the grub2-mkconfig command before the changes are made to GRUB2

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

You created a Systemd mount unit file that mounts a filesystem upon entering the multi-user target. When you switch to the multi-user target, you notice that the filesystem is not mounted. What do you do? (Choose all that apply) a. Verify that the filesystem was specified using a UUID in the mount unit file b. Remove any entries for the filesystem from /etc/fstab c. Ensure that the mount unit is activated using the systemctl enable command d. Run the update-rc.d command to reindex all unit files

a. Verify that the filesystem was specified using a UUID in the mount unit file c. Ensure that the mount unit is activated using the systemctl enable command

Which of the following Systemd units is functionally equivalent to a runlevel? a. service b. target c. timer d. mount

b. target

Which command instructs the UNIX SysV init or Systemd daemon to reboot the system? a. init 0 b. telinit 1 c. init 6 d. telinit 5

c. init 6

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

c. single

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#.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


Related study sets

BIOL 3500: DNA Repair Mechanisms

View Set

MGT 300 Exam 3 Practice Questions

View Set

Personal Finance 5-3 Chapter Test

View Set

APHUG Unit 4 Chapter 8 - Political Geography Key Issue #1

View Set