BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft Exam AZ-220 Topic 26 Question 37 Discussion

Actual exam question for Microsoft's AZ-220 exam
Question #: 37
Topic #: 26
[All AZ-220 Questions]

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.

After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.

You are developing a custom Azure IoT Edge module.

The module needs to identify the device ID of the local device.

Solution: You configure the module to read the IOTEDGE_DEVICEID environment variable.

Does this meet the goal?

Show Suggested Answer Hide Answer
Suggested Answer: B

The Azure ID of the current device is available on the IOTEDGE_DEVICEID environment variable.

Instead read the device ID of the device twin.

Note: Device twins are JSON documents that store device state information including metadata, configurations, and conditions. Azure IoT Hub maintains a device twin for each device that you connect to IoT Hub.

Device identity properties. The root of the device twin JSON document contains the read-only properties from the corresponding device identity stored in the identity registry.


https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-device-twins

Contribute your Thoughts:

Currently there are no comments in this discussion, be the first to comment!


Save Cancel