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.
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)- A90% (45)
- B2% (1)
- C2% (1)
- D6% (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.
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.
Run level 1 is single-user/maintenance mode; while uncommon as a default it is technically functional and sometimes used in restricted environments.
Run level 3 is a valid default - it is the standard full multiuser mode with networking but without a graphical display manager.
Run level 5 is a valid and common default - it is full multiuser mode with networking and a graphical display manager.
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
Community Discussion
No community discussion yet for this question.