How will the messages be presented to Client2?

You have an Azure Service Bus and two clients named Client1 and Client2.

You create a Service Bus queue named Queue1 as shown in the exhibit. (Click the Exhibit tab.)

Client1 sends messages to Queue1 as shown in the following table.

Client2 reads the messages from Queue1 at 12:01:05.

How will the messages be presented to Client2?
A . Client2 will read four messages in the following order: M3, M2, M1, and then M3.
B . Client2 will read three messages in the following order: M3, M2, and then M1.
C . Client2 will read four messages in the following order; M3, M1, M2, and then M3.
D . Client2 will read three messages in the following order: M1, M2. and then M3
E . Client2 will read three messages in the following order: M3, M1, and then M2.

Answer: B

Explanation:

Duplicate is enabled, and the duplication detection window is set to 10 minutes. The second M3 message in the queue will be discarded.

Note 1: Duplicate detection enables the sender resend the same message, and the queue or topic discards any duplicate copies.

Note 2: Queues offer First In, First Out (FIFO) message delivery to one or more competing consumers. That is, receivers typically receive and process messages in the order in which they were added to the queue, and only one message consumer receives and processes each message.

References:

https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-queues-topics-subscriptions

https://docs.microsoft.com/en-us/azure/service-bus-messaging/duplicate-detection

Latest AZ-303 Dumps Valid Version with 206 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments