Question 1180
Original unofficial RHEL 10 RHCSA skill-check scenario: An administrator opens a new TCP port in firewalld but the service fails because its SELinux type is unchanged. Which ongoing practice best prevents a recurrence?
Explanation
Correct Answer
In this RHEL 10 system administration case: An administrator opens a new TCP port in firewalld but the service fails because its SELinux type is unchanged. Underlying reason: Firewall policies and SELinux port controls govern different layers. The most direct, approved resolution is: Check both firewall allowance and SELinux service port type instead of widening either control indiscriminately. Confirm it by checking: Network access and daemon binding succeed under separate approved policies. Sustain the fix by: Use two-control acceptance tests for custom services. This is the INTENDED response for the best ongoing operational safeguard. It is a knowledge-check explanation, not a verified hands-on Red Hat exam answer;
Incorrect Answers
Audit existing port assignments before changing labels. That is not sufficient for the reported RHEL task, because firewall policies and SELinux port controls govern different layers.
Use least-privilege Boolean change reviews. That is not sufficient for the reported RHEL task, because firewall policies and SELinux port controls govern different layers.
Verify creation mode from the actual service identity. That is not sufficient for the reported RHEL task, because firewall policies and SELinux port controls govern different layers.