AWS Certified Developer – Associate — Question 365

A developer maintains a critical business application that uses Amazon DynamoDB as the primary data store. The DynamoDB table contains millions of documents and receives 30-60 requests each minute. The developer needs to perform processing in near-real time on the documents when they are added or updated in the DynamoDB table.

How can the developer implement this feature with the LEAST amount of change to the existing application code?

Answer options

Correct answer: B

Explanation

Enabling a DynamoDB stream allows the system to capture item-level modifications automatically without requiring any changes to the application's database write code. AWS Lambda can then consume this stream in near-real time, providing an efficient and serverless integration. Other options either require significant modifications to the application code (such as synchronous processing or manual EventBridge integration) or fail to meet the near-real-time requirement (such as the hourly EC2 cron job).