Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Amazon Exam DVA-C02 Topic 7 Question 31 Discussion

Actual exam question for Amazon's DVA-C02 exam
Question #: 31
Topic #: 7
[All DVA-C02 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?

Show Suggested Answer Hide Answer
Suggested Answer: B

DynamoDB Streams:Capture near real-time changes to DynamoDB tables, triggering downstream actions.

Lambda for Processing:Lambda functions provide a serverless way to execute code in response to events like DynamoDB Stream updates.

Minimal Code Changes:This solution requires the least modifications to the existing application.


DynamoDB Streams:https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Streams.html

AWS Lambda:https://aws.amazon.com/lambda/

Contribute your Thoughts:

Catrice
30 days ago
Option B is the way to go. It's the 'DynamoDB-stream-and-Lambda' special - the peanut butter and jelly of serverless solutions!
upvoted 0 times
...
Jesusita
1 months ago
C seems like a bit of overkill for this use case. EventBridge is great, but do we really need the extra layer of complexity here?
upvoted 0 times
Yasuko
8 days ago
C) I agree, using EventBridge might be too complex for this scenario.
upvoted 0 times
...
France
26 days ago
B) Enable a DynamoDB stream on the table Invoke an AWS Lambda function to process the documents.
upvoted 0 times
...
...
Jarod
1 months ago
I prefer option C. Sending PutEvents to EventBridge and invoking Lambda seems like a cleaner solution to me.
upvoted 0 times
...
Janna
1 months ago
I'd steer clear of A. Running a cron job to query the table for changes? That's just begging for performance issues and latency problems.
upvoted 0 times
...
Chauncey
2 months ago
D? Really? Synchronously processing documents after a DynamoDB write? That's a recipe for disaster with millions of documents and 30-60 requests per minute!
upvoted 0 times
...
Dexter
2 months ago
I agree with Shanice. Option B is the most efficient way to implement this feature with minimal code changes.
upvoted 0 times
...
Leeann
2 months ago
Option B all the way! Leveraging DynamoDB streams and Lambda is the cleanest solution to handle near-real-time processing without disrupting the existing app code.
upvoted 0 times
Malinda
14 days ago
I agree, using DynamoDB streams and Lambda is the way to go for this scenario.
upvoted 0 times
...
Glory
17 days ago
Definitely! It's a seamless way to handle the processing without causing disruptions.
upvoted 0 times
...
Shonda
22 days ago
That's a great choice! It allows for near-real-time processing without changing much of the existing code.
upvoted 0 times
...
Vernice
24 days ago
I agree, using DynamoDB streams and Lambda is the way to go for near-real-time processing.
upvoted 0 times
...
Thaddeus
1 months ago
B) Enable a DynamoDB stream on the table Invoke an AWS Lambda function to process the documents.
upvoted 0 times
...
Arlene
1 months ago
B) Enable a DynamoDB stream on the table Invoke an AWS Lambda function to process the documents.
upvoted 0 times
...
...
Shanice
2 months ago
I think option B is the best choice. Using DynamoDB streams with Lambda will allow for near-real time processing.
upvoted 0 times
...

Save Cancel