DOP-C01 Exam QuestionsBrowse all questions from this exam

DOP-C01 Exam - Question 165


A company stores purchase history in an Amazon DynamoDB table. The company needs other workloads that run on AWS to react to data changes in the table.

The company has enabled a DynamoDB stream on the table. Three existing AWS Lambda functions have an event source mapping configured for the DynamoDB stream. The company's application developers plan to add other applications that will need to react to changes in the table. A DevOps engineer must design an architecture that will give the additional consumers this functionality.

Which solution will meet these requirements in the MOST operationally efficient way?

Show Answer
Correct Answer: A

Creating an Amazon EventBridge event bus allows for a scalable and efficient way to handle new consumers without modifying the existing infrastructure significantly. EventBridge can receive events directly from the new Lambda function that is already consuming from the DynamoDB stream, and new consumers can then simply subscribe to the EventBridge events. This setup reduces complexity and operational overhead, making it the most operationally efficient solution.

Discussion

8 comments
Sign in to comment
Oleg_golOption: C
Jan 15, 2023

agree C https://aws.amazon.com/ru/blogs/database/dynamodb-streams-use-cases-and-design-patterns/

DimidrolOption: C
Jan 17, 2023

C for me

saeidpOption: B
Jan 22, 2023

You don't need lambda to send data from streams to kinesis stream. It can be done automatically I go with B

saeidp
Jan 22, 2023

Only drawback with B is if an aplication process the event data then it will be deleted from the Queue

saeidp
Feb 25, 2023

because of this SQS is wrong in this scenario C is the correct answere

BultiOption: C
Jan 28, 2023

C is a better option than A because it's more operationality efficient. Option B is wrong because EventBrige Bus doesn't have a persistent store whereas KDS does. So there won't be a loss of data.

DerekKeyOption: C
Feb 4, 2023

B - wrong - SQS has one tiem message delivery, once read by a customer it will not be available anymore

mrbig00
Feb 16, 2023

Wrong. The messages are still available after reading them (they do have a visibility timeout, though). But in order to disappear from the queue, they need to be deleted. Altogether, SQS is not the answer to this question.

n_d1Option: C
Aug 18, 2023

https://aws.amazon.com/ru/blogs/database/dynamodb-streams-use-cases-and-design-patterns/

Dgix
Oct 20, 2023

A. Kinesis is not an option here.

auxwwwOption: A
Jul 10, 2024

A - if order of delivery is not important. EventBus can archive events as well for replay C - Incorrect, You might as well enable Kinesis Streams On the Table instead. Sounds like an unnecessary engineering effort and twice the cost to have two streams - DDB Change Stream + Kinesis Data Stream