Soru

Zorluk: OrtaRoute 53 Routing Policies and DNS Failover Strategies

A SaaS company hosts its collaborative project management application at the apex domain projectcollab.com. The application's primary infrastructure runs in the us-west-2 Region, where an Application Load Balancer (ALB) routes traffic to a fleet of Amazon EC2 instances. The company maintains a warm standby disaster recovery environment in the eu-west-1 Region, which also uses an ALB. The company wants to implement an active-passive disaster recovery strategy where Amazon Route 53 automatically diverts all traffic to the warm standby environment in eu-west-1 only if the primary environment in us-west-2 experiences an outage.

Which combination of Route 53 configurations will meet these requirements? (Choose two.)

  1. Create a primary Failover Alias record for projectcollab.com that points to the Application Load Balancer in us-west-2 and configure Evaluate Target Health to Yes.Cevap
  2. Create a secondary Failover Alias record for projectcollab.com that points to the Application Load Balancer in eu-west-1 and configure Evaluate Target Health to Yes.Cevap
  3. C
    Create a primary CNAME record for projectcollab.com that points to the us-west-2 Application Load Balancer and configure a Route 53 HTTP health check.
  4. D
    Create a Latency routing record for projectcollab.com that points to the us-west-2 Application Load Balancer to automatically failover based on client latency changes.
  5. E
    Create a Failover routing policy record pointing to the standby database read replica in eu-west-1 to automatically promote it to primary during the failover event.

Cevap

Create a primary Failover Alias record for the apex domain pointing to the us-west-2 ALB, and a secondary Failover Alias record pointing to the eu-west-1 ALB, both with Evaluate Target Health set to Yes.
To configure active-passive failover for an apex domain, you must use Route 53 Alias records because standard CNAME records are not allowed at the zone apex. The primary record must be configured as a Failover policy with the 'Primary' type, pointing to the primary ALB, and with 'Evaluate Target Health' set to 'Yes' so Route 53 can monitor the health of the primary ALB. The standby record must be configured as a Failover policy with the 'Secondary' type, pointing to the standby ALB, with 'Evaluate Target Health' also set to 'Yes' to ensure the secondary region's ALB health is verified before routing traffic to it.

Adım Adım Çözüm

1
Evaluate record requirements for the zone apex.
Determine that CNAME records cannot be used at the zone apex (projectcollab.com) due to DNS RFC limitations. Identify that Route 53 Alias records must be used to point to the Application Load Balancers.
Alias records allow mapping the zone apex to AWS resources like Application Load Balancers without violating DNS standards.
2
Configure the primary routing endpoint.
Configure a Failover routing policy record pointing to the primary ALB in us-west-2, set its failover type to Primary, and enable Evaluate Target Health.
This allows Route 53 to track the health of the primary ALB and stop routing traffic to it if the backend instances or ALB become unhealthy.
3
Configure the standby routing endpoint.
Configure a Failover routing policy record pointing to the standby ALB in eu-west-1, set its failover type to Secondary, and enable Evaluate Target Health.
This registers the standby environment as the target for traffic when the primary record is determined to be unhealthy.

Anahtar Kavram

Implementing Route 53 active-passive failover at the zone apex requires creating Primary and Secondary Failover Alias records pointing to the ALBs with health checks or Evaluate Target Health enabled.
Bu soruyu puanla