Troubleshooting and Optimization

An Application Load Balancer checks a static page that returns HTTP 200 even when an individual target loses access to a database required for every request. What should developers change to detect this target's inability to serve requests?

Show the answer

Correct answerC. Check an endpoint that verifies database access.

AWhy not this: More frequent checks cannot detect a failure that the static page does not test.

BWhy not this: Logs help diagnose failures but do not change what the load balancer's health check evaluates.

CWhy this is right: A dependency-aware endpoint can report failure when the target cannot perform required database operations.

DWhy not this: Tracing a static page does not make that page verify database availability.

A health endpoint should test the capabilities required to serve requests and return a failure status when they are unavailable. Checking a static page more frequently still cannot reveal loss of database access.