nerdexam
CompTIACompTIA

XK0-005 · Question #53

XK0-005 Question #53: Real Exam Question with Answer & Explanation

The correct answer is C: init 1. To transition a SysV init system into a safe maintenance state, which corresponds to runlevel 1 (single-user mode), both the init 1 and telinit 1 commands can be used.

System Management

Question

Which of the following commands brings a system running SysV init into a state in which it is safe to perform maintenance tasks? (Choose TWO correct answers.)

Options

  • Ashutdown -R 1 now
  • Bshutdown -single now
  • Cinit 1
  • Dtelinit 1
  • Erunlevel 1

Explanation

To transition a SysV init system into a safe maintenance state, which corresponds to runlevel 1 (single-user mode), both the init 1 and telinit 1 commands can be used.

Common mistakes.

  • A. shutdown -R 1 now is an incorrect syntax; shutdown -r now initiates a reboot, but shutdown -R 1 is not a valid way to enter runlevel 1 for maintenance.
  • B. shutdown -single now is not a standard or valid command for entering single-user mode in SysV init systems.
  • E. The runlevel command displays the current and previous runlevels, but it does not change the system's runlevel.

Concept tested. SysV init runlevels for maintenance

Reference. https://man7.org/linux/man-pages/man8/init.8.html

Topics

#SysV init#Runlevels#init command#System maintenance

Community Discussion

No community discussion yet for this question.

Full XK0-005 PracticeBrowse All XK0-005 Questions