An enterprise company hosts its customer portal under the domain name portal.finance.example.com. The primary infrastructure consists of an Application Load Balancer (ALB) and EC2 instances in the us-east-1 region. The company wants to set up an active-passive disaster recovery strategy. If the primary region goes offline or if the primary database loses connectivity, traffic must automatically redirect to an Amazon S3 bucket in the us-west-2 region hosting a static maintenance page. A custom health-check script on the EC2 instances monitors the database connection status. Which two configurations should the solutions architect implement to achieve this goal? (Select TWO.)
- Configure a Route 53 Failover record for portal.finance.example.com as an Alias record pointing to the us-east-1 ALB, set the routing category to Primary, enable Evaluate Target Health, and configure the ALB's target group health checks to monitor the custom health-check path.Cevap
- Configure a Route 53 Failover record for portal.finance.example.com as an Alias record pointing to the Amazon S3 static website endpoint in us-west-2, set the routing category to Secondary, and configure the S3 bucket name to exactly match portal.finance.example.com.Cevap
- CConfigure a Route 53 Latency routing record for portal.finance.example.com pointing to the primary ALB, and set up a secondary CNAME record pointing to the S3 bucket to ensure lower latency failover.
- DConfigure the primary Route 53 record to point directly to the database replica in the secondary region to handle active-passive failover and database read queries during normal operations.
- EConfigure a Route 53 Weighted routing policy with a weight of 100 for the primary ALB and a weight of 0 for the secondary S3 bucket, without enabling Route 53 Health Checks, relying instead on CloudWatch alarms to dynamically update DNS records.
Cevap
Configure a Route 53 Failover record for portal.finance.example.com as an Alias record pointing to the us-east-1 ALB (Primary with Evaluate Target Health enabled and target group health checks pointing to the custom path) and configure a Route 53 Failover record as an Alias record pointing to the Amazon S3 static website endpoint in us-west-2 (Secondary with matching bucket name).
To implement active-passive failover, the architect should define a Route 53 Failover policy. The primary record is configured as an Alias record pointing to the Application Load Balancer (ALB) with 'Evaluate Target Health' enabled. This links Route 53's health decision to the ALB's target health status. The ALB's target group executes health checks against the custom script verifying database connectivity. The secondary record is also configured as a Failover Alias record pointing to the Amazon S3 static website endpoint. For Route 53 to resolve an Alias record directly to an S3 bucket, the S3 bucket name must match the domain name exactly.
Adım Adım Çözüm
Anahtar Kavram
Amazon Route 53 DNS Failover and health check configuration for active-passive disaster recovery architectures.