exam questions

Exam AZ-220 All Questions

View all questions & answers for the AZ-220 exam

Exam AZ-220 topic 2 question 8 discussion

Actual exam question from Microsoft's AZ-220
Question #: 8
Topic #: 2
[All AZ-220 Questions]

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
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
The registration ID is used to uniquely identify a device registration with the Device Provisioning Service. The device ID must be unique in the provisioning service
ID scope. Each device must have a registration ID.
Note: An individual enrollment is an entry for a single device that may register. Individual enrollments may use either X.509 leaf certificates or SAS tokens (from a physical or virtual TPM) as attestation mechanisms. The registration ID in an individual enrollment is alphanumeric, lowercase, and may contain hyphens.
Reference:
https://docs.microsoft.com/en-us/azure/iot-dps/concepts-service#enrollment

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Mardy
Highly Voted 4 years, 9 months ago
Ans is A Registration ID is a required field
upvoted 25 times
Bengkel
4 years, 8 months ago
When adding an enrollment the device ID should be provided, during provisioning the registration ID is required. I agree answer should be A.
upvoted 5 times
dinesh_tng
4 years ago
Device ID is optional, whereas registration ID is mandatory. If Device ID is not provided, it is autofill by Registration ID. I agree answer should be A.
upvoted 6 times
pdeng
2 years, 4 months ago
Reference to https://learn.microsoft.com/en-us/azure/iot-dps/media/quick-create-simulated-device-symm-key/create-individual-enrollment-nodejs.png
upvoted 1 times
...
...
...
LiamRT
4 years, 3 months ago
yes, but the Reg. ID is not a 'detail from the enrollment'. B, Primary Key is correct IMO.
upvoted 2 times
...
ADC88
4 years ago
Correct and confirmed here: https://docs.microsoft.com/en-us/rest/api/iot-dps/createorupdateindividualenrollment/createorupdateindividualenrollment#request-body
upvoted 4 times
...
...
redSandton
Highly Voted 4 years, 9 months ago
I would say the answer is A , Registration ID is mandatory https://docs.microsoft.com/en-us/azure/iot-dps/concepts-device
upvoted 9 times
...
satishk4u
Most Recent 2 years, 10 months ago
Ans is A Registration ID for individual device enrollment
upvoted 1 times
...
[Removed]
2 years, 11 months ago
I think the question wants to say "which field is mandatory in 'Add enrollment screen'". I that case, only registration id is mandatory. Very confusing question, I totally agree.
upvoted 1 times
...
dinesh_tng
3 years, 10 months ago
It shall be B. Reason - Device Enrollment is already done, now need Primary Key which will be used to create SAS token
upvoted 2 times
...
Ashwinee
4 years, 1 month ago
Confusing question, question says which details is required, then ans is A. but to auto provision device id is used !
upvoted 1 times
...
SanjuB
4 years, 2 months ago
The Device Identity of the IoT Hub Is the correct one. Checked the documents and couple of other sites.
upvoted 1 times
...
Exterminator1512
4 years, 3 months ago
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 GIven answer is correct Too much confusion in the comments
upvoted 3 times
...
RowanX
4 years, 3 months ago
Answer B is correct. The RegID will be used to generate a symmetric key (e.g. the primary and secondary key) which will be used to authenticate with the DPS during provisioning.
upvoted 2 times
...
MasDen
4 years, 4 months ago
Answer is B. Registration ID is a device identifier not enrollment group, so it is not A. "Open the enrollment and copy the value of your generated Primary Key." https://docs.microsoft.com/en-us/azure/iot-dps/how-to-legacy-device-symm-key
upvoted 2 times
...
rjdask
4 years, 6 months ago
A and/or B for a symmetric device. https://docs.microsoft.com/bs-latn-ba/azure/iot-dps/quick-create-device-symmetric-key-python#prepare-the-device-provisioning-code
upvoted 1 times
...
Sudipta3009
4 years, 7 months ago
Definitely A is the Answer
upvoted 7 times
...
angelsrp
4 years, 9 months ago
Ans is A: https://docs.microsoft.com/en-us/azure/iot-dps/about-iot-dps
upvoted 7 times
...
dcpavelescu
4 years, 9 months ago
I will go with A) as "registration ID" is a mandatory field when adding a device individual enrollment in DPS
upvoted 8 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago