DVA-C01-LATEST practice question 6 of 35

A Developer has been asked to create an AWS Lambda function that is triggered any time updates are made to items in an Amazon DynamoDB table. The…

Full set: 608 questions
A Developer has been asked to create an AWS Lambda function that is triggered any time updates are made to items in an Amazon DynamoDB table. The function has been created, and appropriate permissions have been added to the Lambda execution role. Amazon DynamoDB streams have been enabled for the table, but the function is still not being triggered. Which option would enable DynamoDB table updates to trigger the Lambda function?
Answer options
A: Change the StreamViewType parameter value to NEW_AND_OLD_IMAGES for the DynamoDB table
B: Configure event source mapping for the Lambda function Correct answer
C: Map an Amazon SNS topic to the DynamoDB streams
D: increase the maximum execution time (timeout) setting of the Lambda function
Correct Answer:
B. Configure event source mapping for the Lambda function
Explanation

https://docs.aws.amazon.com/en_us/amazondynamodb/latest/developerguide/Streams.Lambda.Tu torial.html Create an event source mapping to tell Lambda to send records from your stream to a Lambda function. You can create multiple event source mappings to process the same data with multiple Lambda functions, or process items from multiple streams with a single function.

Scroll to Top