CompTIACompTIA
XK0-005 · Question #1677
XK0-005 Question #1677: Real Exam Question with Answer & Explanation
Sign in or unlock XK0-005 to reveal the answer and full explanation for question #1677. The question stem and answer options stay visible for context.
System Management
Question
A security team discovers that a web server has been running with elevated privileges and identifies it as a security violation. Which of the following items needs to be added to the webserver.service file to remediate the issue?
Options
- AIn the [Service] section of the webserver.service file, add User=comptia.
- BIn the [Unit] section of the webserver.service file, add AllowIsolate=true.
- CIn the [Install] section of the webserver.service file, add WantedBy=single.target.
- DAdd After=network.target to the [Install] section of the webserver.service file.
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
#systemd#service management#security hardening#user privileges