nerdexam
Microsoft

AZ-204 · Question #409

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…

The correct answer is C. New-AzureRmServiceBusQueue -ResourceGroupName fridge-rg -NamespaceName fridge-ns -Name fridge-q -EnablePartitioning $False. Option C is correct because the scenario states the Service Bus namespace already exists and the solution needs to receive and store messages until they can be processed - this requires creating a Service Bus Queue, which is exactly what New-AzureRmServiceBusQueue does. A queue…

Submitted by joshua94· Mar 30, 2026Implement Azure messaging solutions - specifically configuring Azure Service Bus queues to enable reliable message storage and processing for IoT or distributed application scenarios.

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 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.

Exhibit

AZ-204 question #409 exhibit

Options

  • Aaz group create --name fridge-rg --location fridge-loc
  • BNew-AzureRmServiceBusNamespace -ResourceGroupName fridge-rg -NamespaceName fridge-ns -Location fridge-loc
  • CNew-AzureRmServiceBusQueue -ResourceGroupName fridge-rg -NamespaceName fridge-ns -Name fridge-q -EnablePartitioning $False
  • DGet-AzureRmServiceBusKey -ResourceGroupName fridge-rg -Namespace fridge-ns -Name RootManageSharedAccessKey

How the community answered

(55 responses)
  • A
    5% (3)
  • B
    4% (2)
  • C
    89% (49)
  • D
    2% (1)

Explanation

Option C is correct because the scenario states the Service Bus namespace already exists and the solution needs to receive and store messages until they can be processed - this requires creating a Service Bus Queue, which is exactly what New-AzureRmServiceBusQueue does. A queue is the appropriate messaging entity for storing messages until a consumer is ready to process them. The command targets the existing namespace (fridge-ns) within the existing resource group (fridge-rg), completing the configuration as required.

Topics

#Azure Service Bus#PowerShell CLI Commands#Message Queues#Azure Messaging Services

Community Discussion

No community discussion yet for this question.

Full AZ-204 Practice