Home » Microsoft » AZ-220 » Which detail from the enrollment is required to auto provision the device by using the Device Provisioning Service?
You have an Azure IoT hub that uses a Device Provisioning Service instance.
You create a new individual device enrollment that uses symmetric key attestation.
Which detail from the enrollment is required to auto provision the device by using the Device Provisioning Service?
A. the registration ID of the enrollment
B. the primary key of the enrollment
C. the device identity of the IoT hub
D. the hostname of the IoT hub
Correct Answer: C
Explanation/Reference: Explanation:
An enrollment is the record of devices or groups of devices that may register through auto-provisioning. The enrollment record contains information about the device or group of devices, including:
the attestation mechanism used by the device the optional initial desired configuration desired IoT hub
the desired device ID
Note: Azure IoT auto-provisioning can be broken into three phases:
1. Service configuration – a one-time configuration of the Azure IoT Hub and IoT Hub Device Provisioning Service instances, establishing them and creating linkage between them.
2. Device enrollment – the process of making the Device Provisioning Service instance aware of the devices that will attempt to register in the future. Enrollment is accomplished by configuring device identity information in the provisioningservice, as either an "individual enrollment" for a single device, or a "group enrollment" for multiple devices.
3. Device registration and configuration
Reference:
https://docs.microsoft.com/en-us/azure/iot-dps/concepts-service#enrollment
The answer is A – the registration ID of the enrollment.
It is a mandatory field while creating enrollment for individual device using symmetric keys. The device identity of the IoT hub is not a mandatory field. You can specify the IoT Hub device ID to use when assigning the device. If no IoT Hub device ID is provided, the registration ID will be used.