You are developing a veterinary clinic management system that synchronizes patient health records. The system uses an Azure Service Bus queue named patient-sync to distribute updates (with an average payload size of ) to a clinic database. You are implementing a .NET console application that processes these messages.
The solution must meet the following requirements:
- Synchronize messages with at-least-once delivery guarantees. If the console application crashes during processing, the message must remain in the queue for subsequent processing.
- Configure client authentication using a Shared Access Signature (SAS) token that restricts the console application to only receiving and processing messages from the patient-sync queue, with no permissions to send messages or manage the queue.
Which two configuration settings should you apply? (Select two.)
- Set the ReceiveMode of ServiceBusProcessorOptions to ServiceBusReceiveMode.PeekLock.Answer
- Generate a SAS token with only the Listen permission scoped to the patient-sync queue.Answer
- CSet the ReceiveMode of ServiceBusProcessorOptions to ServiceBusReceiveMode.ReceiveAndDelete.
- DGenerate a SAS token with Manage, Send, and Listen permissions scoped to the Service Bus namespace.