AWS Certified Data Engineer Associate DEA-C01 Practice Question
A company uses a multi-Region DynamoDB global table to store customer records that include personally identifiable information (PII). Privacy regulations mandate that each record must be permanently removed exactly 5 years after its creation, and the deletion must automatically propagate to every replica table without adding new compute resources. Which approach satisfies these legal requirements while keeping operational overhead and cost low?
Turn on DynamoDB point-in-time recovery (PITR) and set the recovery window to 5 years.
Schedule an EventBridge rule to invoke an AWS Lambda function daily that scans the table for items older than 5 years and deletes them.
Enable DynamoDB TTL and store a Unix epoch timestamp set to 5 years after each item's creation in a dedicated TTL attribute.
Periodically export the table to Amazon S3 and apply an S3 Lifecycle expiration rule that deletes objects after 5 years.
DynamoDB Time to Live (TTL) lets you set an epoch timestamp on each item that determines when DynamoDB should expire the item. When the timestamp is reached, DynamoDB deletes the item in the background at no additional cost and emits a Delete event that is replicated to every Region in a global table. This provides automated, irreversible deletion that propagates to all replicas without the need for scheduled Lambda functions, exports, or manual administration. A Lambda job could meet the requirement but adds compute cost and operational burden. Exporting to S3 and using S3 Lifecycle rules does not delete the source DynamoDB data. Point-in-time recovery is a backup feature; it retains, rather than removes, data.
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 DynamoDB TTL and how does it work?
Open an interactive chat with Bash
How do privacy regulations impact the use of DynamoDB global tables?
Open an interactive chat with Bash
Why is using Lambda or S3 for data deletion less efficient compared to DynamoDB TTL?
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 $11.99
$11.99/mo
Billed monthly, Cancel any time.
$19.99 after promotion ends
3 Month Pass
$44.99 $26.99
$8.99/mo
One time purchase of $26.99, Does not auto-renew.
$44.99 after promotion ends
Save $18!
MOST POPULAR
Annual Pass
$119.99 $71.99
$5.99/mo
One time purchase of $71.99, Does not auto-renew.
$119.99 after promotion ends
Save $48!
BEST DEAL
Lifetime Pass
$189.99 $113.99
One time purchase, Good for life.
Save $76!
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .