Last Updated on October 23, 2022 by InfraExam

Ch17 Bootloaders Exam

  1. For GRUB Legacy, which of the following is used to specify the second partition of the second hard drive?

    • (hd1,1)
    • (hd2,1)
    • (hd1,2)
    • (hd2,2)
  2. In GRUB Legacy, the _____ directive defines an operating system to boot.

    • system
    • title
    • boot
    • os
  3. In GRUB Legacy, the _____ directive defines the default operating system to boot.

    • boot=
    • default=
    • grub=
    • system=
  4. In GRUB Legacy, the _____ directive indicates an operating system to boot if the default operating system fails to boot.

    • redo
    • timeout=
    • root
    • fallback=
  5. In GRUB Legacy, the _____ directive indicates how long to wait before automatically booting the default operating system.

    • fallback=
    • password=
    • timeout=
    • kernel
  6. In GRUB Legacy, the _____ directive prevents GRUB from displaying all but the default bootable title until the user presses a key.

    • titleonly
    • hiddenmenu
    • securemenu
    • title
  7. In GRUB Legacy, the password directive in the global setting means:

    • The user must submit the password before GRUB will attempt to boot the title.
    • The user must submit the specified password before appending, editing or using the GRUB command line.
    • You can’t place a password directive in the global setting.
  8. In GRUB Legacy, the password directive in the title directive setting means:

    • To edit any GRUB values, a password must first be entered
    • You can’t place a password directive in the title directive setting
    • To boot a specific operating system, a password must be entered
    • The password must be entered to display a menu of operating systems that are bootable
  9. In GRUB Legacy, which directive is not typically used after a title directive?

    • root
    • initrd
    • kernel
    • boot
  10. Which of the following is not an advantage of GRUB 2 over GRUB Legacy?

    • Command-line interface
    • Ability to boot from partitions inside of Logical Volume Management (LVM) or RAID devices
    • Dynamically loaded modules
    • Non-ASCII character support
    • Ability to work with architectures that don’t have a PC BIOS
  11. Instead of modifying the primary configuration file for GRUB2, you should edit the _____ file.

    • /etc/grub-config-all
    • /etc/grub
    • /etc/grub-default
    • /etc/default/grub
  12. The GRUB2 setting that sets the default operating system to boot is called _____.

    • GRUB_TIMEOUT
    • GRUB_DEFAULT
    • GRUB_BOOT_DEFAULT
    • GRUB_DISTRIBUTOR
  13. The primary configuration file for GRUB 2 on an Ubuntu system is _____.

    • /boot/grub/grub2.cfg
    • /boot/grub2.cfg
    • /boot/grub/grub.cfg
    • /boot/grub2/grub.cfg
  14. The primary configuration file for the GRUB 2 on a Fedora system is _____.

    • /boot/grub2.cfg
    • /boot/grub/grub.cfg
    • /boot/grub2/grub.cfg
    • /boot/grub/grub2.cfg
  15. The primary GRUB 2 configuration is overwritten when the _____ command is executed on Fedora systems.

    • update-grub
    • nano
    • lilo
    • grub2-mkconfig
  16. The primary GRUB 2 configuration is overwritten when the _____ command is executed on Ubuntu systems.

    • silo
    • grub2-mkconfig
    • update-grub
    • redo
  17. To specify a runlevel to boot at, add the runlevel to the end of the _____ directive line.

    • title
    • boot
    • system
    • kernel
  18. To use an encrypted password in the GRUB Legacy configuration file, use the _____ option to the password directive.

    • –encrypt
    • –crypt
    • –secure
    • –md5
  19. What is the real location of the GRUB Legacy configuration file?

    • /boot/grub.conf
    • /boot/grub/grub.conf
    • /var/local/grub.conf
    • /etc/grub/grub.conf
  20. What version of GRUB is the most modern version?

    • GRUB Original
    • GRUB 3
    • GRUB 2
    • GRUB Legacy
  21. Which of the following are valid Linux bootloaders? (choose two)

    • BIOS
    • LILO
    • UEFI
    • GRUB/GRUB2
  22. Which of the following commands can be used to create an encrypted password that can be used with the password directive in GRUB Legacy:

    • grub-crypt
    • crypt-grub
    • grub-md5-crypt
    • crypt-md5-grub
  23. Which command is useful for booting a corrupted disk drive?

    • grub-set-default
    • grub-mkconfig
    • update-grub
    • grub-install
  24. The menu.lst file was used with GRUB prior to the grub.conf file. True or False?

    • True
    • False
  25. Editing the GRUB2 configuration is accomplished by:

    • the GRUB2 file is static and should not be changed
    • the file is automatically updated when kernel files are added or removed from /boot
    • making changes to /etc/grub.d
    • editing the /etc/default/grub file with vi
  26. The time before booting the default image is set by:

    • GRUB_10_SEC
    • GRUB_TIMEOUT
    • TIMEOUT_GRUB_WAIT
    • GRUB_WAIT