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 Exam PL-400 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

Comments

Currently there are no comments in this discussion, be the first to comment!


Save Cancel