nerdexam
MicrosoftMicrosoft

PL-400 · Question #214

PL-400 Question #214: Real Exam Question with Answer & Explanation

The correct answer is A: ReceiveMode. ReceiveMode enumerates the values for the receive mode. The default is PeekLock. 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 w

Submitted by tyler.j· Apr 18, 2026

Question

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?

Options

  • AReceiveMode
  • BBrokeredMessage
  • CEventHubReceiver
  • DEventHubSender

Explanation

ReceiveMode enumerates the values for the receive mode. The default is PeekLock. 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. https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-queues-topics- https://docs.microsoft.com/en-us/dotnet/api/microsoft.servicebus.messaging.receivemode

Community Discussion

No community discussion yet for this question.

Full PL-400 PracticeBrowse All PL-400 Questions