Resilient Cloud Solutions

An Application Load Balancer continues routing requests to an instance whose application is failing because its health check requests a static page that still returns HTTP 200. Which change best allows the load balancer to route around this failure?

Show the answer

Correct answerA. Point the health check at an application readiness endpoint.

AWhy this is right: A readiness endpoint can return failure when the application cannot serve requests, allowing the ALB to exclude that target.

BWhy not this: Deregistration delay controls connection draining, not whether health checks detect application failure.

CWhy not this: Stickiness preserves client affinity and does not improve application failure detection.

DWhy not this: DNS caching affects resolution of the load balancer name, not its selection of backend targets.

An application readiness endpoint lets the ALB detect application failure and stop routing to the unhealthy target while healthy targets remain. Deregistration delay controls draining after deregistration; it does not make a static health check detect application failure.