exam questions

Exam AWS Certified Developer - Associate DVA-C02 All Questions

View all questions & answers for the AWS Certified Developer - Associate DVA-C02 exam

Exam AWS Certified Developer - Associate DVA-C02 topic 1 question 46 discussion

A developer is working on a serverless application that needs to process any changes to an Amazon DynamoDB table with an AWS Lambda function.
How should the developer configure the Lambda function to detect changes to the DynamoDB table?

  • A. Create an Amazon Kinesis data stream, and attach it to the DynamoDB table. Create a trigger to connect the data stream to the Lambda function.
  • B. Create an Amazon EventBridge rule to invoke the Lambda function on a regular schedule. Conned to the DynamoDB table from the Lambda function to detect changes.
  • C. Enable DynamoDB Streams on the table. Create a trigger to connect the DynamoDB stream to the Lambda function.
  • D. Create an Amazon Kinesis Data Firehose delivery stream, and attach it to the DynamoDB table. Configure the delivery stream destination as the Lambda function.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Untamables
Highly Voted 2 years, 1 month ago
Selected Answer: C
C https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Streams.Lambda.html
upvoted 11 times
...
sumanshu
Most Recent 4 months, 1 week ago
Selected Answer: C
B) Eliminated - Polling the table for changes introduces unnecessary complexity and delay C) Correct - DynamoDB Streams is specifically designed for this use case, capturing item-level changes in the table. D) Eliminated - Firehose is used for data delivery and transformation to destinations like S3 or Redshift, not for processing DynamoDB table changes.
upvoted 1 times
...
65703c1
11 months, 2 weeks ago
Selected Answer: C
C is the correct answer.
upvoted 1 times
...
ibratoev
1 year, 1 month ago
A should work as well. Why is it not A?
upvoted 1 times
nbxyzd
6 months, 1 week ago
While option A is technically possible, it introduces unnecessary complexity for detecting changes in a DynamoDB table. Using DynamoDB Streams directly is a more streamlined and optimized solution for this use case.
upvoted 3 times
...
...
nmc12
1 year, 7 months ago
Selected Answer: C
C Enabling DynamoDB Streams on the table allows you to capture and process changes (inserts, updates, deletes) to the table in real-time. You can then create a Lambda trigger that listens to the DynamoDB stream and invokes the Lambda function whenever there is a change in the table. This is a common and effective way to react to changes in DynamoDB tables with AWS Lambda functions.
upvoted 4 times
...
Baba_Eni
1 year, 11 months ago
Selected Answer: C
https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Streams.html
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago