DEA-C01 Data Security and Governance Practice Question
A company has an S3 bucket that stores logs for compliance. The compliance team requires that objects are retained for 7 years and cannot be deleted or overwritten. Which S3 feature should be used?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Enable S3 Object Lock with retention mode COMPLIANCE and a retention period of 7 years
S3 Object Lock with retention mode COMPLIANCE prevents objects from being deleted or overwritten for the specified retention period. Versioning alone does not prevent deletion. MFA Delete prevents accidental deletion but not overwrite. Lifecycle policies can expire objects but do not prevent deletion.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Enable S3 Object Lock with retention mode COMPLIANCE and a retention period of 7 years
Why this is correct
Object Lock with COMPLIANCE mode ensures objects cannot be deleted or overwritten for the retention period.
- ✗
Enable MFA Delete on the bucket
Why it's wrong here
MFA Delete requires multi-factor authentication to delete objects but does not prevent overwrites or permanent deletion by authorized users.
- ✗
Configure an S3 bucket policy that denies delete and overwrite actions
Why it's wrong here
A bucket policy can deny actions but can be changed; it is not a strong guarantee against deletion.
- ✗
Enable S3 Versioning and configure a lifecycle policy to expire objects after 7 years
Why it's wrong here
Versioning does not prevent deletion; it creates versions but objects can still be deleted.
Quick reference
AWS S3 Storage Class Comparison
| Storage Class | Min Duration | Retrieval | Use Case |
|---|---|---|---|
| S3 Standard | None | Immediate | Frequently accessed data |
| S3 Standard-IA | 30 days | Immediate | Infrequent access, rapid retrieval |
| S3 One Zone-IA | 30 days | Immediate | Non-critical infrequent data |
| S3 Intelligent-Tiering | None | Immediate–hours | Unknown or changing access patterns |
| S3 Glacier Instant | 90 days | Milliseconds | Archive with instant retrieval |
| S3 Glacier Flexible | 90 days | Minutes–hours | Archive, flexible retrieval |
| S3 Glacier Deep Archive | 180 days | Hours | Long-term compliance archive |
Go deeper
Related to this question
About these practice questions
This DEA-C01 question is part of Courseiva's 1,711-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This DEA-C01 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the DEA-C01 exam.