
Explanation:
The correct answer is C. Enabling DynamoDB Streams on the table allows AWS to capture and process changes (such as inserts, updates, and deletes) to the DynamoDB table in real-time. Once DynamoDB Streams are enabled, you can create a trigger that links the DynamoDB stream to an AWS Lambda function. This setup ensures that the Lambda function is automatically invoked whenever a change occurs in the table. This approach is effective and commonly used in serverless applications to react to changes in DynamoDB tables.
Ultimate access to all questions.
How can a developer set up an AWS Lambda function to process changes in an Amazon DynamoDB table?
A
By creating an Amazon Kinesis data stream and setting up a trigger to link it with the Lambda function.
B
By establishing an Amazon EventBridge rule for periodic Lambda invocation and then connecting it to the DynamoDB table for change detection.
C
By enabling DynamoDB Streams and creating a trigger to link the stream with the Lambda function for real-time change processing.
D
By creating an Amazon Kinesis Data Firehose delivery stream, attaching it to the DynamoDB table, and setting the Lambda function as the destination.
No comments yet.