exam questions

Exam AWS Certified Developer Associate All Questions

View all questions & answers for the AWS Certified Developer Associate exam

Exam AWS Certified Developer Associate topic 1 question 339 discussion

Exam question from Amazon's AWS Certified Developer Associate
Question #: 339
Topic #: 1
[All AWS Certified Developer Associate Questions]

A company is developing a serverless ecommerce web application. The application needs to make coordinated, all-or-nothing changes to multiple items in the company's inventory table in Amazon DynamoDB.

Which solution will meet these requirements?

  • A. Enable transactions for the DynamoDB table. Use the BatchWriteItem operation to update the items.
  • B. Use the TransactWriteItems operation to group the changes. Update the items in the table.
  • C. Set up a FIFO queue using Amazon SOS. Group the changes in the queue. Update the table based on the grouped changes.
  • D. Create a transaction table in an Amazon Aurora DB cluster to manage the transactions. Write a backend process to sync the Aurora DB table and the DynamoDB table.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
a15ce96
1 year, 3 months ago
Selected Answer: B
B sounds the most appropriate. As far as I remember, there's no need to enable transactions for DynamoDB. Simply useTransactWriteItems
upvoted 1 times
...
pancman
2 years, 4 months ago
Selected Answer: B
TransactWriteItems is a synchronous write operation that groups up to 100 action requests. Either all of the actions succeed, or all of them fail. https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/DynamoDB.html#transactWriteItems-property
upvoted 3 times
...
k1kavi1
2 years, 7 months ago
Selected Answer: B
https://www.examtopics.com/discussions/amazon/view/33714-exam-aws-certified-developer-associate-topic-1-question-332/
upvoted 1 times
...
kapil206001
2 years, 7 months ago
B https://www.examtopics.com/discussions/amazon/view/33714-exam-aws-certified-developer-associate-topic-1-question-332/
upvoted 1 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 ...