Bitzu

CLF-C02 ยท Storage services

Object storage with Amazon S3

Buckets and objects, durability, common uses (static websites, backups, data lakes, media) and access control basics in Amazon S3.

Key points

  • Amazon S3: objects (data plus metadata) in buckets; you pick a bucket name, unique in the partition, and a Region.
  • An object is found by its key, plus a version ID with Versioning.
  • Pay for use, no capacity to provision; 99.999999999% (11 nines) durability.
  • Uses: static websites, backup, data lakes, media.
  • Private by default, Block Public Access on, ACLs disabled; grant access with IAM and bucket policies.

Source: https://docs.aws.amazon.com/AmazonS3/latest/userguide/Welcome.html

Practice questions

Single choice

In Amazon S3, what uniquely identifies an object inside a bucket (when versioning is not enabled)?

  1. The object's storage class
  2. The object key (key name)
  3. The Region of the bucket
  4. The bucket's ARN
Show answer

Answer: B. The object key (key name)

Every object has exactly one key, and bucket + key addresses it. A Region is where the bucket lives, a storage class affects cost and access, and an ARN of the bucket identifies the bucket, not the individual object.

Select all that apply

Which workloads are a natural fit for Amazon S3?

  1. Hosting the HTML, CSS and images of a static website
  2. The boot volume of an EC2 instance
  3. A data lake queried by analytics services
  4. Storing backup copies of on-premises data
  5. Running a transactional relational database engine
Show answer

Answer: A. Hosting the HTML, CSS and images of a static website, C. A data lake queried by analytics services, D. Storing backup copies of on-premises data

S3 is object storage: good for static website files, a central data lake and backup copies. A boot volume for EC2 needs block storage (Amazon EBS), and a relational database with transactions needs a database engine, not object storage.

True or false

A newly created S3 bucket is publicly readable until you add a policy that restricts it.

Show answer

Answer: False

False. Buckets and objects are private by default, and Block Public Access is turned on by default for new buckets. Public access has to be granted deliberately.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More CLF-C02 topics in this module