Question 790
In a Linux incident, an engineer reports: A service is listening on all addresses despite policy requiring localhost-only management. What is the correct interpretation?
Explanation
Correct Answer
A 0.0.0.0 listener can expose management if policy is later relaxed. This mechanism fits the stated evidence. Validate it by checking that the management port listens only on loopback.
Incorrect Answers
Permissive mode records denials while allowing operations that enforcing would block. That can explain why a service begins working when setenforce 0 is run but fails when enforcement resumes, whereas the current evidence supports a service bind setting governs network exposure independently of firewall allowlists.
The alternative describes existing sessions may retain their old supplementary group set, which is relevant when an account cannot run sudo despite a group membership added minutes earlier. It does not explain this case because a 0.0.0.0 listener can expose management if policy is later relaxed.
It would account for a restored file has an unexpected SELinux label after moving it from another directory, not the current evidence. For this incident, a 0.0.0.0 listener can expose management if policy is later relaxed; the alternative mechanism leaves that distinction unexplained.





CompTIA Linux+ (XK0-006) Practice Tests