Challenge - 5 Problems
IoT Device Provisioning Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate1:30remaining
Understanding Device Registry Purpose
What is the primary purpose of a device registry in IoT device provisioning?
Attempts:
2 left
💡 Hint
Think about what information needs to be kept about each device before it connects.
✗ Incorrect
A device registry securely stores device identities and metadata, enabling management and authentication during provisioning.
💻 Command Output
intermediate2:00remaining
Output of Device Registration Command
What is the output of this command when registering a new device named 'sensor01' in the registry?
Command:
az iot hub device-identity create --device-id sensor01 --hub-name MyIoTHub
Attempts:
2 left
💡 Hint
Successful device creation returns device details in JSON format.
✗ Incorrect
The command creates a device identity and returns its details including deviceId, status, and authentication type.
❓ Configuration
advanced2:30remaining
Correct Device Provisioning Configuration Snippet
Which configuration snippet correctly defines a device provisioning entry with symmetric key authentication and an initial status of 'disabled'?
Attempts:
2 left
💡 Hint
Check the spelling of status and authentication method.
✗ Incorrect
Option A correctly sets status to 'disabled' and uses symmetric key authentication with a primary key.
❓ Troubleshoot
advanced2:00remaining
Troubleshooting Device Provisioning Failure
A device fails to provision and the error message is: 'Unauthorized: Device authentication failed'. What is the most likely cause?
Attempts:
2 left
💡 Hint
Authentication errors usually relate to keys or credentials.
✗ Incorrect
The error indicates the device's presented key does not match the registry's stored key, causing authentication failure.
🔀 Workflow
expert3:00remaining
Correct Order of Device Provisioning Steps
Arrange the following steps in the correct order for provisioning a new IoT device using a device registry:
Attempts:
2 left
💡 Hint
Think about what must exist before authentication and validation.
✗ Incorrect
The device identity must be created first, then the device authenticates, the provisioning service validates, and finally the device connects.