An application has a primary endpoint and a standby endpoint. DNS should return the standby only when the primary fails its health check; which Route 53 configuration should an engineer use?
Show the answer
Correct answerB. Failover records with primary health monitoring
AWhy not this: Latency routing selects a healthy endpoint based on latency rather than a primary-and-standby relationship.
BWhy this is right: Failover routing returns the healthy primary and switches to the secondary when the primary becomes unhealthy.
CWhy not this: Multivalue answer routing can return multiple healthy endpoints instead of enforcing a standby relationship.
DWhy not this: Equal weights distribute responses between healthy endpoints instead of reserving one as a standby.
Failover routing uses a primary resource while it is healthy and a secondary resource when the primary is unhealthy. Weighted routing distributes DNS responses rather than reserving an endpoint strictly for standby use.