AWS Certified Solutions Architect – Associate (SAA-C02) — Question 27
A company hosts a static website on-premises and wants to migrate the website to AWS. The website should load as quickly as possible for users around the world. The company also wants the most cost-effective solution.
What should a solutions architect do to accomplish this?
Answer options
- A. Copy the website content to an Amazon S3 bucket. Configure the bucket to serve static webpage content. Replicate the S3 bucket to multiple AWS Regions.
- B. Copy the website content to an Amazon S3 bucket. Configure the bucket to serve static webpage content. Configure Amazon CloudFront with the S3 bucket as the origin.
- C. Copy the website content to an Amazon EBS-backed Amazon EC2 instance running Apache HTTP Server. Configure Amazon Route 53 geolocation routing policies to select the closest origin.
- D. Copy the website content to multiple Amazon EBS-backed Amazon EC2 instances running Apache HTTP Server in multiple AWS Regions. Configure Amazon CloudFront geolocation routing policies to select the closest origin.
Correct answer: B
Explanation
The correct answer is B because using Amazon S3 to host static content combined with CloudFront as a CDN ensures rapid delivery of the website to users worldwide while minimizing costs. Option A does not use CloudFront, which is essential for efficient global content delivery. Options C and D involve EC2 instances, which are more expensive and less efficient for serving static websites compared to S3.