A company uses Amazon Route 53 for active-passive failover routing. The primary record is a non-Alias A record with a TTL of 300 seconds pointing to an on-premises application server. The secondary record points to a static maintenance page hosted on Amazon S3. To monitor the primary server, a custom script on-premises publishes a heartbeat metric to Amazon CloudWatch every 60 seconds. A CloudWatch alarm is configured to trigger if the heartbeat is missing for 3 consecutive periods. A Route 53 health check is set up to monitor the state of this CloudWatch alarm and is associated with the primary A record. During a network outage, the on-premises server is disconnected, causing the CloudWatch alarm to enter the INSUFFICIENT_DATA state. Users continue to experience connection timeouts because they are still routed to the primary server. Which of the following is the correct configuration change to resolve this issue and minimize client failover time?
- AEnable 'Evaluate Target Health' on the primary A record to force Route 53 to actively query the on-premises public IP, and reduce the record's TTL.
- BEnable detailed monitoring for the custom metric in CloudWatch to ensure it updates at 1-minute intervals, and configure the alarm to trigger immediately without waiting for 3 consecutive periods.
- Configure the Route 53 health check to treat INSUFFICIENT_DATA as unhealthy, and reduce the TTL of the primary A record to a lower value such as 60 seconds.Answer
- DConfigure the primary record as an Alias record pointing to an RDS Multi-AZ DB instance, and configure Route 53 to use the Multi-AZ automated failover mechanism.