QuestionQ28

Connect to and consume Azure services

You are designing an Azure Function to process orders from a new Azure Service Bus queue.

You need to ensure that messages are not processed more than once and that failed messages are retained for investigation.

Which two actions should you implement? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Choose two
  • A Include a dead-letter handling process.
  • B Process orders by using an HTTP trigger.
  • C Enable duplicate detection on the queue.
  • D Enable sessions on Service Bus.
Explanation

Azure Service Bus duplicate detection records message IDs for a configured window and discards duplicate submissions, supporting effectively once-only delivery for that window. A dead-letter handling process preserves messages that cannot be processed in the dead-letter queue so they can be investigated.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!