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?

QuestionsCategory: PL-400You 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?
Admin Staff asked 4 months ago
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?

A. ReceiveMode

B. BrokeredMessage

C. EventHubReceiver

D. EventHubSender








 

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.
Reference:
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

This question is in PL-400 Microsoft Power Platform Developer Exam
For getting Microsoft Certified: Power Platform Developer Associate Certificate




Disclaimers:
The website is not related to, affiliated with, endorsed or authorized by Microsoft. 
The website does not contain actual questions and answers from Microsoft's Certification Exams.
Trademarks, certification & product names are used for reference only and belong to Microsoft.

Recommended

Welcome Back!

Login to your account below

Create New Account!

Fill the forms below to register

Retrieve your password

Please enter your username or email address to reset your password.