Module 8 Flashcards

1
Q

What are daemons and runlevels called in systemd?

  • unit services and unit targets
  • target units and service units
  • unit targets and unit services
  • service units and target units
A
  • service units and target units
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Where is Grub2 bootloader executable file located at on a Fedora Linux system with UEFI and GPT?

  • /boot/grub2/grubx64.efi
  • /etc/grub2/grubx64.efi
  • /boot/efi/EFI/fedora/grubx64.efi
  • /etc/efi/EFI/FEDORA/GRUBX64.EFI
A
  • /boot/efi/EFI/fedora/grubx64.efi
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

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
A

5, 4, 2, 1, 3

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which window manager does GNOME version 3 use?

  • kwin
  • metacity
  • mutter
  • twm
A
  • mutter
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which command is used to update the grub.cfg file?

  • grub2-config -o /boot/grub2/grub.cfg
  • grub2-configmk -o /boot/grub2/grub.cfg
  • grub2-mkconfig -o /boot/grub2/grub.cfg
  • grub2-setconfig -o /boot/grub2/grub.cfg
A
  • grub2-mkconfig -o /boot/grub2/grub.cfg
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

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
A
  • 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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which command is used to manually start a daemon under systemd (systemd specific command)?

  • start .service
  • service .service status
  • systemctl start .service
  • initctl restart .service
A
  • systemctl start .service
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

GRUB2 can support both MBR and GPT.

True
False

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

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
A
  • bind9 daemon will be stopped when entering Level 1

- dns-clean daemon will be started when entering Level 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Find the match.

  • Graphical.target
  • Rescue.target
  • Multi-user.target
  • Poweroff.target
A
  • Graphical.target Level 5
  • Rescue.target Level 1
  • Multi-user.target Level 3
  • Poweroff.target Level 0
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

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

  • X.org
  • XFCE
  • winX
  • Wayland
A
  • X.org

- Wayland

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Which runlevel halts the system?

  • 1
  • 6
  • 0
  • 5
A
  • 0
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

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

  • /etc/rc2.d
  • /etc/init.d/rc2.d
  • /etc/runlevel/2
  • /etc/inittab/rc2/d
A
  • /etc/rc2.d
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What Systemd target corresponds to runlevel 5?

  • multi-user.target
  • graphical.target
  • system.target
  • runlevel5.target
A
  • graphical.target
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

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.
A
  • After modifying /etc/default/grub, you must run the grub2-mkconfig command before the changes are made to GRUB2.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Which command causes the system to enter Single User Mode?

  • init 0
  • init 1
  • init 6
  • initstate 5
A
  • init 1
17
Q

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.
A
  • UTF-8 is commonly used to provide Unicode character set support.
18
Q

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

  • init
  • rescue
  • single
  • telinit
A
  • single
19
Q

Which command can be used to modify the default locale on the system?

  • tzselect
  • cmdline
  • localectl
  • export LANG=C
A
  • localectl
20
Q

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
  • update-rc.d lala defaults
  • systemctl enable lala 123
  • service enable lala 123
A
  • chkconfig –level 123 lala on