A company hosts a critical customer registration service at the apex domain example.com. The backend API is deployed using Regional Amazon API Gateway endpoints in us-east-1 (primary) and us-west-2 (secondary standby). The company needs to design an active-passive disaster recovery strategy that automatically routes all API traffic to us-west-2 if the us-east-1 regional endpoint becomes unavailable. The DNS records are managed in Amazon Route 53.
Which combination of actions will meet these requirements? (Select TWO.)
- Create an HTTPS-based Route 53 health check that monitors the health of the primary regional API Gateway endpoint, and associate this health check with the primary DNS record.Cevap
- Configure a primary Failover Alias record for the apex domain pointing to the primary regional API Gateway custom domain name, and configure a secondary Failover Alias record pointing to the secondary regional API Gateway custom domain name, setting 'Evaluate Target Health' to 'No' on both.Cevap
- CConfigure primary and secondary Latency-based Alias records for the apex domain, enabling 'Evaluate Target Health' to allow Route 53 to automatically redirect traffic to the standby region during an outage.
- DCreate a CNAME record at the apex domain pointing to the primary regional API Gateway, and configure Route 53 to automatically promote the standby database replica to primary during a failover event.
- EConfigure a Route 53 health check to monitor a scaled-down Pilot Light environment in the standby region, enabling Route 53 to automatically start the standby Amazon EC2 instances and database engine when the primary region fails.
Cevap
Configure an HTTPS-based Route 53 health check for the primary regional API Gateway endpoint and associate it with the primary DNS record, and create primary and secondary Failover Alias records pointing to the regional custom domain names with 'Evaluate Target Health' set to 'No'.
To configure active-passive failover for regional API Gateway endpoints at the apex domain, you must use Route 53 Failover Alias records. Because API Gateway regional custom domains do not support Route 53's automatic 'Evaluate Target Health' functionality, you must set 'Evaluate Target Health' to 'No' on both alias records. Additionally, you must create a custom HTTPS Route 53 health check that probes the primary regional API Gateway endpoint and associate this health check with the primary Failover Alias record.
Adım Adım Çözüm
Anahtar Kavram
Configuring active-passive Route 53 DNS failover for regional API Gateway endpoints using custom health checks and Failover Alias records.