Question 220
A development team packages a web API that listens on port 8080 inside its container but the service should be reachable on port 443. Recently, External HTTPS requests reach the node but never arrive at the container's 8080 listener. Which ongoing control would best prevent a recurrence?
Explanation
Correct Answer
This control helps prevent External HTTPS requests reach the node but never arrive at the container's 8080 listener. It matters because container ingress port and process listening port may differ and must be explicitly connected.
Incorrect Answers
Terraform is primarily infrastructure provisioning rather than a general log visualization tool. “Review plans, protect state, and detect drift between reconciliations” would address that alternative cause, not the condition in this question: container ingress port and process listening port may differ and must be explicitly connected.
“Track image end-of-support dates and require refresh before expiration” responds to this separate finding: end-of-support software cannot be kept secure by assuming future upstream patches. This question instead needs “Test service-to-container port mappings in every release pipeline”, so the alternative does not meet the stated condition.
A container's local writable layer is not durable application data storage. “Define persistent-volume backup, retention, and restore controls independently of pods” applies to that separate problem. The observed case is a development team packages a web API that listens on port 8080 inside its container but the service should be reachable on port 443; choosing this alternative would address the wrong failure mode.