
Answer-first summary for fast verification
Answer: Use TTL
Time To Live (TTL) for DynamoDB allows you to define when items in a table expire so that they can be automatically deleted from the database. TTL is provided at no extra cost as a way to reduce storage usage and reduce the cost of storing irrelevant data without using provisioned throughput. With TTL enabled on a table, you can set a timestamp for deletion on a per-item basis, allowing you to limit storage usage to only those records that are relevant.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
In your betting application, you are storing information about bids in a DynamoDB table. To manage data efficiently, you want to set up a mechanism that automatically removes or expires the bids information from the DynamoDB table one week after it is stored.
What feature or service should you use to achieve this?
A
Use a Lambda function
B
Use DAX
C
Use DynamoDB Streams
D
Use TTL
No comments yet.