nerdexam
Microsoft

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

Submitted by diego_uy· Mar 30, 2026Implement Azure messaging solutions - configuring Service Bus queues to enable reliable message storage and processing for distributed and IoT applications

Question

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 until they can be processed. You create an Azure Service Bus Instance by providing a name, pricing tier, subscription, resource group, and location. You need to complete the configuration. Which Azure CLI or PowerShell command should you run? A. B. C. D.

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)
  • A
    76% (26)
  • B
    15% (5)
  • C
    6% (2)
  • D
    3% (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

#Azure Service Bus#Azure CLI#Message Queuing#IoT Messaging

Community Discussion

No community discussion yet for this question.

Full AZ-204 Practice