AWS Certified Data Engineer Associate DEA-C01 Practice Question
A data lake bucket named raw-logs has Amazon S3 versioning enabled. A compliance policy dictates that current object versions must be permanently deleted 90 days after their creation, and noncurrent (previous) versions must be permanently deleted 90 days after they are superseded. The solution must avoid custom code and recurring jobs. Which approach satisfies these requirements with the least operational effort?
Enable S3 Object Lock with a 90-day governance retention period on the bucket.
Schedule an EventBridge rule to invoke an AWS Lambda function daily that uses S3 Batch Operations to delete object versions older than 90 days.
Create an S3 Lifecycle rule that sets the Expiration for current object versions to 90 days and sets NoncurrentVersionExpiration to 90 days for previous versions.
Enable S3 Intelligent-Tiering on the bucket and rely on its automated tiering to remove objects after 90 days.
An Amazon S3 Lifecycle configuration can delete objects automatically. The Expiration action deletes current object versions based on their age since creation. The NoncurrentVersionExpiration action deletes previous (noncurrent) versions based on how long they have been noncurrent. Setting both actions to 90 days ensures current versions are deleted 90 days after creation and previous versions are deleted 90 days after being superseded by a new version. This is a fully managed feature that meets the requirements without code or operational maintenance.
S3 Object Lock only prevents deletion during the retention period and does not delete objects when it ends. S3 Intelligent-Tiering optimizes storage class placement but does not delete data. An EventBridge rule with Lambda and Batch Operations would work, but it introduces custom code and operational maintenance, violating the requirement for minimal overhead.
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 Lifecycle configuration?
Open an interactive chat with Bash
What is S3 Object Lock, and why is it incorrect for this scenario?
Open an interactive chat with Bash
What is the purpose of the NoncurrentVersionExpiration action in S3 Lifecycle rules?
Open an interactive chat with Bash
What is Amazon S3 versioning?
Open an interactive chat with Bash
What is an S3 Lifecycle configuration?
Open an interactive chat with Bash
How does NoncurrentVersionExpiration work in S3 Lifecycle rules?
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 .