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
In Amazon S3, what uniquely identifies an object inside a bucket (when versioning is not enabled)?
- The object's storage class
- The object key (key name)
- The Region of the bucket
- 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.
Which workloads are a natural fit for Amazon S3?
- Hosting the HTML, CSS and images of a static website
- The boot volume of an EC2 instance
- A data lake queried by analytics services
- Storing backup copies of on-premises data
- 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.
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.
