New Year Sale 2026! 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

Actual exam question for Microsoft's PL-400 exam
Question #: 55
Topic #: 6
[All PL-400 Questions]

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?

Show Suggested Answer Hide Answer
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

Contribute your Thoughts:

0/2000 characters
Jarvis
4 months ago
I’m surprised this is even a question, it’s clearly BrokeredMessage!
upvoted 0 times
...
Charlene
4 months ago
Wait, are we sure EventHubReceiver isn't a better option?
upvoted 0 times
...
Zachary
4 months ago
Definitely BrokeredMessage, it handles deletion right after reading.
upvoted 0 times
...
Gianna
4 months ago
I thought ReceiveMode was the way to go?
upvoted 0 times
...
Rex
5 months ago
You need to use BrokeredMessage for that.
upvoted 0 times
...
Yvette
5 months 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.
upvoted 0 times
...
Fannie
5 months 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.
upvoted 0 times
...
Lai
5 months 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.
upvoted 0 times
...
Nu
5 months 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.
upvoted 0 times
...
Candida
5 months 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.
upvoted 0 times
...
Michael
5 months ago
Ah, I've got it! The hexadecimal code for white is #FFFFFF. That's the answer.
upvoted 0 times
...
Annabelle
5 months 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.
upvoted 0 times
...
Latosha
5 months ago
I remember that the calculation stages build on each other, but I'm a bit uncertain about the exact flow here.
upvoted 0 times
...

Save Cancel