Operating Systems I Week 8
In what directory is Stage2 of the GRUB2 boot loader stored?
/boot
Where is Grub2 bootloader executable file located at on a Fedora Linux system with UEFI and GPT?
/boot/efi/EFI/fedora/grubx64.efi
Which directory stores most UNIX SysV rc scripts?
/etc/init.d
Which file does the UNIX SysV init daemon reference on startup to determine the default runlevel?
/etc/inittab
What is the name of the directory that contains symbolic links to UNIX SysV rc scripts for runlevel 2?
/etc/rc2.d
Which runlevel halts the system?
0
Put them in the correct order for booting and initializing a Linux system. 1. Load init daemon 2. Load Linux kernel 3. Load other daemons 4. Load GRUB2 5. Run POST
5, 4, 2, 1, 3
Which of the following statements is true? GRUB Legacy can be loaded from a MBR or GPT. After modifying /etc/default/grub, you must run the grub2-mkconfig command before the changes are made to GRUB2. GRUB2 can only be loaded from a UEFI System Partition. 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.
Which mode will the system be in? # init 3
Extended Multiuser Mode
Which assistive technology will make a desktop environment more accessible to a person with low vision?
High Contrast
You want to configure the runlevels that a particular upstart daemon is started in. What should you do?
Modify the daemon configuration file within the /etc/init directory
What is the GRUB2 boot screen used for? (Select three) Specify a boot loader to load Obtain a prompt where you can enter GRUB2 configuration commands Select the kernel that you would like to boot Edit the entire boot configuration for the selected kernel
Obtain a prompt where you can enter GRUB2 configuration commands Select the kernel that you would like to boot Edit the entire boot configuration for the selected kernel
GRUB2 can support both MBR and GPT.
True
You can use X Windows on one computer to send graphical images to an X client on another computer.
True
Which of the following statements is true? Unicode provides the least localization support for different languages. ASCII is the most common character set used today. UTF-8 is commonly used to provide Unicode character set support. ASCII is an extension of the ISO-8859 standard.
UTF-8 is commonly used to provide Unicode character set support.
What are three versions of Linux initialization process? GRUB2 Upstart SystemD SystemV
Upstart SystemD SystemV
Which two implementations of X Windows are commonly used in Linux? (Choose two answers.) X.org XFCE winX Wayland
X.org Wayland
Which statements are true? (Select two) [root@server1 ~]# ls /etc/rc1.d K08tomcat7 K20screen-cleanup K80etables s70dns-clean K20postfix K20zfs-mount K85bind9 S70pppd-dns postfic daemon will be started when entering Level 1 bind9 daemon will be stopped when entering Level 1 dns-clean daemon will be started when entering Level 1 zfs-mount daemon will be started when entering Level 1
bind9 daemon will be stopped when entering Level 1 dns-clean daemon will be started when entering Level 1
Which of the following commands can be used to start a UNIX SysV daemon called lala in runlevels 1, 2 and 3?
chkconfig --level 123 lala on
What Systemd target corresponds to runlevel 5?
graphical.target
Which command is used to update the grub.cfg file?
grub2-mkconfig -o /boot/grub2/grub.cfg
Which of the following indicates the second MBR partition on the third hard disk drive to GRUB2?
hd2,msdos2
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?
hwclock -w
The first daemon loaded on a Linux system is _____.
init
Which command causes the system to enter Single User Mode?
init 1
Which command can be used to modify the default locale on the system?
localectl
Which command is used to manually start a daemon under SystemV?
service <daemon> start
What kernel option can be specified within a boot loader to force the system to boot to Single User Mode?
single
Which command can be used to start X Windows, the window manager, and the default desktop environment?
startx
Which of the following Systemd commands can be used to stop a daemon called lala?
systemctl stop lala.service