Cloudfront Quiz
An organization hosts a multi-language website on AWS, which is served using CloudFront. Language is specified in the HTTP request as shown below:
http://d11111f8.cloudfront.net/main.html?language=de
http://d11111f8.cloudfront.net/main.html?language=en
http://d11111f8.cloudfront.net/main.html?language=es
How should AWS CloudFront be configured to delivered cache data in the correct language?
A. Forward cookies to the origin
B. Based on query string parameters
C. Cache objects at the origin
D. Serve dynamic content
B. Based on query string parameters
Since language is specified in the query string parameters, CloudFront should be configured for the same.
For more information on configuring CloudFront via query string parameters, please visit the following URL:
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/QueryStringParameters.html