Multiple Choices
Answer (Choose 1 answer)
A development team is building a game where players can buy items with virtual coins. For every virtual coin bought by a user, both the players table as well as the items table in DynamodDB need to be updated simultaneously using an all-or-nothing operation.
As a developer associate, how will you implement this functionality?
A. Capture the transactions in the items table using DynamoDB streams and then sync with the players table
B. Capture the transactions in the players table using DynamoDB streams and then sync with the items table
C. Use TransactWriteltems API of DynamoDB Transactions
D. Use BatchWriteltem API to update multiple tables simultaneously