Amazon S3 Flashcards
What is Amazon S3?
Amazon S3 is an infinitely scalable object storage service used by websites and AWS services.
What are common use cases for Amazon S3?
Backup, Disaster Recovery, Archive, Hybrid Cloud, Application/Media Hosting, Data lakes, Static websites.
What is an S3 bucket?
A globally unique container for objects; region-specific.
What are naming rules for S3 buckets?
3-63 chars, lowercase only, no underscores, not an IP, no xn– prefix or -s3alias suffix.
What is an S3 object?
File stored in a bucket, has a key (full path), content, metadata, tags, version ID.
What is the max size of an S3 object?
5TB; >5GB requires multi-part upload.
What are S3 object metadata and tags?
Metadata are key-value pairs that store information about the object, like content-type or custom values (e.g., x-amz-meta-owner). Tags are key-value pairs used for organization, access control, and lifecycle rules.
What are user-based and resource-based S3 access controls?
User-based: IAM Policies; Resource-based: Bucket policies, Object ACLs.
What is a bucket policy in S3?
JSON policy to allow/deny access, enforce encryption, or grant cross-account access.
What is the purpose of Block Public Access settings?
To prevent data leaks; should remain on unless public access is intentional.
Can S3 host websites?
Yes, for static sites; accessible via special S3 website endpoint.
What does a 403 error on S3 website mean?
Likely missing bucket policy for public read access.
What is S3 versioning?
Keeps multiple versions per object. You can suspend versioning, but existing versions remain. Default version for pre-versioned files is “null”
What is S3 replication?
Replicates objects from source to destination bucket across or within regions.
What are requirements for S3 replication?
Enable versioning on both buckets and provide IAM permissions.
Can S3 replicate existing objects?
Not by default; use S3 Batch Replication.
Can S3 replicate deletes?
Yes for delete markers; versioned deletions are not replicated.
What is S3 replication chaining?
Not supported; replication does not cascade.
What are S3 the storage classes?
Standard, Standard-IA, One Zone-IA, Glacier IR/FR/DA, Intelligent Tiering.
What is the S3 durability?
11 nines (99.999999999%) across multiple AZs.
What is the S3 availability?
Varies by class; e.g., Standard: 99.99%.
When should you use S3 Standard?
Frequently accessed data with high availability needs.
What is Standard-IA and One Zone-IA?
Both are for infrequent access. Standard-IA stores in multiple AZs; One Zone-IA stores in one AZ, cheaper but less durable.
What is Amazon S3 Glacier?
Low-cost archive storage with delayed retrieval.