ExamQuestions.com

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

Microsoft

Microsoft Azure IoT Developer (AZ-220)

33 / 125

Question 33:

You need to connect your IoT device to the IoT Hub by using the open-source SDKs. You’ve got a script as a template, which you need to customize with the connection method to link your device to the device identity: 
<pre class="brush:java;">...
# The client object used to interact with your Azure IoT hub
device_client = IoTHubDeviceClient.create_&lt;...insert code here...&gt;
# Connect the client.
await device_client.connect()
... </pre>
Which is not a valid connection method?

Answer options:

A.… from_x509_certificate
B.… from_connection _string
C.… from_primary_key
D.… from_symmetric_key