A developer supports an application that accesses data in an Amazon DynamoDB table. One of the item attributes is expirationDate in the timestamp format. The application uses this attribute to find items, archive them, and remove them from the table based on the timestamp value
The application will be decommissioned soon, and the developer must find another way to implement this functionality. The developer needs a solution that will require the least amount of code to write.
Which solution will meet these requirements?
TTL for Automatic Deletion:DynamoDB's Time-to-Live effortlessly deletes expired items without manual intervention.
DynamoDB Stream:Captures changes to the table, including deletions of expired items, triggering downstream actions.
Lambda for Processing:A Lambda function connected to the stream provides custom logic for handling the deleted items.
Code Efficiency:This solution leverages native DynamoDB features and stream-based processing, minimizing the need for custom code.
DynamoDB TTL Documentation:https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/TTL.html
Juliana
7 days agoMargo
7 days agoMichell
8 days agoKeena
9 days agoLura
9 days agoHuey
10 days agoJohanna
10 days agoTamala
11 days agoLynna
13 days agoDorthy
15 days ago