
Answer-first summary for fast verification
Answer: Use DynamoDB Streams to trigger a Lambda function for document processing.
Option B is the correct answer. Enabling a DynamoDB Stream on the table and configuring it to invoke an AWS Lambda function allows for near-real-time processing of document changes with minimal changes to the existing application code. This method efficiently captures item-level modifications and can automatically trigger the processing logic within the Lambda function, thus meeting the requirement for minimal code changes and prompt processing.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
How can a developer implement near-real-time processing of documents in an Amazon DynamoDB table with minimal changes to existing application code?
A
Schedule hourly EC2-based scripts to check for table changes.
B
Use DynamoDB Streams to trigger a Lambda function for document processing.
C
Integrate EventBridge with Lambda for processing upon document updates.
D
Directly process documents synchronously within the application post-DynamoDB operations.
No comments yet.