New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft AZ-204 Exam - Topic 2 Question 5 Discussion

Actual exam question for Microsoft's AZ-204 exam
Question #: 5
Topic #: 2
[All AZ-204 Questions]

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?

Show Suggested Answer Hide Answer
Suggested Answer: A

A service bus instance has already been created (Step 2 below). Next is step 3, Create a Service Bus queue.

Note:

Steps:

Step 1: # Create a resource group

resourceGroupName="myResourceGroup"

az group create --name $resourceGroupName --location eastus

Step 2: # Create a Service Bus messaging namespace with a unique name

namespaceName=myNameSpace$RANDOM

az servicebus namespace create --resource-group $resourceGroupName --name $namespaceName --location eastus

Step 3: # Create a Service Bus queue

az servicebus queue create --resource-group $resourceGroupName --namespace-name $namespaceName --name BasicQueue

Step 4: # Get the connection string for the namespace

connectionString=$(az servicebus namespace authorization-rule keys list --resource-group $resourceGroupName --namespace-name $namespaceName --name RootManageSharedAccessKey --query primaryConnectionString --output tsv)


https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-quickstart-cli

Contribute your Thoughts:

0/2000 characters
Meghan
4 months ago
Not convinced this will work as expected.
upvoted 0 times
...
Ulysses
4 months ago
Totally agree with Carli on this one!
upvoted 0 times
...
Paulina
4 months ago
Wait, are we sure about the pricing tier?
upvoted 0 times
...
Polly
5 months ago
I think Option C is better for message storage.
upvoted 0 times
...
Carli
5 months ago
Option B seems like the right choice for this setup.
upvoted 0 times
...
Dahlia
5 months ago
I’m leaning towards Option C, but I wish I had more confidence in the differences between the commands listed.
upvoted 0 times
...
Thurman
5 months ago
I feel like I’ve seen commands that start with "az servicebus" in our study materials, but I can't remember the full command.
upvoted 0 times
...
Lenora
5 months ago
I think it might be related to creating a queue or topic, but I'm not entirely sure which option corresponds to that.
upvoted 0 times
...
Della
5 months ago
I remember we practiced a similar question about configuring Azure Service Bus, but I can't recall the exact command syntax.
upvoted 0 times
...
Van
5 months ago
Okay, I think I've got this. The key is looking for when the company prioritizes recruiting new agents over actually selling the product. If they offer more rewards for bringing in new recruits than for product sales, that's a red flag for a pyramid scheme. I'll keep an eye out for that in the answer choices.
upvoted 0 times
...
Geraldo
5 months ago
I've got a strategy for this one. I'll carefully read through the answer choices and try to eliminate the ones that don't seem to match the description of the Versions tab.
upvoted 0 times
...
Ronald
5 months ago
I'm a little confused on this one. I know the Contact Delete process would remove data, but I'm not sure about the specific locations. I'll have to carefully read through the answer choices to figure this out.
upvoted 0 times
...
Earnestine
5 months ago
I'm pretty sure this is asking about a component of Cisco's Unified Mobility solution, so I'll focus on the options related to that.
upvoted 0 times
...
Matt
5 months ago
I think WSDL and XML Schema are definitely part of the SOAP standards, but I'm not too sure about WADL... wasn't that more for REST?
upvoted 0 times
...

Save Cancel