CompTIACompTIA
XK0-005 · Question #852
XK0-005 Question #852: Real Exam Question with Answer & Explanation
Sign in or unlock XK0-005 to reveal the answer and full explanation for question #852. The question stem and answer options stay visible for context.
System Management
Question
A Linux administrator is configuring Apache on a system and needs to allow the service to start after every startup. Which of the following commands will allow the Linux administrator to accomplish this task while starting the service at the same time?
Options
- Asystemctl mask --state=active httpd
- Bsystemctl start --runtime boot httpd
- Csystemctl set-property restart httpd
- Dsystemctl enable --now httpd
Unlock XK0-005 to see the answer
You've previewed enough free XK0-005 questions. Unlock XK0-005 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#systemctl#Service Management#Apache#Systemd