DOP-C02 Question 213
Select 2You are managing an AWS environment for a company that requires high availability and fault tolerance for its web application. The application is deployed across multiple AWS Regions using an Amazon Route 53 latency-based routing policy. Recently, you have been asked to ensure that users are only directed to healthy endpoints and that failover happens seamlessly if certain endpoints become unavailable. Which combination of actions should you take to meet this requirement?
- A
Configure Route 53 health checks for all endpoints and associate them with the latency-based routing records.
- B
Enable Route 53 DNS Failover by setting up a failover routing policy in addition to latency-based routing.
- C
Use Amazon CloudWatch Alarms to monitor endpoint health and trigger Lambda functions to update Route 53 DNS records dynamically.
- D
Deploy an Elastic Load Balancer in each Region and configure health checks for the target instances.
- E
Implement AWS WAF to block traffic to unhealthy endpoints.
Show answer and explanation
Correct answers: A, D
Explanation
To ensure high availability and fault tolerance, Route 53 latency-based routing should be combined with health checks to route traffic only to healthy endpoints. Additionally, deploying Elastic Load Balancers in each Region ensures that traffic within a Region is directed to healthy instances, improving fault tolerance. Failover routing, CloudWatch Alarms, and AWS WAF are not necessary in this scenario as the requirements are already met with the suggested solutions.
- A. Correct.
Correct. Configuring Route 53 health checks ensures that Route 53 can evaluate the health of each endpoint and direct traffic only to healthy ones.
- B. Incorrect.
Incorrect. Failover routing is not required in this scenario, as latency-based routing combined with health checks already addresses failover needs.
- C. Incorrect.
Incorrect. While CloudWatch Alarms and Lambda can provide a custom solution, Route 53 health checks natively address the need to route traffic to healthy endpoints.
- D. Correct.
Correct. Elastic Load Balancers improve fault tolerance by distributing traffic across healthy instances within each Region and performing health checks for those instances.
- E. Incorrect.
Incorrect. AWS WAF is used for managing web traffic based on rules, not for routing traffic or handling endpoint health.