Question 780
In a controlled system change, the engineer encounters: A service is listening on all addresses despite policy requiring localhost-only management. What is the most appropriate targeted action?
Explanation
Correct Answer
A 0.0.0.0 listener can expose management if policy is later relaxed. This action corrects the relevant condition. Verify that the management port listens only on loopback.
Incorrect Answers
That remedy is appropriate when a newly added sudoers rule permits NOPASSWD for a wildcard command path with dangerous arguments. It targets broad sudo command matches can enable more operations than intended; here a 0.0.0.0 listener can expose management if policy is later relaxed, so it does not directly repair the observed fault.
This change addresses an account cannot run sudo despite a group membership added minutes earlier. The present problem is different: a 0.0.0.0 listener can expose management if policy is later relaxed. Applying the alternative would leave the key cause unresolved.
It would correct a separate failure, a web directory has an ACL denying the service user despite mode 0755 suggesting access. In this environment, a 0.0.0.0 listener can expose management if policy is later relaxed; the indicated alternative does not meet the acceptance test.





CompTIA Linux+ (XK0-006) Practice Tests