Skip to main content

These questions are independently created for study purposes. They are not official AWS exam questions, actual exam questions, leaked questions, or exam dumps.

CLF-C02Cloud Technology and ServicesDifficulty:Normal

CLF-033

Which AWS service is most appropriate for storing the HTML, CSS, JavaScript, and image files of a static website at low cost?

Choices

Explanation and answer

Read the explanation and correct answer (spoiler — try answering first)

Correct answer: C. Amazon S3

Explanation

Amazon S3 is an object storage service and is well suited to storing static files such as HTML, CSS, JavaScript, and images. Combined with CloudFront, it can deliver content quickly and securely.

Per-choice explanations

A. Amazon EBS

Incorrect. EBS is block storage attached to EC2. For publishing a static site, S3 is the standard choice.

B. AWS IAM

Incorrect. IAM is a permission management service, not a file storage service.

C. Amazon S3

Correct. S3 is object storage well suited to storing static files.

D. Amazon RDS

Incorrect. RDS is a relational database. Storing static files is not its primary purpose.

Practical Use

Amazon S3 is an object storage service that stores static files such as HTML, CSS, JavaScript, and images, and can serve them directly over HTTP and HTTPS. Enabling the static website hosting feature lets you publish the objects in a bucket as a website, so you can serve web pages without running a server continuously. Because there is no server to manage and billing is based on data transfer and stored capacity, S3 is widely used as the foundation for static site delivery. On the exam, the typical question asks which service is used to store the content of a static website, with Amazon S3 as the correct answer. Distractors include RDS (relational database), EBS (block storage for EC2), and IAM (authentication and authorization). None of these are primarily for delivering static website content, so as long as you understand the scope of each service, you can rule them out. In practice, the common pattern is not to publish a static site from S3 alone, but to combine S3 with CloudFront. S3 acts as the origin and CloudFront sits in front as the CDN, providing HTTPS delivery, cache acceleration, custom domain support, and WAF integration in one configuration. CLF-C02 focuses on the role of S3. From SAA-C03 and above, the S3 plus CloudFront pattern and preventing direct S3 access using Origin Access Control (OAC) are also tested repeatedly.

Related links

Related services

Related comparison articles