Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft PL-400 Exam - Topic 6 Question 55 Discussion

Posted by Raylene on May 28, 2022 at 12:06 PM

You are creating a Power Automate flow.

You create an Azure Service Bus listener app that receives requests from a third-party application.

When the flow calls the message queue, it must delete the message as soon as it is read.

You need to ensure that the queue is cleared properly.

Which method or class should you use?

Suggested Answer: A

ReceiveMode enumerates the values for the receive mode. The default is PeekLock.

Fields:

PeekLock: Specifies the PeekLock receive mode. This is the default value for ReceiveMode.

ReceiveAndDelete: Specifies the ReceiveAndDelete receive mode.

Note: You can specify two different modes in which Service Bus receives messages.

Receive and delete. In this mode, when Service Bus receives the request from the consumer, it marks the message as being consumed and returns it to the consumer application.

Peek lock.


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

https://docs.microsoft.com/en-us/dotnet/api/microsoft.servicebus.messaging.receivemode

Get Premium PL-400 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
13 comments · newest first
JA
Jarvis 11 months ago
I’m surprised this is even a question, it’s clearly BrokeredMessage!
CH
Charlene 11 months ago
Wait, are we sure EventHubReceiver isn't a better option?
ZA
Zachary 12 months ago
Definitely BrokeredMessage, it handles deletion right after reading.
GI
Gianna 12 months ago
I thought ReceiveMode was the way to go?
RE
Rex 1 year ago
You need to use BrokeredMessage for that.
YV
Yvette 1 year ago
I’m leaning towards BrokeredMessage too, but I wonder if there’s a better option for ensuring the message is deleted immediately after processing.
FA
Fannie 1 year ago
EventHubReceiver seems like it might be related, but I don't think it's the right class for deleting messages from a queue. I might be mixing it up with something else.
LA
Lai 1 year ago
I remember practicing a similar question where we had to manage message states in Azure Service Bus. I feel like ReceiveMode could be relevant here, but I can't recall the specifics.
NU
Nu 1 year ago
I think we might need to use BrokeredMessage for handling messages in the queue, but I'm not entirely sure if that's the right choice for deleting them right after reading.
CA
Candida 1 year ago
Okay, I think I've got this. The key is that the question is asking what the business analyst should have defined to avoid the issue described. So the decision-making process needs to be in the business analysis plan, not the project management plan. Option A is the way to go.
MI
Michael 1 year ago
Ah, I've got it! The hexadecimal code for white is #FFFFFF. That's the answer.
AN
Annabelle 1 year ago
This question seems straightforward - the key is understanding the advantages of multidimensional report writing over traditional queries. I think option B is the best answer since it directly addresses the reduced need for complex queries.
LA
Latosha 1 year ago
I remember that the calculation stages build on each other, but I'm a bit uncertain about the exact flow here.
0/2000 characters

Save Cancel