AWS Certified Solutions Architect Associate · Free Practice Question Medium
Question 14
An organization want to share regular updates about their charitable work using static webpages. The pages are expected to generate a large amount of views from around the world. The files are stored in an Amazon S3 bucket. A solutions architect has been asked to design an efficient and effective solution.
Which action should the solutions architect take to accomplish this?
-
A
Use cross-Region replication to all Regions
-
B
Use the geoproximity feature of Amazon Route 53
-
C
Generate presigned URLs for the files
-
D
Use Amazon CloudFront with the S3 bucket as its origin
Reveal correct answer
Correct answer: D
Explanation
Amazon CloudFront can be used to cache the files in edge locations around the world and this will improve the performance of the webpages.
To serve a static website hosted on Amazon S3, you can deploy a CloudFront distribution using one of these configurations:
Using a REST API endpoint as the origin with access restricted by an origin access identity (OAI)
Using a website endpoint as the origin with anonymous (public) access allowed
Using a website endpoint as the origin with access restricted by a Referer header
CORRECT: "Use Amazon CloudFront with the S3 bucket as its origin" is the correct answer.
INCORRECT: "Generate presigned URLs for the files" is incorrect as this is used to restrict access which is not a requirement.
INCORRECT: "Use cross-Region replication to all Regions" is incorrect as this does not provide a mechanism for directing users to the closest copy of the static webpages.
INCORRECT: "Use the geoproximity feature of Amazon Route 53" is incorrect as this does not include a solution for having multiple copies of the data in different geographic lcoations.
References:
https://aws.amazon.com/premiumsupport/knowledge-center/cloudfront-serve-static-website/
Save time with our AWS cheat sheets:
Discussion
Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.
