ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 386 - AZ-104 discussion

Report
Export

HOTSPOT

You have an Azure Service Bus.

You create a queue named Queue1. Queue1 is configured as shown in the following exhibit.

Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic.

NOTE: Each correct selection is worth one point.


Question 386
Correct answer: Question 386

Explanation:

Box 1: retained until manually deleted

Since by default PeekLock shall be enabled in Queue, so it will move to DeadLetter after 2hours and stays there until manually deleted. Messages in the dead letter queue should be deleted manually.

Box 2: deleted immediately

Once a message is pulled, it will be deleted immediately. It does not make sense to keep the message further 5 minutes "locked" in the queue. Locking the message makes sense, for the case, when processing the message from a receiver, to lock the message, to avoid processing/receiving the message simultaneously by another receiver.

The receiving client initiates settlement of a received message with a positive acknowledgment when it calls Complete at the API level. This indicates to the broker that the message has been successfully processed and the message is removed from the queue or subscription.

Reference:

https://docs.microsoft.com/en-us/azure/service-bus-messaging/message-expiration

https://docs.microsoft.com/en-us/azure/service-bus-messaging/message-transfers-locks-settlement

asked 26/09/2024
Irving Indian
30 questions
User
0 comments
Sorted by

Leave a comment first