A company hosts a high-traffic web application using an active-passive Amazon Route 53 DNS failover configuration. The primary record is a CNAME record pointing to an Application Load Balancer (ALB) in us-east-1 with a TTL of 900 seconds. The secondary record is an Alias record pointing to a static maintenance page hosted on an Amazon S3 bucket configured for website hosting in us-west-2. Currently, a custom Route 53 health check monitors a CloudWatch alarm based on the ALB's HTTPCode_Target_5XX_Count metric, configured with standard monitoring (5-minute period) and an evaluation period of 2 datapoints. During a database outage, the application returned 502 Bad Gateway errors. Users continued to receive errors for more than 15 minutes before being redirected to the maintenance page. Once the database recovered briefly and then failed again, Route 53 DNS resolution repeatedly flapped between the ALB and the S3 bucket. The SysOps administrator must reconfigure the setup to ensure that failover to the S3 bucket occurs within 2 minutes of an outage and that flapping is mitigated during brief periods of recovery. Which TWO actions should the SysOps administrator take to meet these requirements?
- Replace the primary CNAME record with a Route 53 Alias record pointing to the Application Load Balancer, and enable the Evaluate Target Health option.Cevap
- Configure the Application Load Balancer's target group health check with an interval of 10 seconds, an unhealthy threshold of 2, and a healthy threshold of 5.Cevap
- CModify the CloudWatch alarm to use detailed monitoring at a 1-minute period, and set the Route 53 health check's failure threshold to 2 to trigger the failover quickly.
- DKeep the primary CNAME record, and create a Route 53 HTTP health check pointing directly to the Application Load Balancer DNS endpoint with a 10-second interval and a failure threshold of 2.
- EConfigure a secondary CNAME record in Route 53 pointing to an Amazon RDS Read Replica in us-west-2, and enable automatic database promotion to handle the failover.