AWS Certified Developer – Associate (DVA-C02) — Question 397

A developer is creating an application that must transfer expired items from Amazon DynamoDB to Amazon S3. The developer sets up the DynamoDB table to automatically delete items after a specific TTL. The application must process the items in DynamoDB and then must store the expired items in Amazon S3. The entire process, including item processing and storage in Amazon S3, will take 5 minutes.

Which solution will meet these requirements with the LEAST operational overhead?

Answer options

Correct answer: B

Explanation

When DynamoDB TTL deletes an item, it writes a delete record to DynamoDB Streams. Triggering a Lambda function from this stream is the most operationally efficient, serverless way to process these deletions and save them to Amazon S3, especially since the 5-minute processing time is well within Lambda's 15-minute execution limit. Using ECS on EC2 introduces significant management overhead, while DAX is for caching and EventBridge does not natively capture DynamoDB TTL deletions without streams.