nerdexam
CompTIA

XK0-005 · Question #64

Which run levels should never be declared as the default run level when using SysV init? (Choose TWO correct answers.)

The correct answer is A. 0 E. 6. Run levels 0 (halt) and 6 (reboot) should never be set as the default run level in SysV init, as they would prevent the system from reaching a usable state.

System Management

Question

Which run levels should never be declared as the default run level when using SysV init? (Choose TWO correct answers.)

Options

  • A0
  • B1
  • C3
  • D5
  • E6

How the community answered

(46 responses)
  • A
    89% (41)
  • B
    2% (1)
  • C
    7% (3)
  • D
    2% (1)

Why each option

Run levels 0 (halt) and 6 (reboot) should never be set as the default run level in SysV init, as they would prevent the system from reaching a usable state.

A0Correct

Run level 0 is the halt state, meaning the system would immediately shut down after starting, making it unusable.

B1

Run level 1 is single-user mode, which is sometimes used as a default for specific recovery scenarios, although typically not for production.

C3

Run level 3 is multi-user mode with text-based login, which is a common and perfectly valid default run level.

D5

Run level 5 is multi-user mode with a graphical login, which is also a common and valid default run level for desktop systems.

E6Correct

Run level 6 is the reboot state, meaning the system would continuously reboot in an endless loop, preventing it from ever fully starting.

Concept tested: SysV init run levels

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

Topics

#SysV Init#Run Levels#Boot Process

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice