AWS Certified Developer - Associate

AWS Certified Developer - Associate

Get started today

Ultimate access to all questions.


Question 33

A social gaming application enables users to transfer gift vouchers to one another. When a user achieves a specific milestone on the leaderboard, they receive a gift voucher, which can then be redeemed or transferred to another user. The development team needs to ensure that when a gift voucher is transferred, the transaction is captured in the database such that the records for both the sender and recipient are either updated successfully with the new gift voucher status, or no changes are made at all to maintain the original state.

Which of the following solutions represent the best-fit options to meet these requirements? (Select two)





Explanation:

Use the DynamoDB transactional read and write APIs on the table items as a single, all-or-nothing operation

You can use DynamoDB transactions to make coordinated all-or-nothing changes to multiple items both within and across tables. Transactions provide atomicity, consistency, isolation, and durability (ACID) in DynamoDB, helping you to maintain data correctness in your applications.