Reliability and Business Continuity
An Application Load Balancer marks targets unhealthy because its HTTP health check receives 302 from /, while /ready returns 200 only when the application is ready. What should the operator change to verify readiness without accepting redirects?
Show the answer
Correct answerD. Change the health check path to /ready.
AWhy not this: Cross-zone load balancing changes traffic distribution, not the health check response.
BWhy not this: Accepting redirects would not establish whether the application is ready.
CWhy not this: A longer timeout does not change an HTTP response code mismatch.
DWhy this is right: The readiness endpoint returns the expected success code only when the application is ready.
Checking /ready verifies application readiness using its 200 response. Accepting 302 would treat the redirect as healthy without verifying readiness.