XK0-005 · Question #10120
A systems administrator receives a report that the web server is not running after a planned system reboot. After starting the web server manually, which of the following commands should the…
The correct answer is B. systemctl enable <name>.service. systemctl enable <name>.service creates the necessary symbolic links in the systemd boot target directories so that the specified service is automatically started during system boot. The other options are not valid systemd commands: 'systemctl service on', 'systemctl service…
Question
Options
- Asystemctl service on
- Bsystemctl enable <name>.service
- Csystemctl service enable
- Dsystemctl on <name>.service
How the community answered
(25 responses)- A4% (1)
- B92% (23)
- D4% (1)
Explanation
systemctl enable <name>.service creates the necessary symbolic links in the systemd boot target directories so that the specified service is automatically started during system boot. The other options are not valid systemd commands: 'systemctl service on', 'systemctl service enable', and 'systemctl on <name>.service' are all incorrect syntax and will not work.
Topics
Community Discussion
No community discussion yet for this question.