0 votes
by

An application hosted in AWS has been configured to use a DynamoDB table. Several items are written to the DynamoDB table. These items are only accessed in a particular time frame, after which they can be deleted. Which of the following is an ideal way to manage the deletion of the stale items?

1 Answer

0 votes
by

Answer - D.

The AWS Documentation mentions the following.

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.

Options A and B are incorrect since these would not be cost-effective and have a performance issue on the underlying DynamoDB table.

Related questions

0 votes
asked Apr 21 in AWS by DavidAnderson
0 votes
asked Apr 23 in AWS by DavidAnderson
...