nerdexam
Microsoft

AZ-220 · Question #104

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…

The correct answer is B. No. 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…

Implement IoT Edge

Question

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 ProductInfo property of ModuleClient. Does this meet the goal?

Options

  • AYes
  • BNo

How the community answered

(37 responses)
  • A
    16% (6)
  • B
    84% (31)

Explanation

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

Topics

#IoT Edge module#device ID#environment variables#module identity

Community Discussion

No community discussion yet for this question.

Full AZ-220 Practice