nerdexam
Microsoft

AZ-220 · Question #67

You have 100 devices that connect to an Azure IoT hub named Hub1. The devices connect by using a symmetric key. You deploy an IoT hub named Hub2. You need to migrate 10 devices from Hub1 to Hub2…

The correct answer is B. Add a desired property to the device twin of Hub1. Recreate the device identity on Hub2. Desired properties. Used along with reported properties to synchronize device configuration or The solution back end can set desired properties, and the device app can read them. The device app can also receive notifications of changes in the desired properties…

Provision and manage devices

Question

You have 100 devices that connect to an Azure IoT hub named Hub1. The devices connect by using a symmetric key. You deploy an IoT hub named Hub2. You need to migrate 10 devices from Hub1 to Hub2. The solution must ensure that the devices retain the existing symmetric key. What should you do?

Options

  • AAdd a desired property to the device twin of Hub2. Update the endpoint of the 10 devices to use
  • BAdd a desired property to the device twin of Hub1. Recreate the device identity on Hub2.
  • CRecreate the device identity on Hub2. Update the endpoint of the 10 devices to use Hub2.
  • DDisable the 10 devices on Hub1. Update the endpoint of the 10 devices to use Hub2.

How the community answered

(35 responses)
  • A
    6% (2)
  • B
    77% (27)
  • C
    14% (5)
  • D
    3% (1)

Explanation

Desired properties. Used along with reported properties to synchronize device configuration or The solution back end can set desired properties, and the device app can read them. The device app can also receive notifications of changes in the desired properties. https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-device-twins

Topics

#device migration#symmetric key#device identity#IoT Hub

Community Discussion

No community discussion yet for this question.

Full AZ-220 Practice