AWS Certified Data Engineer Associate DEA-C01 Practice Question
An insurance company keeps policy documents in an Amazon S3 bucket that has versioning enabled. Regulations require that every object, including all previous versions, must be permanently deleted exactly 7 years (2,555 days) after its creation. The solution must prove compliance while minimizing operational overhead and maintenance work. Which action will meet these requirements?
Set up an EventBridge rule that invokes an AWS Lambda function daily to list objects older than 2,555 days and delete each version individually.
Enable S3 Object Lock in compliance mode with a 7-year retention period so that objects are automatically removed when the retention period ends.
Create an S3 Lifecycle rule with two expiration actions that permanently delete current object versions and noncurrent object versions after 2,555 days, and enable removal of expired object delete markers.
Configure an AWS Backup plan for the bucket with a 7-year retention rule so that the original objects are deleted after the backups expire.
An S3 Lifecycle configuration can natively expire both current and noncurrent object versions after a specified number of days. By adding separate expiration actions for current versions and for noncurrent versions set to 2,555 days, and enabling the option to remove expired object delete markers, every copy of the object is removed automatically when it reaches the mandated age. This solution is completely managed, requires no code to maintain, and produces an auditable lifecycle rule that demonstrates compliance.
S3 Object Lock prevents deletion until the retention period ends, but it does not automatically remove objects when the period expires; manual deletion would still be required. AWS Backup retention applies only to backup copies, not to the original S3 objects, so the source data would remain. A scheduled EventBridge-Lambda process could work, but it introduces custom code and ongoing operational overhead, making it less suitable than a native lifecycle policy.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is Amazon S3 versioning?
Open an interactive chat with Bash
How does an S3 Lifecycle rule work?
Open an interactive chat with Bash
What are expired object delete markers in S3?
Open an interactive chat with Bash
What is S3 versioning, and why is it important?
Open an interactive chat with Bash
How do S3 Lifecycle rules work?
Open an interactive chat with Bash
What are expired object delete markers in S3?
Open an interactive chat with Bash
AWS Certified Data Engineer Associate DEA-C01
Data Store Management
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .