AWS Certified Solutions Architect – Professional — Question 481
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 ALB. Create 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-based routing directs user traffic to the AWS Region that provides the lowest latency, satisfying the requirement to fetch assets from the closest Region. By associating Route 53 health checks with these latency records and enabling 'Evaluate Target Health', Route 53 will automatically stop routing traffic to an unhealthy Region and failover to the healthy ALB in the alternative Region. Failover routing alone does not route based on geographic proximity or latency under normal operating conditions, making the other options incorrect.