AWS CLF-C02 — Domain 3: Cloud Technology & Services
s3://my-bucket/folder/file.txtS3 is object storage (not block or file storage). Bucket names are globally unique. Objects are accessed via keys. S3 provides 11 9s (99.999999999%) of durability.
| Type | Description | Key Management |
|---|---|---|
| SSE-S3 | Server-Side Encryption with S3-managed keys. Default encryption. | AWS manages keys entirely (AES-256) |
| SSE-KMS | Server-Side Encryption with KMS keys. Gives you audit trail via CloudTrail. | You manage keys in AWS KMS, control rotation |
| SSE-C | Server-Side Encryption with customer-provided keys. Must use HTTPS. | You provide and manage the key with every request |
| Client-Side | Encrypt data on the client before sending to S3. | You manage everything — encryption and keys |
"Default encryption for S3?" → SSE-S3 (AES-256). "Encryption with audit trail of key usage?" → SSE-KMS. "Customer provides their own encryption key?" → SSE-C. All new buckets have SSE-S3 enabled by default.
http://bucket-name.s3-website-region.amazonaws.comindex.html) and optionally an error documentnullVersioning is a prerequisite for S3 Replication (CRR/SRR). It is considered a best practice to enable versioning on all important buckets.
| Type | Full Name | Description |
|---|---|---|
| CRR | Cross-Region Replication | Replicate objects to a bucket in a different Region. Use cases: compliance, lower latency, cross-account replication. |
| SRR | Same-Region Replication | Replicate objects to a bucket in the same Region. Use cases: log aggregation, live replication between production and test accounts. |
"Replicate S3 data to another Region for compliance?" → CRR. "Aggregate logs from multiple buckets in the same Region?" → SRR. Both require versioning enabled.
| Storage Class | Durability | Availability | Min Storage Duration | Retrieval Time | Use Case |
|---|---|---|---|---|---|
| S3 Standard | 99.999999999% (11 9s) | 99.99% | None | Instant | Frequently accessed data, big data analytics, gaming, content distribution |
| S3 Standard-IA | 99.999999999% | 99.9% | 30 days | Instant | Infrequently accessed but needs rapid access (disaster recovery, backups) |
| S3 One Zone-IA | 99.999999999% | 99.5% | 30 days | Instant | Infrequent access, data you can recreate (secondary backups, thumbnails) |
| S3 Glacier Instant Retrieval | 99.999999999% | 99.9% | 90 days | Milliseconds | Archive data accessed once a quarter with instant access |
| S3 Glacier Flexible Retrieval | 99.999999999% | 99.99% | 90 days | Expedited: 1-5 min, Standard: 3-5 hrs, Bulk: 5-12 hrs | Archive data accessed 1-2 times per year |
| S3 Glacier Deep Archive | 99.999999999% | 99.99% | 180 days | Standard: 12 hrs, Bulk: 48 hrs | Long-term archive, data retained for 7-10+ years, compliance |
| S3 Intelligent-Tiering | 99.999999999% | 99.9% | None | Instant (for frequent/infrequent tiers) | Unknown or changing access patterns. Auto-moves objects between tiers. Small monthly monitoring fee, no retrieval charges. |
All S3 storage classes have 11 9s (99.999999999%) durability. They differ in availability, retrieval time, and cost. One Zone-IA stores data in only 1 AZ (risk of AZ destruction).
"Cheapest long-term archive?" → Glacier Deep Archive. "Archive with instant access?" → Glacier Instant Retrieval. "Unpredictable access patterns?" → Intelligent-Tiering. "Infrequent access, can recreate data?" → One Zone-IA.
| Action Type | Description | Example |
|---|---|---|
| Transition Actions | Move objects to another storage class after X days | Move to Standard-IA after 30 days, move to Glacier after 90 days |
| Expiration Actions | Delete objects after X days | Delete access logs after 365 days, delete incomplete multi-part uploads after 7 days |
"How to automatically move objects to cheaper storage over time?" → S3 Lifecycle Rules with Transition Actions. "How to auto-delete old objects?" → Lifecycle Rules with Expiration Actions.
"How to give temporary access to a private S3 object without making the bucket public?" → Presigned URL. This is a very commonly tested concept.
"Prevent object deletion for compliance (WORM)?" → S3 Object Lock. "Speed up S3 uploads from far-away users?" → S3 Transfer Acceleration. "Even the root user cannot delete?" → Compliance Mode.
| Feature | Key Fact |
|---|---|
| Max object size | 5 TB |
| Multi-part upload required | Files > 5 GB (recommended for > 100 MB) |
| Bucket name | Globally unique, 3-63 characters, lowercase |
| Durability | 99.999999999% (11 nines) for all classes |
| Default encryption | SSE-S3 (AES-256) |
| Versioning | Bucket-level, required for replication |
| Lifecycle rules | Transition + Expiration actions |
| Replication | CRR (cross-region) or SRR (same-region), requires versioning |
| Static hosting | HTTP only (use CloudFront for HTTPS) |
| Free Tier | 5 GB Standard storage, 20,000 GET, 2,000 PUT for 12 months |