Cyber Monday 2024! 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
5 months 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
5 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
Francoise
3 months ago
Let's go with option B then. It's the most straightforward solution for near-real time processing.
upvoted 0 times
...
Kallie
3 months ago
I think option B is the best choice. Using DynamoDB streams and Lambda would be efficient.
upvoted 0 times
...
Vesta
3 months ago
I agree, C does seem like overkill. We should go with a simpler solution.
upvoted 0 times
...
Rosenda
3 months ago
D) Updating the application to process the documents directly after the DynamoDB write seems like a more straightforward approach.
upvoted 0 times
...
Yasuko
4 months ago
C) I agree, using EventBridge might be too complex for this scenario.
upvoted 0 times
...
France
4 months ago
B) Enable a DynamoDB stream on the table Invoke an AWS Lambda function to process the documents.
upvoted 0 times
...
...
Jarod
5 months ago
I prefer option C. Sending PutEvents to EventBridge and invoking Lambda seems like a cleaner solution to me.
upvoted 0 times
...
Janna
5 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
5 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
5 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
5 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
4 months ago
I agree, using DynamoDB streams and Lambda is the way to go for this scenario.
upvoted 0 times
...
Glory
4 months ago
Definitely! It's a seamless way to handle the processing without causing disruptions.
upvoted 0 times
...
Shonda
4 months ago
That's a great choice! It allows for near-real-time processing without changing much of the existing code.
upvoted 0 times
...
Vernice
4 months ago
I agree, using DynamoDB streams and Lambda is the way to go for near-real-time processing.
upvoted 0 times
...
Thaddeus
5 months ago
B) Enable a DynamoDB stream on the table Invoke an AWS Lambda function to process the documents.
upvoted 0 times
...
Arlene
5 months ago
B) Enable a DynamoDB stream on the table Invoke an AWS Lambda function to process the documents.
upvoted 0 times
...
...
Shanice
5 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
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77