exam questions

Exam AWS Certified Developer Associate All Questions

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

Exam AWS Certified Developer Associate topic 1 question 192 discussion

Exam question from Amazon's AWS Certified Developer Associate
Question #: 192
Topic #: 1
[All AWS Certified Developer Associate Questions]

A developer maintains a critical business application that uses Amazon DynamoDB as the primary data store. The DynamoDB table contains millions of documents and receives 30-60 requests each minute. The developer needs to perform processing in near-real time on the documents when they are added or updated in the DynamoDB table.

How can the developer implement this feature with the LEAST amount of change to the existing application code?

  • A. Set up a cron job on an Amazon EC2 instance. Run a script every hour to query the table for changes and process the documents.
  • B. Enable a DynamoDB stream on the table. Invoke an AWS Lambda function to process the documents.
  • C. Update the application to send a PutEvents request to Amazon EventBridge (Amazon CloudWatch Events). Create an EventBridge (CloudWatch Events) rule to invoke an AWS Lambda function to process the documents.
  • D. Update the application to synchronously process the documents directly after the DynamoDB write.
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
rcaliandro
2 years, 1 month ago
Selected Answer: B
We do not need to add a CloudWatch event but we can also directly enable DynamoDB data stream to call a lambda function as soon as one element in the table is added, updated or deleted. I'll go with B
upvoted 1 times
...
pancman
2 years, 5 months ago
Selected Answer: B
B is correct
upvoted 1 times
...
Krt5894
2 years, 5 months ago
Selected Answer: B
B is the right answer
upvoted 1 times
...
sichilam
2 years, 6 months ago
B it is
upvoted 2 times
...
michaldavid
2 years, 8 months ago
Selected Answer: B
bbbbbbbb
upvoted 1 times
...
k1kavi1
2 years, 8 months ago
Selected Answer: B
https://aws.amazon.com/blogs/database/dynamodb-streams-use-cases-and-design-patterns/
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 ...