After a cashier posts a fee, the next read of the resident balance on another path sometimes shows the old amount when using eventually consistent reads. Staff need the latest balance immediately. What should the developer select?
Select an answer to reveal the explanation.
Short Explanation
Eventual consistency is like a receipt that has not hit every branch copy yet—cashiers can see yesterday’s balance for a moment. When the counter needs the truth right now, ask DynamoDB for a strongly consistent read.
Full Explanation
DynamoDB eventually consistent reads may return stale data briefly after a write. Strongly consistent reads return the latest successful write for that item at higher cost/latency tradeoffs. For cashier flows that immediately re-read balances, strongly consistent GetItem/Query is appropriate. Disabling writes or scanning randomly does not solve read-after-write correctness.