AWS Certified Solutions Architect – Professional (SAP-C02) — Question 458
A company that is developing a mobile game is making game assets available in two AWS Regions. Game assets are served from a set of Amazon EC2 instances behind an Application Load Balancer (ALB) in each Region. The company requires game assets to be fetched from the closest Region. If game assets become unavailable in the closest Region, they should be fetched from the other Region.
What should a solutions architect do to meet these requirements?
Answer options
- A. Create an Amazon CloudFront distribution. Create an origin group with one origin for each ALB. Set one of the origins as primary.
- B. Create an Amazon Route 53 health check for each ALCreate a Route 53 failover routing record pointing to the two ALBs. Set the Evaluate Target Health value to Yes.
- C. Create two Amazon CloudFront distributions, each with one ALB as the origin. Create an Amazon Route 53 failover routing record pointing to the two CloudFront distributions. Set the Evaluate Target Health value to Yes.
- D. Create an Amazon Route 53 health check for each ALB. Create a Route 53 latency alias record pointing to the two ALBs. Set the Evaluate Target Health value to Yes.
Correct answer: D
Explanation
Amazon Route 53 latency routing is the correct choice because it automatically routes user requests to the AWS Region that offers the lowest latency (the closest Region). By associating health checks and enabling 'Evaluate Target Health' on the latency alias records, Route 53 will stop routing traffic to an unhealthy region and redirect users to the other region. Failover routing options do not support routing based on proximity/latency, and CloudFront origin groups are designed for active-passive failover rather than closest-region routing.