You manage a cloud service that utilizes an Azure Service Bus queue.
You need to ensure that messages that are never consumed are retained.
What should you do?
A.
Run the following Azure PowerShell cmdlet: New-AzureSchedulerStorageQueueJob
B.
From the Azure portal, create a new queue named Dead-Letter.
C.
In the Azure portal, select the MOVE TO THE DEAD-LETTER SUBQUEUE option for expired messages.
D.
Run the following Azure PowerShell cmdlet: Set-AzureServiceBus
Explanation:
Explanation/Reference:
C
Dead lettering, which is only supported by Service Bus queues, can be useful for isolating messages that cannot be processed successfully by the receiving application or when messages cannot reach their destination due to an expired time-to-live (TTL) property.
https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-dead-letter-queues
Expired messages can optionally be moved to a dead-letter queue by setting the EnableDeadLetteringOnMessageExpiration property, or checking the respective box in the portal.
https://docs.microsoft.com/en-us/azure/service-bus-messaging/message-expiration#entity-level-expiration