Microsoft Azure IoT Developer — Question 23
You have IoT devices that connect to an Azure IoT hub.
From IoT Hub, you create an Event subscription to be notified when devices are registered to IoT Hub. You select webhook endpoint as a handler for the Event subscription.
Which two types of Event Grid messages will be received by the webhook? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
Answer options
- A. Microsoft.Devices.DeviceCreated
- B. Microsoft.Resources.ResourceWriteSuccess
- C. Microsoft.EventGrid.SubscriptionValidationEvent
- D. Microsoft.Devices.DeviceConnected
Correct answer: A, C
Explanation
The correct answers are A and C. A (Microsoft.Devices.DeviceCreated) is sent when a new device registers with the IoT hub, and C (Microsoft.EventGrid.SubscriptionValidationEvent) is sent to confirm the validity of the subscription. Options B and D do not pertain to device registration events; B relates to resource write success and D pertains to device connectivity events.