exam questions

Exam AZ-203 All Questions

View all questions & answers for the AZ-203 exam

Exam AZ-203 topic 2 question 14 discussion

Actual exam question from Microsoft's AZ-203
Question #: 14
Topic #: 2
[All AZ-203 Questions]

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.

Show Suggested Answer Hide Answer
Suggested Answer: B
# Create a Service Bus messaging namespace with a unique name. Example: namespaceName=myNameSpace$RANDOM az servicebus namespace create --resource-group $resourceGroupName --name $namespaceName --location eastus
References:
https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-quickstart-cli

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
motu
Highly Voted 5 years, 4 months ago
It should be D, a namespace has already been created.
upvoted 37 times
codebrew
5 years, 4 months ago
D is not even an answer though, its blank?
upvoted 3 times
Dann1112
5 years, 4 months ago
Letters are below their respective answer
upvoted 3 times
...
bogdan_alex
5 years, 4 months ago
the answer's text is above the letter ;)
upvoted 1 times
...
...
Larry616
4 years, 10 months ago
Where did it mention "namespace has been created" in the question?
upvoted 1 times
...
Juanlu
4 years, 7 months ago
Agree, D is the correct one !
upvoted 1 times
...
...
Iloves73g
Highly Voted 5 years, 1 month ago
"You have an existing Service Bus.", means that you namespace has already been created, you just need to add a queue . So, D is correct!
upvoted 12 times
ozigee
5 years, 1 month ago
"You create an Azure Service Bus instance by providing a name, pricing tier, subscription, resource group, and location." It's not said that it has already been created. So, B
upvoted 2 times
agoncal
5 years ago
Some dumps have that script: "You have an existing Service Bus." If that script exists on the question, then D, otherwise B
upvoted 4 times
...
...
Juanlu
4 years, 3 months ago
Exactly, I agree. Nice comment, thanks to clarify !
upvoted 2 times
...
...
MMJ
Most Recent 4 years, 2 months ago
https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-quickstart-cli
upvoted 1 times
...
Kumar1988
4 years, 3 months ago
i think B option
upvoted 1 times
...
and_p01
4 years, 6 months ago
Answer is D. Please read the question carefully: 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]? Its mean namespace is already created and the next logical step is to Create Service Bus Queue.
upvoted 3 times
...
NajamKhan
4 years, 7 months ago
"D" is the answer. Explanation: Guys, where did they say namespace create? Read the question carefully and properly "You create an Azure Service Bus instance" That's clearly mentioned, so the answer is "D".
upvoted 3 times
...
codeoptimus
4 years, 7 months ago
The answer should actually be C: 1. The resource group has already been created 2. The servicebus namespace has been created in the resource group 3. The next and logical thing is to create the queue with PS command "New-AzureRmServiceBusQueue
upvoted 1 times
mxml
4 years, 7 months ago
You mean D. The letter is below the image it points to.
upvoted 2 times
...
...
a_Ri
4 years, 9 months ago
How could B be correct? There is no such Azure location. (should be something like eastus, eastus2 etc)
upvoted 1 times
...
rod6214
4 years, 10 months ago
It shouldn't be D because question says into the requirements "pricing tier" selection and only you can configure it by creating a namespace
upvoted 1 times
...
Abbieboy
4 years, 10 months ago
options: https://vceguide.com/which-azure-cli-or-powershell-command-should-you-run/
upvoted 2 times
...
baltik5
4 years, 10 months ago
They are asking about azure CLI command. Only cli command in there is B. Other commands are Azure PoweShell.
upvoted 1 times
SunnyAU
4 years, 10 months ago
The question asks "Which Azure CLI or PowerShell command should you run?". So both CLI or Powershell answers are sufficient.
upvoted 2 times
...
...
navaneeth
4 years, 10 months ago
where did they say namespace create.Read the question properly "You create an Azure Service Bus instance"
upvoted 1 times
...
bluego78
4 years, 10 months ago
In this question is not clear if you "have just created" or "have to create" the service bus namespace.... If the service bus namespace is just created, the correct answer is CREATE A QUEUE. If the service bus namespace isn't created yet, you have to create it before to create the queue.
upvoted 1 times
dkaps06
4 years, 10 months ago
I would take it that the namespace is created. This is because the question asks to "complete the configuration", in which case D should be answer to create the queue
upvoted 1 times
...
...
mrjust
4 years, 11 months ago
Read again and this time carefully. Where does it say a namespace has been created ? There are two versions of this question. The given answer is correct, in another version of the question a namespace is already created. again dont blindly questions to not be tweaked
upvoted 3 times
...
minukobba
4 years, 11 months ago
A and B is same answer, isn't it?
upvoted 2 times
novice25
4 years, 8 months ago
No A is wrong --namespacename is used while creating queue not service bus namespace
upvoted 1 times
...
...
nikos2001
4 years, 11 months ago
You create an Azure Service Bus instance BY PROVIDING a name, pricing tier, subscription, resource group, and location You don't provide pricing tier for queues, you do it for namespaces
upvoted 1 times
...
godsbane
4 years, 12 months ago
When creating a new Service Bus Instance, you HAVE to create a namespace too. So the namespace is already created, which means the answer should be D. : New-AzureRmServiceBusQueue.
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...