S3 Object Lock Compliance Mode vs S3 Object Lock Governance Mode
10-Second Exam Rule:
Strict regulation where NOT EVEN the root user can delete before N years = Compliance Mode. Test retention policies or allow privileged admins to override = Governance Mode.
Side-by-Side Decision Matrix
| Capability | Compliance Mode | Governance Mode |
|---|---|---|
| Can Root User Delete Early? | No (impossible until retention expires) | Yes (with BypassGovernanceRetention) |
| Can Retention Be Shortened? | Never | Yes, by authorized principals |
| Requires S3 Versioning? | Yes | Yes |
| Typical Use Case | Strict financial/regulatory WORM audits | Accidental-deletion protection & testing |
Pick S3 Object Lock Compliance Mode when…
- SEC, FINRA, HIPAA, or legal WORM mandate prohibiting any deletion—including by the AWS account root user.
- Retention period must never be shortened once locked.
Pick S3 Object Lock Governance Mode when…
- Protecting production objects against accidental deletion while allowing designated admins with s3:BypassGovernanceRetention to adjust retention.
- Testing WORM workflows before enforcing irreversible Compliance locks.
Primary exam distractor trap
An S3 bucket policy with an explicit Deny on s3:DeleteObject does NOT stop the AWS account root user (who can delete the bucket policy itself). Only S3 Object Lock Compliance mode stops root.
Test if you can spot the rule under pressure
Financial audit records in S3 must be immutable for 7 years so not even the AWS account root user can delete them. Which mode is required?
Practice this exact scenario inside the Pass Workspace
Drill full 4-option CBT scenarios with inline blueprint citations, Distractor X-Ray, and FSRS auto-review.