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 185 discussion

A developer has been asked to create an AWS Lambda function that is invoked 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 invoked.

Which option would enable DynamoDB table updates to invoke the Lambda function?

  • A. Change the StreamViewType parameter value to NEW_AND_OLD_IMAGES for the DynamoDB table.
  • B. Configure event source mapping for the Lambda function.
  • C. Map an Amazon Simple Notification Service (Amazon SNS) topic to the DynamoDB streams.
  • D. Increase the maximum runtime (timeout) setting of the Lambda function.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
albert_kuo
8 months, 3 weeks ago
Selected Answer: B
aws lambda create-event-source-mapping \ --function-name MyLambdaFunction \ --event-source-arn arn:aws:dynamodb:region:account-id:table/MyTable/stream/2023-01-01T12:00:00.000 \ --batch-size 100 \ --starting-position LATEST
upvoted 1 times
...
65703c1
1 year ago
Selected Answer: B
B is the correct answer.
upvoted 2 times
...
KarBiswa
1 year, 3 months ago
Selected Answer: B
https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html
upvoted 2 times
...
joshnort
1 year, 4 months ago
Selected Answer: B
Configure event source mapping for the Lambda function after enabling Streams
upvoted 1 times
...
dilleman
1 year, 8 months ago
Selected Answer: B
B is the only option that makes sense here
upvoted 3 times
...
Digo30sp
1 year, 8 months ago
Selected Answer: B
B) https://www.examtopics.com/discussions/amazon/view/4365-exam-aws-certified-developer-associate-topic-1-question-35/#
upvoted 3 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 ...