Session Review

Session ID: 132
Mode: objective
Status: in_progress
Score: 0%

Filter: All | Incorrect | Flagged | Unanswered

Current filter: Unanswered

Back to Session

Question 1 (101.3-001 / multiple_choice)

In a SysVinit-based system, which runlevel is used for system restart?

Status: Unanswered

Your Answer:

Options:

Explanation:
In SysVinit, runlevel 6 is used for system restart [1].

Question 2 (101.3-028 / command_line)

Enter the command that powers off a systemd-based system.

Status: Unanswered

Your Answer:

Accepted Answer(s):
systemctl poweroff

Explanation:
The lesson states that systemctl poweroff turns off the machine [1].

Question 3 (101.3-005 / multiple_choice)

Which file traditionally defines the default SysVinit runlevel?

Status: Unanswered

Your Answer:

Options:

Explanation:
The default SysVinit runlevel is defined in /etc/inittab [1].

Question 4 (101.3-025 / short_answer)

What file points to the default system target on a systemd-based system?

Status: Unanswered

Your Answer:

Accepted Answer(s):
/etc/systemd/system/default.target

Explanation:
The lesson states that this symbolic link points to the unit file defined as the default target [1].

Question 5 (101.3-024 / short_answer)

What command cancels a scheduled shutdown or reboot?

Status: Unanswered

Your Answer:

Accepted Answer(s):
shutdown -c

Explanation:
The lesson states that shutdown -c should be used to cancel a scheduled reboot [1].

Question 6 (101.3-019 / multiple_choice)

In some Linux distributions, what may /usr/sbin/poweroff actually be?

Status: Unanswered

Your Answer:

Options:

Explanation:
The lesson gives an example showing /usr/sbin/poweroff as a symbolic link to /bin/systemctl [1].

Question 7 (101.3-007 / multiple_choice)

Which command changes the current runlevel in a SysVinit-based system?

Status: Unanswered

Your Answer:

Options:

Explanation:
The lesson covers telinit as the command used to alternate between runlevels [1].

Question 8 (101.3-017 / multiple_choice)

Which systemd command reboots the machine?

Status: Unanswered

Your Answer:

Options:

Explanation:
The lesson states that systemctl reboot should be used to restart the system [1].

Question 9 (101.3-030 / command_line)

Enter one command that checks the current status of sshd.service.

Status: Unanswered

Your Answer:

Accepted Answer(s):
systemctl status sshd.service
systemctl is-active sshd.service

Explanation:
The lesson lists both commands as correct ways to verify whether sshd.service is running [1].

Question 10 (101.3-012 / multiple_choice)

Which symbolic link points to the default target unit file on a systemd-based system?

Status: Unanswered

Your Answer:

Options:

Explanation:
The lesson explains that /etc/systemd/system/default.target points to the unit file defined as the default target [1].