CompTIA
XK0-006 · Question #119
A systems administrator is decommissioning a service. Which of the following commands should the administrator use to make sure users cannot start the service again?
The correct answer is A. systemctl mask service. This command prevents the service from being started manually or automatically by linking it to a null target, ensuring it cannot be restarted even if another service or user attempts to start it.
System Configuration and Management
Question
A systems administrator is decommissioning a service. Which of the following commands should the administrator use to make sure users cannot start the service again?
Options
- Asystemctl mask service
- Bsystemctl kill service
- Csystemctl isolate service
- Dsystemctl disable service
How the community answered
(35 responses)- A94% (33)
- B3% (1)
- D3% (1)
Explanation
This command prevents the service from being started manually or automatically by linking it to a null target, ensuring it cannot be restarted even if another service or user attempts to start it.
Topics
#systemctl mask#service management#systemd#service decommission
Community Discussion
No community discussion yet for this question.