Monitoring and Logging

A Route 53 primary failover alias points to an ALB with Evaluate Target Health enabled; the secondary endpoint is healthy. The ALB has two nonempty target groups: one has healthy targets, and the other has only unhealthy targets; how does Route 53 respond?

Show the answer

Correct answerD. It treats the primary as unhealthy and returns the secondary endpoint.

AWhy not this: Evaluate Target Health uses ALB target-group health, not merely whether the ALB endpoint is reachable.

BWhy not this: Failover routing selects a healthy primary or secondary; it does not distribute requests by healthy target counts.

CWhy not this: Each associated target group containing targets must have at least one healthy target for the ALB alias to be healthy.

DWhy this is right: The target group with no healthy targets makes the primary alias unhealthy, so failover selects the healthy secondary.

With Evaluate Target Health enabled, an ALB alias is unhealthy if any associated target group containing targets has no healthy targets. Route 53 therefore uses the healthy secondary; healthy targets in another group do not make the primary alias healthy.