ExamQuestions.com

Register
Login
Microsoft Azure IoT Developer (AZ-220) Exam Questions

Microsoft

Microsoft Azure IoT Developer (AZ-220)

108 / 125

Question 108:

You have around 200 field devices that need to be provisioned automatically using the Device Provisioning Service mi-dps-001. You want the devices to be randomly distributed between two existing IoT Hubs (my-hub-001, my-hub-001). You use the following CLI command to tell the DPS which hubs to connect to: 
az iot dps linked-hub create --dps-name mi-dps-001 --resource-group mi-resource-group-001 --connection-string $hubConnectionString --location westus 
You try this command to retrieve get the hubConnectionString for mi-hub-001: 
<pre class="brush:java;">az iot hub show-connection-string 
--name mi-hub-001 
--key primary 
--query connectionString 
-o tsv 
</pre>
Is that the right way to get the parameter value?

Answer options:

A.Yes
B.No