ExamQuestions.com

Register
Login
AWS Certified Database Specialty Exam Questions

Amazon

AWS Certified Database Specialty

1 / 145

Question 1:

A developer is implementing an IoT application using DynamoDB as the data store for device event data.An application requirement is to purge all event data older than 30 days automatically.What is the optimal option to implement this requirement?

Answer options:

A.Enable TTL on the DynamoDB table and store the expiration timestamp in the TTL attribute in the epoch time format.
B.Implement a Lambda function to perform a query and delete on the table for items with a timestamp greater than 30 days.Use CloudWatch events to trigger the Lambda function.
C.Create a new DynamoDB table every 30 days.Delete the old DynamoDB table.
D.Enable DynamoDB streams on the table.Implement Lambda function to read events from the stream and delete expired items.