exam questions

Exam AZ-303 All Questions

View all questions & answers for the AZ-303 exam

Exam AZ-303 topic 6 question 10 discussion

Actual exam question from Microsoft's AZ-303
Question #: 10
Topic #: 6
[All AZ-303 Questions]

HOTSPOT -
You have an Azure Service Bus and 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.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:

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
J4U
Highly Voted 3 years, 11 months ago
Given answer is correct: 4 & 1 Unread Messages are retained until deleted manual deleted because dead lettering is enabled. Messages once read is deleted immediately.
upvoted 9 times
max_n
3 years, 10 months ago
yup check this https://www.examtopics.com/exams/microsoft/az-300/view/25/
upvoted 1 times
...
...
tongtong
Most Recent 3 years, 10 months ago
the answer is correct. first one will go to DLQ, second one will wait in 5 mins.
upvoted 1 times
...
lyx
3 years, 10 months ago
both options are retained until manually deleted. https://docs.microsoft.com/en-us/azure/service-bus-messaging/message-expiration
upvoted 4 times
...
tteesstt
3 years, 11 months ago
Deleted Immediately vs Remained Until It Is Deleted Manually - it depends on what you are using. For example, with Azure Functions, by default message will be deleted when read. You can also make it so you have to do it manually. If you use Azure Portal and send a message, it will be deleted when you read it (also via Portal). It can go either way. I think I'd say "Deleted Immediately".
upvoted 1 times
Beuz
3 years, 4 months ago
If you change the default configuration to complete the message manually, it probably uses the 'peek' to receive the message under the hood, giving you control on how to handle the message.
upvoted 1 times
...
...
syu31svc
3 years, 11 months ago
https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-dead-letter-queues#the-dead-letter-queue There's no automatic cleanup of the DLQ. Messages remain in the DLQ until you explicitly retrieve them from the DLQ and complete the dead-letter message. 1st drop down is retained until deleted 2 hours to live so once read after the first hour the message has one more hour 2nd drop down is deleted after one hour
upvoted 3 times
...
leo_az300
3 years, 11 months ago
why Q2 is also "retained until it is deleted manually" in below answers? The purpose of the dead-letter queue is to hold messages that can't be delivered to any receiver, or messages that couldn't be processed. In Q2, the message is processed and read, it should not be processed to deal letter queue. as far as i understand, it should be deleted afterwards.
upvoted 1 times
goodengo
3 years, 11 months ago
The purpose of "Lock" and "retention" is to make sure the message will be processed finally. So if an application does not call deleteMessage explicitly, Service Bus will still regard this message as "unread" and leave it in the queue until next read or dead. So Q2 is "retained until manually deleted"
upvoted 2 times
...
...
thelue
4 years ago
there are 2 pick mode - pick lock (as default mode in service bus queue) - pick delete So, in this question: 1. retained until it is deleted manually is correct 2. after taking the message, we have to proactive to delete the message=> wrong answer
upvoted 4 times
...
aut0pil0t
4 years ago
1. written, never read - retained until it is deleted manually (retained in the dead-letter queue) 2. written, read - retained until it is deleted manually (retained in the dead-letter queue) Queue messages are not automatically deleted upon any action. Deletions are manual and are explicitly implemented at the receiver application.
upvoted 3 times
...
rdemontis
4 years ago
correct. the message remain in the dead letter queue until it is deleted manually.
upvoted 1 times
...
puka
4 years ago
so what? c and a
upvoted 1 times
...
muralitharan0202
4 years, 1 month ago
https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-dead-letter-queues#the-dead-letter-queue
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 ...