Storage
⏱ ~4-min readAceMark GuideWhat this topic is really about
S3 Lifecycle Policies let you define rules that transition objects to cheaper storage classes or delete them after a specified age. By configuring a lifecycle rule, you can automatically purge data that is no longer needed, reducing storage costs and simplifying data retention management. The policy applies to all objects that match the rule's prefix and tag criteria.
S3 Object Lock in Compliance mode enforces WORM (Write Once Read Many) protection, preventing any deletion or overwrite of objects for the retention period, and works together with versioning to keep all object versions. Governance mode allows authorized users to bypass the lock, which does not satisfy strict compliance. Lifecycle rules do not prevent deletion.
See the mechanism
S3 Glacier Instant Retrieval is optimized for rare access (less than once a quarter) while delivering millisecond retrieval times, making it highly cost-effective for archival data that must be accessed quickly. A diagram for this topic isn't available yet — the worked example below walks the same reasoning step by step.
An exam-style question, fully explained
Which S3 storage class is best for data accessed less than once per quarter but retrieved within milliseconds?
- Identify what the question tests: Which S3 storage class is best for data accessed less than once per quarter but retrieved within milliseconds.
- S3 Glacier Instant Retrieval is optimized for rare access (less than once a quarter) while delivering millisecond retrieval times, making it highly cost-effective for archival data that must be accessed quickly.
- S3 Standard-IA (Option C) is designed for data accessed at least once a month, making it more expensive for quarterly access patterns.
Traps the examiner sets
- S3 Versioning keeps multiple variants of an object in the same bucket, allowing users to easily recover from accidental deletions or overwrites.
- Lifecycle rules do not prevent deletion.
- Amazon Elastic File System (EFS) provides a simple, serverless, set-and-forget elastic file system for use with AWS Cloud services and on-premises resources.
Test your recall
Answer each from memory — you'll see instantly whether you're right and why.
Run a focused 10-question mini-mock on Storage and see it stick.
Practice more of this topic →