S3 Object Lock
WORM storage. Blocks delete and overwrite of an object version for a fixed period or indefinitely.
Official AWS Reference https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock.html ↗// DECISION LOGIC MATRIX
When to Choose
Regulation demands immutability. Compliance mode blocks even the account root user.
When to Avoid
You only need rollback of accidental changes. Versioning is enough.
// EXAM TRAPS & SIGNAL KEYWORDS
// OFFICIAL AWS REFERENCE
"S3 Object Lock prevents objects from being deleted or overwritten for a fixed time or indefinitely, using a write-once-read-many (WORM) model, to help meet regulatory WORM requirements."
- Object Lock works only in buckets with S3 Versioning enabled.
- Compliance mode: no user, including the root user, can overwrite or delete; retention cannot be shortened.
- Governance mode can be overridden with the s3:BypassGovernanceRetention permission.
- Assessed by Cohasset Associates for SEC 17a-4, CFTC, and FINRA environments.
// S3 OBJECT LOCK TAKEAWAYS
Role: WORM storage. Blocks delete and overwrite of an object version for a fixed period or indefinitely.
Choose: Regulation demands immutability. Compliance mode blocks even the account root user.
Avoid: You only need rollback of accidental changes. Versioning is enough.
Trap: Watch for exam signals like accidental deletion only, simple rollback.
Fact: Object Lock works only in buckets with S3 Versioning enabled.
Fact: Compliance mode: no user, including the root user, can overwrite or delete; retention cannot be shortened.
Fact: Governance mode can be overridden with the s3:BypassGovernanceRetention permission.
// PRACTICE QUESTIONS
Ready to test your S3 Object Lock knowledge?
4 practice questions cover S3 Object Lock.