StudyByteLearn
← AZ-305: Azure Infrastructure Solutions
AZ-305 · Integrated architecture scenarios · Application architecture

Practice question 392 of 400 · hard

A worker commits an order update to an external database and crashes before acknowledging the message. On retry, which protection prevents a duplicate business update?

Choose the single best answer.

  1. A.Increase message retention without changing business update logic
  2. B.Assume broker duplicate detection suppresses every consumer retry forever
  3. C.Application idempotency or an appropriate transactional design around the side effect
  4. D.Assume acknowledgement guarantees exactly-once effects before it occurs
Show the answer and explanation

✓ Correct answer

  • Application idempotency or an appropriate transactional design around the side effect

Redelivery after a crash can repeat the external side effect. Application idempotency or coordinated transaction design addresses that window. Acknowledgement is incomplete, broker deduplication is not a universal side-effect guarantee, and longer retention does not prevent duplicate updates. Source guide: PDF page(s) 66, 69.

Read the source reference

This item is flagged for content review.

Read and review here, or open the app to practise and save your results on this device.

Unofficial study aid; not affiliated with or endorsed by Microsoft. Original practice questions are not real examination questions and do not guarantee an exam result.