Correct Answer: Subscribe to IoT Hub Events via Azure Event Grid for device connected and disconnected events
IoT Hub publishes device lifecycle events (connected, disconnected, created, deleted) to Azure Event Grid in near-real-time. By subscribing to deviceDisconnected events, you can tr...
Correct Answer
Subscribe to IoT Hub Events via Azure Event Grid for device connected and disconnected events
Why This Answer Is Correct
IoT Hub publishes device lifecycle events (connected, disconnected, created, deleted) to Azure Event Grid in near-real-time. By subscribing to deviceDisconnected events, you can trigger an Azure Function or Logic App to send an alert immediately when a device drops offline โ without any polling.
This question evaluates your knowledge of IoT Monitoring โ a core concept tested in Microsoft Certified: Azure IoT Developer Specialty (AZ-220). Understanding IoT Monitoring is essential for designing scalable, secure, and cost-effective cloud architectures. Mastery of this topic will help you answer scenario-based questions confidently on exam day.
Your IoT Hub is dropping messages and you need to understand why. You enable resource logs and find messages with the 'DeviceNotFound' error. You also see 'MessageSizeExceeded' errors for some devices. What do these indicate?
You need to monitor the flow of individual telemetry messages through IoT Hub and downstream Azure resources to identify performance bottlenecks and track latency. Which feature should you use?
You want to audit administrative activities on your Azure IoT Hub, such as who deleted a device or modified message routes. Which resource log categories should you monitor?