A development team needs to host a website (HTML, CSS, client-side JavaScript, and images) that will be accessed by other teams. Which method is the MOST cost-effective for hosting the website?
Choose an answer
Tap an option to check your answer.
Correct answer: Create an Amazon S3 bucket and host the website there..
Why this is the answer
Hosting a static website directly from an Amazon S3 bucket is the most cost-effective solution for HTML, CSS, JavaScript, and image files. S3 offers high availability, scalability, and pay-as-you-go pricing, making it ideal for static content without requiring server management. Containerizing with AWS Fargate would incur higher costs due to container orchestration and compute resources, which are unnecessary for a static site. Deploying a web server on an Amazon EC2 instance involves managing a virtual server, incurring compute costs even when idle, and requires more operational overhead than S3. Using an Application Load Balancer with AWS Lambda and Express.js is designed for dynamic, server-side applications, introducing significant complexity and cost for a simple static website, as Lambda invocations and ALB traffic would be billed.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed