Question 510
After a lab configuration change, verify: The server needs HTTPS only from one lab management subnet instead of from every source in the public zone. Which result most directly proves the desired system state?
Explanation
Correct Answer
A test from the management subnet succeeds and an unauthorized source is denied. This check confirms the expected effect of: Use an appropriate reviewed rich rule or dedicated restricted zone for the approved `192.0.2.0/24` source, rather than opening HTTPS globally. It distinguishes the intended result from the original failure mechanism: Global zone-wide service allowances are broader than a source-limited access requirement.
Incorrect Answers
`firewall-cmd --zone=public --list-services` contains SSH and firewalld remains running and enabled. That verifies a separate lab task: A firewall service was accidentally removed from the active zone, and an operator proposes disabling firewalld entirely. It does not validate the implementation required here: Use an appropriate reviewed rich rule or dedicated restricted zone for the approved `192.0.2.0/24` source, rather than opening HTTPS globally.
The port remains listed in permanent configuration and works after a controlled reboot. That verifies a separate lab task: An operator opens an authorized lab TCP port using only the runtime firewalld command, so access disappears after reboot. It does not validate the implementation required here: Use an appropriate reviewed rich rule or dedicated restricted zone for the approved `192.0.2.0/24` source, rather than opening HTTPS globally.
`firewall-cmd --zone=public --list-ports` contains 8443/tcp and a tested authorized client connects. That verifies a separate lab task: A service listens on port 8443 but clients are blocked by the active public firewalld zone. It does not validate the implementation required here: Use an appropriate reviewed rich rule or dedicated restricted zone for the approved `192.0.2.0/24` source, rather than opening HTTPS globally.