nerdexam
Microsoft

AZ-204 · Question #497

A company is developing a solution that allows smart refrigerators to send temperature information to a central location. The solution must receive and store messages until they can be processed. You

The correct answer is B. New-AzureRMServiceBusQueue -ResourceGroupName fridge-rg -NamespaceName fridge-ns -Name fridge-q -EnablePartitioning $False. The question states that the Azure Service Bus namespace has already been created (by providing a name, pricing tier, subscription, resource group, and location). The next required step is to create a Queue within that namespace so that messages from the smart refrigerators can b

Submitted by rachelw· Mar 30, 2026Implement Azure messaging solutions / Develop message-based solutions using Azure Service Bus

Question

A company is developing a solution that allows smart refrigerators to send temperature information to a central location. The solution must receive and store messages 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.

Exhibits

AZ-204 question #497 exhibit 1
AZ-204 question #497 exhibit 2
AZ-204 question #497 exhibit 3

Options

  • Aaz group create --name fridge-rg --location fridge-loc
  • BNew-AzureRMServiceBusQueue -ResourceGroupName fridge-rg -NamespaceName fridge-ns -Name fridge-q -EnablePartitioning $False
  • CconnectionString=$(az servicebus namespace authorization-rule keys list --resource-group fridge-rg --namespace-name fridge-ns --name RootManageSharedAccessKey --query primaryConnectionString --output tsv)
  • Daz servicebus namespace create --resource-group fridge-rg --name fridge-ns --location fridge-loc

How the community answered

(46 responses)
  • A
    4% (2)
  • B
    78% (36)
  • C
    7% (3)
  • D
    11% (5)

Explanation

The question states that the Azure Service Bus namespace has already been created (by providing a name, pricing tier, subscription, resource group, and location). The next required step is to create a Queue within that namespace so that messages from the smart refrigerators can be received and stored until processed. Option B uses the PowerShell command 'New-AzureRMServiceBusQueue' to create a queue within the existing namespace, which directly fulfills the requirement to store messages until they can be processed.

Topics

#Azure Service Bus#Message Queuing#Azure CLI#PowerShell

Community Discussion

No community discussion yet for this question.

Full AZ-204 Practice