AWS Certified Solutions Architect – Associate (SAA-C03) — Question 857
A company hosts a website on Amazon EC2 instances behind an Application Load Balancer (ALB). The website serves static content. Website traffic is increasing. The company wants to minimize the website hosting costs.
Which solution will meet these requirements?
Answer options
- A. Move the website to an Amazon S3 bucket. Configure an Amazon CloudFront distribution for the S3 bucket.
- B. Move the website to an Amazon S3 bucket. Configure an Amazon ElastiCache cluster for the S3 bucket.
- C. Move the website to AWS Amplify. Configure an ALB to resolve to the Amplify website.
- D. Move the website to AWS Amplify. Configure EC2 instances to cache the website.
Correct answer: A
Explanation
Hosting static content directly from Amazon S3 combined with Amazon CloudFront is the most cost-effective and scalable solution, as it eliminates the need for running continuous EC2 instances and an ALB. Amazon ElastiCache cannot be directly positioned in front of an S3 bucket to cache web traffic. AWS Amplify is a mobile/web development service, and using an ALB or EC2 instances to cache it defeats the purpose of minimizing infrastructure costs.