
Answer-first summary for fast verification
Answer: Set up event source mapping for the Lambda function.
The correct answer is B. To invoke an AWS Lambda function based on Amazon DynamoDB table updates, you need to configure event source mapping for the Lambda function. Even though DynamoDB streams are enabled, the Lambda function will not automatically start picking up these events until an event source mapping is established. This mapping allows the Lambda function to be called whenever there are changes in the DynamoDB table.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
A developer has created an AWS Lambda function with the necessary permissions for execution. Despite enabling Amazon DynamoDB streams on the table, the Lambda function is not being triggered by updates. What configuration is required to enable the Lambda function to be invoked by DynamoDB table updates?
A
Modify the DynamoDB table's StreamViewType parameter.
B
Set up event source mapping for the Lambda function.
C
Integrate a notification service with DynamoDB streams.
D
Extend the Lambda function's maximum runtime setting.