You design a hazard notification system where a central signaling server publishes alarm messages to Azure Service Bus. Each alarm controller receives messages in a transaction and every transaction must be audited including which alarm type fired. To implement a reply-trail audit, which two actions should you take?
Choose an answer
Tap an option to check your answer.
Correct answer: Set the hazard message SessionId value to the ReplyToSessionId property., Set the hazard message MessageId value to the CorrelationId property..
Why this is the answer
To implement a reply-trail audit, you need to link a reply message back to its original request and potentially to a specific session. Setting the hazard message's MessageId to the CorrelationId of a reply message allows you to correlate the reply with the original request. This is a standard pattern for request-reply messaging. Setting the hazard message's SessionId to the ReplyToSessionId property of a reply message ensures that the reply is sent back to the correct session on the reply-to queue, maintaining the conversational context for auditing purposes. The other options involve incorrect property assignments that do not facilitate request-reply correlation or session-based replies. DeliveryCount and SequenceNumber are system-generated properties related to message delivery and order, not for custom correlation or session routing.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed