This website uses cookies to ensure you get the best experience.
Learn more.
An application must debit one DynamoDB item and credit another atomically. It also needs bounded retries without applying the transfer twice. Which choices support this? Select 2 answers.
Published
- Use TransactWriteItems with conditions that enforce the transfer invariants.
- Create a fresh transfer identity on every timeout and debit again.
- Use an appropriate idempotent request identity within the transaction API guarantees and business deduplication requirements.
- Perform two independent writes and assume they commit or roll back together.
- Read both balances eventually consistently and skip write conditions.
Comments — 0
Sign in to comment