Question 100
In a controlled system change, the engineer encounters: A public interface is assigned to the trusted firewalld zone and inherits broad allowances. Which change BEST addresses the root cause?
Explanation
Correct Answer
A permissive zone on an untrusted interface increases exposed service reachability. This action corrects the relevant condition. Verify that only intended public services are reachable.
Incorrect Answers
This change addresses a private subnet reaches the Linux gateway but cannot access the internet because outbound packets retain private sources. The present problem is different: a permissive zone on an untrusted interface increases exposed service reachability. Applying the alternative would leave the key cause unresolved.
It would correct a separate failure, a firewall-cmd rule opens TCP 443 but vanishes after firewalld restart. In this environment, a permissive zone on an untrusted interface increases exposed service reachability; the indicated alternative does not meet the acceptance test.
That remedy is appropriate when a firewalld rich rule is added to permit one subnet but all clients still connect through an earlier broad service rule. It targets firewall evaluation must be reviewed as the effective combined ruleset, not isolated additions; here a permissive zone on an untrusted interface increases exposed service reachability, so it does not directly repair the observed fault.





CompTIA Linux+ (XK0-006) Practice Tests