AZ-204 · Question #346
A company is developing a solution that allows smart refrigerators to send temperature information to a central location. You have an existing Service Bus. The solution must receive and store message
The correct answer is A. az servicebus queue create --resource-group fridge-rg --namespace-name fridge-ns --name fridge-q. Option A is correct because after creating a Service Bus namespace (which was already done by providing name, pricing tier, subscription, resource group, and location), the next required step is to create a queue within that namespace to receive and store messages until they can
Question
Options
- Aaz servicebus queue create --resource-group fridge-rg --namespace-name fridge-ns --name fridge-q
- BNew-AzureRmResourceGroup -Name fridge-rg -Location fridge-loc
- CNew-AzureRmServiceBusNamespace -ResourceGroupName fridge-rg -NamespaceName fridge-loc -Location fridge-loc
- Dconnectionstring=$) az servicebus namespace authorization-rule keys list --resource-group fridge-rg --fridge-ns fridge-ns --query primaryConnectionString --output tsv)
How the community answered
(34 responses)- A76% (26)
- B15% (5)
- C6% (2)
- D3% (1)
Explanation
Option A is correct because after creating a Service Bus namespace (which was already done by providing name, pricing tier, subscription, resource group, and location), the next required step is to create a queue within that namespace to receive and store messages until they can be processed. The command 'az servicebus queue create' correctly targets the existing namespace (fridge-ns) within the resource group (fridge-rg) and creates a named queue (fridge-q) that will buffer messages from the smart refrigerators.
Topics
Community Discussion
No community discussion yet for this question.