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

Practice question 276 of 400 · easy

A Service Bus worker must remove a message only after successful processing and allow another attempt after a crash. Which receive mode fits?

Choose the single best answer.

  1. A.Peek Lock followed by Complete before the database operation
  2. B.Peek Lock followed by Complete after success
  3. C.Receive and Delete before processing
  4. D.Receive and Delete followed by an assumed broker rollback of SQL
Show the answer and explanation

✓ Correct answer

  • Peek Lock followed by Complete after success

Peek Lock preserves recoverability until the receiver completes the message. Receive and Delete removes at receipt, completing early can lose work on a later failure, and broker reception does not provide automatic rollback of external SQL writes. Source guide: PDF page(s) 50.

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.