DBS-C01 · Question #213
DBS-C01 Question #213: Real Exam Question with Answer & Explanation
Sign in or unlock DBS-C01 to reveal the answer and full explanation for question #213. The question stem and answer options stay visible for context.
Question
A company stores session history for its users in an Amazon DynamoDB table. The company has a large user base and generates large amounts of session data. Teams analyze the session data for 1 week, and then the data is no longer needed. A database specialist needs to design an automated solution to purge session data that is more than 1 week old. Which strategy meets these requirements with the MOST operational efficiency?
Options
- ACreate an AWS Step Functions state machine with a DynamoDB DeleteItem operation that uses
- BCreate an AWS Lambda function to delete items older than a week from the DynamoDB table.
- CEnable Amazon DynamoDB Streams on the table. Use a stream to invoke an AWS Lambda
- DEnable TTL on the DynamoDB table and set a Number data type as the TTL attribute.
Unlock DBS-C01 to see the answer
You've previewed enough free DBS-C01 questions. Unlock DBS-C01 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.