exam questions

Exam AZ-203 All Questions

View all questions & answers for the AZ-203 exam

Exam AZ-203 topic 5 question 3 discussion

Actual exam question from Microsoft's AZ-203
Question #: 3
Topic #: 5
[All AZ-203 Questions]

You are creating a hazard notification system that has a single signaling server which triggers audio and visual alarms to start and stop.
You implement Azure Service Bus to publish alarms. Each alarm controller uses Azure Service Bus to receive alarm signals as part of a transaction. Alarm events must be recorded for audit purposes. Each transaction record must include information about the alarm type that was activated.
You need to implement a reply trail auditing solution. Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

  • A. Assign the value of the hazard message MessageId property to the DeliveryCount property.
  • B. Assign the value of the hazard message SequenceNumber property to the DeliveryCount property.
  • C. Assign the value of the hazard message MessageId property to the SequenceNumber property.
  • D. Assign the value of the hazard message MessageId property to the CorrelationId property.
  • E. Assign the value of the hazard message SessionID property to the SequenceNumber property..
  • F. Assign the value of the hazard message SessionID property to the ReplyToSessionId property.
Show Suggested Answer Hide Answer
Suggested Answer: DF 🗳️
D: CorrelationId: Enables an application to specify a context for the message for the purposes of correlation; for example, reflecting the MessageId of a message that is being replied to.
F: ReplyToSessionId: This value augments the ReplyTo information and specifies which SessionId should be set for the reply when sent to the reply entity.
Incorrect Answers:

A, B: DeliveryCount -
Number of deliveries that have been attempted for this message. The count is incremented when a message lock expires, or the message is explicitly abandoned by the receiver. This property is read-only.

C, E: SequenceNumber -
The sequence number is a unique 64-bit integer assigned to a message as it is accepted and stored by the broker and functions as its true identifier. For partitioned entities, the topmost 16 bits reflect the partition identifier. Sequence numbers monotonically increase and are gapless. They roll over to 0 when the 48-
64 bit range is exhausted. This property is read-only.
References:
https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-messages-payloads

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Cornholioz
Highly Voted 4 years, 6 months ago
Given answer correct. CorrelationId and ReplyToSessionId are meant for this purpose. To correlate and to record SessionID value in the reply. The rest them (DeliveryCount and SequenceNumber) are reserved for their own purposes like the names suggest and are hence made read-only too.
upvoted 6 times
...
HexWr
Highly Voted 4 years, 6 months ago
As per the docs, DeliveryCount and SequencyNumber are read-only, so the given answer must be correct
upvoted 5 times
...
cbn
Most Recent 4 years, 4 months ago
Given answer is correct. However, option F should have been the other way round like below: Assign the value of the hazard message "ReplyToSessionId" property to the "SessionID" property.
upvoted 1 times
...
santosh_rajput
4 years, 5 months ago
Answers are correct.
upvoted 2 times
...
JPsukum
4 years, 8 months ago
why not B & E is correct answer ? Could see B & E in few other question sets..
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...