AWS Certified Solutions Architect – Associate (SAA-C03) — Question 40
A development team needs to host a website that will be accessed by other teams. The website contents consist of HTML, CSS, client-side JavaScript, and images.
Which method is the MOST cost-effective for hosting the website?
Answer options
- A. Containerize the website and host it in AWS Fargate.
- B. Create an Amazon S3 bucket and host the website there.
- C. Deploy a web server on an Amazon EC2 instance to host the website.
- D. Configure an Application Load Balancer with an AWS Lambda target that uses the Express.js framework.
Correct answer: B
Explanation
The correct answer is B because hosting a static website on Amazon S3 is typically the most cost-effective solution due to its low storage and data transfer costs. Options A and C involve more complexity and cost due to the need for managing containers or virtual machines, while option D introduces unnecessary overhead with the use of an Application Load Balancer and AWS Lambda for a static site.