Whenever a DynamoDB item is updated, a Lambda function must replicate the change to an OpenSearch index for full-text search. What's the native integration pattern?
A.Poll the table every minute with a scheduled Lambda
Polling is inefficient, delayed, and scans the whole table.
B.Enable DynamoDB Streams and configure it as a Lambda event source
Correct. Streams → Lambda is the designed CDC pattern.
C.Publish changes to SNS from the application code
Requires application-side changes; misses changes from other writers.
D.Use DynamoDB triggers configured in the console
DynamoDB has no trigger feature — that name is a distractor.
Why this answer
DynamoDB Streams captures item-level changes (inserts, updates, deletes) in a time-ordered log. Lambda polls the stream natively as an event source — the standard pattern for change-data-capture from DynamoDB. There are no native 'triggers' on DynamoDB.
Correct answer: B · Last reviewed 2026-10-26
Official AWS references
Practice this interactively
Answer without seeing the solution first in the Serverless & APIs practice session.
Practice Serverless & APIs