exam questions

Exam AZ-220 All Questions

View all questions & answers for the AZ-220 exam

Exam AZ-220 topic 6 question 3 discussion

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

From the Device Provisioning Service, you create an enrollment as shown in the exhibit.

You need to deploy a new IoT device.
What should you use as the device identity during attestation?

  • A. a self-signed X.509 certificate
  • B. the random string of alphanumeric characters
  • C. the HMAC-SHA256 hash of the device's registration ID
  • D. the endorsement key of the device's Trusted Platform Module (TPM)
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️
Each device uses its derived device key with your unique registration ID to perform symmetric key attestation with the enrollment during provisioning. To generate the device key, use the key you copied from your DPS enrollment to compute an HMAC-SHA256 of the unique registration ID for the device and convert the result into Base64 format.
Reference:
https://docs.microsoft.com/en-us/azure/iot-edge/how-to-auto-provision-symmetric-keys

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
tita_tovenaar
3 years, 11 months ago
indeed C. TPM and X.509 do NOT use symmetric keys so they’re out, ref https://docs.microsoft.com/en-us/azure/iot-edge/how-to-auto-provision-symmetric-keys?view=iotedge-2020-11&tabs=linux. Random characters are no option either.
upvoted 2 times
...
AnonymousJhb
4 years, 1 month ago
Correct Answer. Cli steps use hmac. https://docs.microsoft.com/en-us/azure/iot-dps/concepts-symmetric-key-attestation?tabs=azure-cli
upvoted 2 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 ...