Content Delivery for Multilingual Websites | AWS Cloud Practitioner Exam CLF-C01

Choose the Right Service for Serving Multilingual Content | AWS Certified Cloud Practitioner Exam CLF-C01

Question

A website for an international sport governing body would like to serve its content to viewers from different parts of the world in their vernacular language.

Which is the most suitable service that will allow different language versions of the same website to be served?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

Correct Answer - A.

A better option would be to use CloudFront to detect the user's location and send all traffic to a single origin, which then serves the user back to the correct localization of the site.

You can configure CloudFront to add additional geolocation headers that provide more granularity in your caching and origin request policies.

The new headers give you more granular control of cache behavior and your origin access to the viewer's country name, region, city, postal code, latitude, and longitude, all based on the viewer's IP address.

Option B is INCORRECT because EC2 is just a distractor, not suitable for routing and delivery.

Option C is INCORRECT because Amazon Lightsail will primarily allow for developing, deploying, and hosting websites and web applications.

The service will not meet the requirements of the scenario.

Option D is INCORRECT because the geolocation routing policy of Route53 allows different resources to serve content based on the origin of the request.

Based on the question it looks like the customer is hosting multiple origins for their app, one for each language.

This is not recommended or feasible.

References:

https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-examples.html#lambda-examples-content-based-routing-examples https://aws.amazon.com/blogs/networking-and-content-delivery/leverage-amazon-cloudfront-geolocation-headers-for-state-level-geo-targeting/
S3 bucket
*._ AWS Region __’

set cache key
Cloudfront
distribution
rewrite |
Lambda@ Edge

request
www.mysite.com

A

The most suitable service that will allow different language versions of the same website to be served is Amazon CloudFront.

Amazon CloudFront is a content delivery network (CDN) service that speeds up the delivery of static and dynamic content such as HTML, CSS, JavaScript, images, and videos to users across the globe. It has edge locations all over the world that cache content and serve it to users from the edge location closest to them, reducing latency and improving performance.

CloudFront can be used to serve different language versions of the same website by creating multiple origins for each language version of the website, and configuring CloudFront to serve the appropriate version based on the viewer's location or language preference. This can be achieved by setting up CloudFront to use the viewer's Accept-Language header to determine the preferred language and serving the appropriate version of the website.

In addition, CloudFront can also be integrated with other AWS services like Amazon S3, AWS Lambda, and Amazon API Gateway to further optimize the delivery of dynamic content and provide additional functionality like serverless computing and API management.

Therefore, among the given options, Amazon CloudFront is the most suitable service to serve different language versions of the same website to viewers from different parts of the world in their vernacular language.