Question 630
A public HTTP application distributes traffic across hundreds of services. The team confirms that a target group continuously marks healthy instances unhealthy due to the wrong port. Which choice directly addresses the documented cause?
Explanation
Correct Answer
The scenario identifies this requirement: A target group continuously marks healthy instances unhealthy due to the wrong port. Select Correct target-group health-check port/protocol and threshold settings as the specified technical mechanism. Health checks control available targets. This response addresses the problem described rather than a different design goal.
Incorrect Answers
Use an ALB with path-based listener rules would help if requests need routing by URL path to different container target groups. ALB routes at HTTP Layer 7. That is not the symptom described here: a target group continuously marks healthy instances unhealthy due to the wrong port. The matching response is Correct target-group health-check port/protocol and threshold settings, because health checks control available targets.
For the alternative failure TLS/TCP clients require fast stable IP-based ingress, the control Choose NLB with the matching transport protocol listener is relevant: nLB supports Layer-4 connection routing. Here the evidence instead is a target group continuously marks healthy instances unhealthy due to the wrong port. The selected technical mechanism is Correct target-group health-check port/protocol and threshold settings: health checks control available targets.
Use ALB capabilities that support WebSocket HTTP connections solves a different operational problem where a custom HTTP service needs WebSocket support and cookie-related routing. ALB handles HTTP upgrade flows. It does not directly address a target group continuously marks healthy instances unhealthy due to the wrong port. The case calls for Correct target-group health-check port/protocol and threshold settings, since health checks control available targets.