SOA-C02 Question 256
Single answerYour company has a global audience and hosts a web application on Amazon EC2 instances behind an Application Load Balancer (ALB) in a single AWS Region. The company's marketing team wants to display different website content to users based on their geographic location. For example, users from the United States should see US-specific content, while users from Europe should see EU-specific content. How can you configure Route 53 to meet this requirement?
- A
Use a geolocation routing policy in Route 53 and create records for the United States and Europe with their respective content endpoints.
- B
Use a geoproximity routing policy in Route 53 and adjust the bias to direct users to the appropriate content.
- C
Use a latency routing policy in Route 53 to route users to the content that has the lowest latency.
- D
Use a weighted routing policy in Route 53 and assign weights to different content endpoints based on user geographies.
Show answer and explanation
Correct answer: A
Explanation
To display different website content to users based on their geographic location, you need to use a geolocation routing policy in Route 53. This allows you to create DNS records that associate specific content endpoints with user locations. Geoproximity, latency, and weighted routing are not designed for this use case.
- A. Correct.
This is the correct solution. Geolocation routing allows you to create records in Route 53 based on the geographic location of the user and associate them with specific endpoints, which is ideal for serving location-specific content.
- B. Incorrect.
This is incorrect. While geoproximity routing can influence routing decisions based on the location of resources and users, it is more suited for fine-tuning traffic distribution rather than serving distinct content based on geographic regions.
- C. Incorrect.
This is incorrect. Latency routing is used to route traffic to the endpoint with the lowest latency for the user, but it doesn't allow for serving location-specific content.
- D. Incorrect.
This is incorrect. Weighted routing is used to distribute traffic based on assigned weights across multiple resources, which is not suitable for showing content based on user geography.