Question 4:
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?
Answer options:
A.Perform a scan on the table for the stale items and issue the Delete operation. B.Create an additional column to store the date. Perform a query for the stale objectsand the perform the Delete operation. C.Enable versioning for the items in DynamoDB and delete the last accessed version. D.Enable TTL for the items in DynamoDB.