AWS Certified Solutions Architect Professional SAP-C02 Practice Question
A global streaming company hosts its application on Application Load Balancers (ALBs) in three AWS Regions: us-east-1, eu-west-1, and ap-southeast-1. The company has the following DNS routing requirements for its domain media.example.com:
The majority of users should be directed to the region (us-east-1 or eu-west-1) that provides the lowest latency.
If an application endpoint in us-east-1 or eu-west-1 becomes unhealthy, traffic should automatically be routed to the remaining healthy, low-latency region.
Exactly 5% of all global user traffic must be directed to ap-southeast-1 for A/B testing of a new feature, regardless of latency.
Which Amazon Route 53 configuration will meet all these requirements?
Create a Weighted routing policy with two records. Assign a weight of 95 to an alias record pointing to a new record name prod.media.example.com and a weight of 5 to an alias record pointing to the ap-southeast-1 ALB. For prod.media.example.com, create Latency-based alias records for the us-east-1 and eu-west-1 ALBs, each with an associated health check and "Evaluate Target Health" set to Yes.
Create a Latency-based routing policy for the ALBs in us-east-1, eu-west-1, and ap-southeast-1. Configure Route 53 health checks for all three endpoints.
Create a Multivalue Answer routing policy with records for all three regions' ALBs, each with an associated health check. Then, create a separate Weighted routing policy that directs 5% of traffic to the ap-southeast-1 record.
Configure a primary Failover routing policy for an alias record pointing to the us-east-1 ALB and a secondary Failover routing policy for the eu-west-1 ALB. Create a separate Geoproximity routing policy to direct a portion of traffic to ap-southeast-1.
The correct approach is to use a combination of Weighted and Latency routing policies. A top-level Weighted routing policy splits the traffic according to the specified percentages. The Latency routing policy, nested under the main weight, directs users to the endpoint with the lowest latency and manages failover by removing unhealthy endpoints from DNS responses.
Correct Answer: The solution involves creating a top-level Weighted routing policy. One record, with a weight of 5, directs 5% of traffic to the ap-southeast-1 ALB for A/B testing. The other record, with a weight of 95, points to a separate set of Latency-based records. These Latency records point to the ALBs in us-east-1 and eu-west-1. By associating health checks with these Latency alias records and setting "Evaluate Target Health" to Yes, Route 53 will automatically stop routing traffic to any region that becomes unhealthy, thus providing failover to the other healthy, low-latency region.
Incorrect Answer (Latency-based only): Using only a Latency-based policy for all three regions would not guarantee that ap-southeast-1 receives exactly 5% of the traffic. Traffic distribution would depend entirely on which users are geographically closest to that region.
Incorrect Answer (Failover and Geoproximity): A standard Failover routing policy is for active-passive setups and does not consider latency for the active endpoint. Geoproximity routing is for shifting traffic based on the physical distance between users and resources and is less precise for percentage-based splitting than a Weighted policy.
Incorrect Answer (Multivalue Answer): A Multivalue Answer routing policy returns up to eight healthy records in a random order, letting the client choose. It does not perform latency-based routing and cannot be layered with a Weighted policy in the manner described to meet the requirements.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is a Weighted routing policy in Amazon Route 53?
Open an interactive chat with Bash
What is a Latency-based routing policy in Amazon Route 53?
Open an interactive chat with Bash
How do health checks work with Route 53 and what does 'Evaluate Target Health' mean?
Open an interactive chat with Bash
AWS Certified Solutions Architect Professional SAP-C02
Design for New Solutions
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
IT & Cybersecurity Package Join Premium for Full Access