Does this meet the goal?

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?
A . Yes
B. No

Answer: B

Explanation:

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.

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

Latest AZ-220 Dumps Valid Version with 88 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments