AWS Certified Data Engineer Associate DEA-C01 Practice Question
A data engineering team stores hourly JSON files in the s3://prod-iot/raw/ prefix. The bucket has versioning enabled. To reduce storage costs, the team must automatically delete the current object versions after 180 days and remove any non-current versions 30 days after they become non-current. Which approach satisfies these requirements while requiring the least ongoing maintenance?
Create one S3 Lifecycle rule for the raw/ prefix that sets Expiration to 180 days and NoncurrentVersionExpiration to 30 days.
Schedule an AWS Glue job that runs daily and deletes objects older than 180 days and non-current versions older than 30 days by calling the S3 API.
Enable S3 Intelligent-Tiering for the bucket and rely on automatic archival and deletion of infrequently accessed objects.
Use EventBridge to invoke a Lambda function on each object creation that tags objects for 180-day retention, then configure S3 Object Lock to delete non-current versions after 30 days.
Amazon S3 Lifecycle natively supports both Expiration and NoncurrentVersionExpiration actions. A single lifecycle rule scoped to the raw/ prefix can be configured to delete current versions 180 days after creation and to remove non-current versions 30 days after they are replaced. This solution is fully managed by S3 and needs no additional code or orchestration. The other options either rely on custom code (Glue job or Lambda), provide no automatic deletion (Intelligent-Tiering only changes storage class), or add unnecessary complexity (EventBridge with Object Lock) and therefore do not meet the requirement for minimal operational 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 an S3 Lifecycle rule?
Open an interactive chat with Bash
What is the difference between Expiration and NoncurrentVersionExpiration in S3 Lifecycle rules?
Open an interactive chat with Bash
How does S3 versioning work, and how is it related to S3 Lifecycle?
Open an interactive chat with Bash
What is Amazon S3 Lifecycle and how does it work?
Open an interactive chat with Bash
What is the difference between Expiration and NoncurrentVersionExpiration in S3 Lifecycle?
Open an interactive chat with Bash
What are the advantages of using an S3 Lifecycle rule over custom solutions like AWS Glue or Lambda?
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 .