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 2 Question 21 Discussion

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

Lura
5 months ago
Candidate 6: Agreed, I think I would go with option B as well to ensure efficient processing of documents without complicating the existing application too much.
upvoted 0 times
...
Valda
5 months ago
Candidate 5: Overall, it seems like the majority prefers option B for implementing near-real time processing with the least amount of code changes.
upvoted 0 times
...
Linwood
5 months ago
Candidate 4: I think option D would require the most changes to the existing code since we would need to update the application to process documents synchronously after every write.
upvoted 0 times
...
Jerry
5 months ago
Candidate 3: Option C could also work, but it involves updating the application code to send PutEvents requests to EventBridge, which might require more changes than option B.
upvoted 0 times
...
Glenna
6 months ago
Candidate 2: I agree with that, setting up a cron job with option A seems like it would introduce unnecessary delays in processing the documents.
upvoted 0 times
...
Stephaine
6 months ago
Candidate 1: I think option B is the best choice because enabling a DynamoDB stream will allow us to process documents in near-real time with minimal code changes.
upvoted 0 times
...
Leonora
6 months ago
I see your point, but we also need to consider the cost implications of setting up and maintaining a DynamoDB stream and Lambda function in option B.
upvoted 0 times
...
Myra
6 months ago
I still think option B is the way to go since it offers a more scalable and reliable solution for near-real time processing.
upvoted 0 times
...
Hillary
6 months ago
That's true, but processing documents synchronously could potentially impact the performance of the application during peak times.
upvoted 0 times
...
Ronnie
6 months ago
But wouldn't option D be simpler since we can just update the application code to process the documents synchronously after the write?
upvoted 0 times
...
Carmelina
7 months ago
I agree, setting up a DynamoDB stream to trigger a Lambda function is a more efficient way to handle real-time processing.
upvoted 0 times
...
Viva
7 months ago
I think option B is the best choice because it allows for near-real time processing without changing much of the existing application code.
upvoted 0 times
...
James
8 months ago
I'm leaning towards option C. Sending a PutEvents request to EventBridge and using a rule to trigger a Lambda function could be a nice, event-driven solution. And it doesn't require too many changes to the existing code.
upvoted 0 times
Kendra
8 months ago
And it keeps the application code more streamlined without the need for frequent script executions.
upvoted 0 times
...
Lizette
8 months ago
It's definitely a more efficient way to handle near-real-time processing of documents in DynamoDB.
upvoted 0 times
...
Lisha
8 months ago
I agree. Using EventBridge to trigger a Lambda function seems like a clean solution.
upvoted 0 times
...
Carline
8 months ago
Option C sounds like a good choice. It allows for event-driven processing with minimal code changes.
upvoted 0 times
...
...
Elina
8 months ago
Ah, the age-old dilemma of 'least amount of change' versus 'most efficient solution'. Option D may be the fastest, but it could also slow down the main application, so that's probably not the way to go.
upvoted 0 times
...
Vinnie
8 months ago
I think option B is the best choice here. Enabling a DynamoDB stream and invoking a Lambda function to process the documents seems like the most straightforward approach.
upvoted 0 times
...
Franchesca
8 months ago
This question is a bit tricky. The key is to find the solution that requires the least amount of change to the existing application code.
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