101.3 Flashcards
What command can be used to switch to a different runlevel or boot target?
A) systemctl isolate
B) systemctl reload
C) shutdown -r
D) init 6
A) systemctl isolate
Which command reboots the system?
A) init 6
B) systemctl poweroff
C) init 0
D) systemctl reboot
D) systemctl reboot
Which command shuts down the system immediately?
A) init 0
B) shutdown -h now
C) halt
D) reboot
B) shutdown -h now
Which command can be used to bring the system to single-user mode?
A) systemctl reboot
B) systemctl isolate rescue.target
C) shutdown -r
D) init 3
B) systemctl isolate rescue.target
What is the default systemd target for multi-user mode with a graphical interface?
A) graphical.target
B) multi-user.target
C) default.target
D) rescue.target
A) graphical.target
Which runlevel is equivalent to the systemd rescue target?
A) 1
B) 3
C) 5
D) 0
A) 1
How can you set the default target in a systemd-based system?
A) systemctl set-default
B) systemctl isolate default.target
C) systemctl enable graphical.target
D) systemctl start default.target
A) systemctl set-default
Which systemd target is similar to runlevel 3?
A) graphical.target
B) multi-user.target
C) rescue.target
D) shutdown.target
B) multi-user.target
Which command should be used to shutdown the system in 5 minutes?
A) shutdown -r 5
B) systemctl reboot -5
C) shutdown +5
D) init 0
C) shutdown +5
What is the default runlevel in a system that uses systemd?
A) 3
B) 5
C) There is no default runlevel in systemd, but a default target
D) 1
C) There is no default runlevel in systemd, but a default target
Which runlevel represents a reboot in a SysV system?
A) 0
B) 1
C) 5
D) 6
D) 6
Which command is used to halt the system without powering it off?
A) shutdown -P
B) systemctl halt
C) shutdown -r
D) systemctl reboot
B) systemctl halt
How can you check the current systemd target?
A) systemctl get-target
B) systemctl status target
C) systemctl get-default
D) systemctl list-units
C) systemctl get-default
Which command transitions the system to runlevel 5 in a SysV init system?
A) init 3
B) init 5
C) init 0
D) init 1
B) init 5
Which runlevel is typically used for single-user mode in SysV init?
A) 0
B) 1
C) 5
D) 6
B) 1