exam questions

Exam AWS DevOps Engineer Professional All Questions

View all questions & answers for the AWS DevOps Engineer Professional exam

Exam AWS DevOps Engineer Professional topic 1 question 165 discussion

Exam question from Amazon's AWS DevOps Engineer Professional
Question #: 165
Topic #: 1
[All AWS DevOps Engineer Professional Questions]

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?

  • A. Create an Amazon EventBridge event bus. Create a new Lambda function that uses the existing DynamoDB stream as an event source. Configure the new Lambda function to post those events to the event bus. Update the original Lambda functions to react to events in the event bus. As other applications need the events, configure the applications to use the event bus as an event source.
  • B. Create an Amazon Simple Queue Service (Amazon SOS) queue. Create a new Lambda function that uses the existing DynamoDB stream as an event source. Configure the new Lambda function to post those events to the SOS queue. Update the original Lambda functions to react to entries in the SOS queue. As other applications need the events, configure the applications to use the SOS queue as an event source.
  • C. Create an Amazon Kinesis data stream. Create a new Lambda function that uses the existing DynamoDB stream as an event source. Configure the new Lambda function to post those events to the Kinesis data stream. Update the original Lambda functions to subscribe to records in the Kinesis data stream. As other applications need the events, configure the applications to use the Kinesis data stream as an event source.
  • D. Configure the DynamoDB table to use on-demand capacity mode. Increase the memory of the Lambda functions. Configure the Lambda functions to use provisioned concurrency.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
Oleg_gol
Highly Voted 2 years, 3 months ago
Selected Answer: C
agree C https://aws.amazon.com/ru/blogs/database/dynamodb-streams-use-cases-and-design-patterns/
upvoted 6 times
...
auxwww
Most Recent 9 months, 4 weeks ago
Selected Answer: A
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
upvoted 1 times
...
Dgix
1 year, 6 months ago
A. Kinesis is not an option here.
upvoted 1 times
...
n_d1
1 year, 8 months ago
Selected Answer: C
https://aws.amazon.com/ru/blogs/database/dynamodb-streams-use-cases-and-design-patterns/
upvoted 1 times
...
DerekKey
2 years, 2 months ago
Selected Answer: C
B - wrong - SQS has one tiem message delivery, once read by a customer it will not be available anymore
upvoted 1 times
mrbig00
2 years, 2 months ago
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.
upvoted 1 times
...
...
Bulti
2 years, 3 months ago
Selected Answer: C
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.
upvoted 1 times
...
saeidp
2 years, 3 months ago
Selected Answer: B
You don't need lambda to send data from streams to kinesis stream. It can be done automatically I go with B
upvoted 1 times
saeidp
2 years, 3 months ago
Only drawback with B is if an aplication process the event data then it will be deleted from the Queue
upvoted 1 times
saeidp
2 years, 2 months ago
because of this SQS is wrong in this scenario C is the correct answere
upvoted 2 times
...
...
...
Dimidrol
2 years, 3 months ago
Selected Answer: C
C for me
upvoted 2 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago