Question 65:
You have just created a device identity in your IoT Hub named , using the following CLI commands:
<pre class="brush:java;">az extension add --name azure-iot
az iot hub device-identity create
--device-id TempSensor-001
--hub-name {mytemphub-001}
</pre>
So that your device can successfully connect to the IoT hub, all you need is the device-id in your device code.
Is this statement true?
Answer options:
A.Yes B.No