XK0-005 · Question #1111
XK0-005 Question #1111: Real Exam Question with Answer & Explanation
The correct answer is E: chkconfig --level 345 network on. To re-enable a service like 'network' on boot for typical multi-user operation using chkconfig, the administrator should specify runlevels 3, 4, and 5 as 'on.' These runlevels represent text-mode multi-user, unused (often symbolic for 3/5), and graphical multi-user modes, respect
Question
A Linux administrator installed a new network adapter and temporarily disabled the network service from starting on boot. The partial output of chkconfig is as follows: Which of the following commands BEST describes how the administrator should re-enable the network service?
Options
- Achkconfig --level 0 network on
- Bchkconfig --level 0-6 network on
- Cchkconfig --level 6 network on
- Dchkconfig --level 12 network on
- Echkconfig --level 345 network on
Explanation
To re-enable a service like 'network' on boot for typical multi-user operation using chkconfig, the administrator should specify runlevels 3, 4, and 5 as 'on.' These runlevels represent text-mode multi-user, unused (often symbolic for 3/5), and graphical multi-user modes, respectively, where the network service is generally required.
Common mistakes.
- A. Runlevel 0 is halt/poweroff mode, so enabling a service for this runlevel makes no sense for normal operation and would not re-enable it on boot for general use.
- B. Enabling the service in all runlevels (0-6) would also enable it for halt (0), single-user (1), reboot (6) modes, which is unnecessary and potentially problematic for a network service.
- C. Runlevel 6 is reboot mode, so enabling a service for this runlevel makes no sense for normal operation and would not re-enable it on boot for general use.
- D. Runlevels 1 and 2 are single-user mode and multi-user without network filesystems, respectively. While 2 might be used, typically 3, 4, and 5 are desired for a network service.
Concept tested. Service management with chkconfig and runlevels
Reference. https://www.redhat.com/sysadmin/runlevels-init-system
Topics
Community Discussion
No community discussion yet for this question.