nerdexam
CompTIA

LX0-103 · Question #84

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) must never be set as the default because they would prevent the system from reaching a stable operational state.

System Architecture

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

(50 responses)
  • A
    90% (45)
  • B
    2% (1)
  • C
    2% (1)
  • D
    6% (3)

Why each option

Run levels 0 (halt) and 6 (reboot) must never be set as the default because they would prevent the system from reaching a stable operational state.

A0Correct

Run level 0 is the system halt state; setting it as default would cause the system to power off immediately after init starts. Run level 6 is the reboot state; setting it as default would cause the system to continuously reboot in an infinite loop, making it completely unusable.

B1

Run level 1 is single-user/maintenance mode; while uncommon as a default it is technically functional and sometimes used in restricted environments.

C3

Run level 3 is a valid default - it is the standard full multiuser mode with networking but without a graphical display manager.

D5

Run level 5 is a valid and common default - it is full multiuser mode with networking and a graphical display manager.

E6Correct

Run level 6 is the reboot state; setting it as default would cause the system to continuously reboot in an infinite loop, making it completely unusable.

Concept tested: SysV init run levels and default run level restrictions

Source: https://linux.die.net/man/8/init

Topics

#SysV init#runlevels#default runlevel#init

Community Discussion

No community discussion yet for this question.

Full LX0-103 Practice