S3 Versioning
Keeps multiple variants of an object in one bucket so any version can be restored.
Official AWS Reference https://docs.aws.amazon.com/AmazonS3/latest/userguide/Versioning.html ↗// DECISION LOGIC MATRIX
When to Choose
You need simple recovery after an accidental overwrite or delete.
When to Avoid
Regulation requires immutability for a defined period. Add Object Lock.
// EXAM TRAPS & SIGNAL KEYWORDS
// OFFICIAL AWS REFERENCE
"S3 Versioning keeps multiple variants of an object in the same bucket. You can preserve, retrieve, and restore every version of every object."
- Versioning is off by default. Once enabled, a bucket can only be suspended, never returned to unversioned.
- A delete in a versioned bucket inserts a delete marker rather than removing the object.
- Each version is a full object, not a diff. Three versions bill as three objects.
// S3 VERSIONING TAKEAWAYS
Role: Keeps multiple variants of an object in one bucket so any version can be restored.
Choose: You need simple recovery after an accidental overwrite or delete.
Avoid: Regulation requires immutability for a defined period. Add Object Lock.
Trap: Watch for exam signals like regulatory WORM, legal hold, immutable retention.
Fact: Versioning is off by default. Once enabled, a bucket can only be suspended, never returned to unversioned.
Fact: A delete in a versioned bucket inserts a delete marker rather than removing the object.
Fact: Each version is a full object, not a diff. Three versions bill as three objects.
// PRACTICE QUESTIONS
Ready to test your S3 Versioning knowledge?
4 practice questions cover S3 Versioning.