AWS Certified Developer – Associate — Question 57

A gaming website gives users the ability to trade game items with each other on the platform. The platform requires both users' records to be updated and persisted in one transaction. If any update fails, the transaction must roll back.
Which AWS solution can provide the transactional capability that is required for this feature?

Answer options

Correct answer: C

Explanation

The correct answer is C, as Amazon DynamoDB's Transact* operations provide atomicity for multiple reads and writes, ensuring that all operations succeed or none at all. Options A and B lack the necessary transactional capabilities, while D offers transactions but is not optimal for this specific use case of game item trading. Option E is also not suitable as Athena is primarily used for querying data rather than transactional operations.