Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
A company's application on EC2 instances writes to a growing DynamoDB table, requiring data access limited to the last 30 days. What is the most cost-effective solution with minimal development effort?
A
Use CloudFormation for deployment, cycling stacks every 30 days.
B
Employ an EC2-based monitoring app with DynamoDB Streams for timestamping and script-based cleanup.
C
Configure DynamoDB Streams to trigger a Lambda function for automated cleanup of outdated items.
D
Integrate a timestamp attribute in the application for DynamoDB TTL to manage data retention.