Azure IoT Device Monitoring Solution for Sensor Connectivity Alerts | Exam AZ-220

Azure IoT Device Monitoring Solution

Question

You are operating an industrial IoT infrastructure solution of a chemical plant with sensors to monitor possible NH3 contamination in the air.

The telemetry data from the sensors are sent to an IoT Hub.

You have to build a device monitoring solution that triggers alerts immediately when any of the sensors lose connection.

You want to solve the problem by Azure services like Azure Monitor or Event Grid.

Which one of the two services are you recommended to choose and why?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

Correct Answer: D.

Option A is incorrect because using Event Grid requires integration with other Azure services (e.g.

Function App) to deliver notifications.

While Azure Monitor is easier to set up, it doesn't provide the required low latency and device-level tracking.

Option B is incorrect because Azure Monitor is capable of tracking individual devices.

With Azure Monitor, you can use a metric, Connected devices, to monitor the number of devices connected.

Option C is incorrect because it is the Event Grid which has the DeviceConnected and DeviceDisconnected events to which the critical devices can subscribe to.

There is no such feature in Azure Monitor.

Option D is CORRECT because Event Grid is capable of tracking connect and disconnect events for individual devices and to use it to send per-device notifications, with low response time.

This is the recommended choice for production environments.

References:

Based on the given scenario, the recommended Azure service to use for building the device monitoring solution that triggers alerts immediately when any of the sensors lose connection is Azure Monitor.

Azure Monitor is a monitoring service that provides a unified view of monitoring data from various sources, including Azure resources, applications, and operating systems. It also provides sophisticated alerting capabilities, which makes it a suitable choice for monitoring IoT devices.

Option B states that Azure Monitor should be chosen because of its ability to track individual devices. This is true because Azure Monitor provides device-level monitoring for Azure IoT Hub devices. It can track individual devices, their properties, and metrics such as message count, message size, and device connections. This allows for detailed monitoring and troubleshooting of individual devices in the IoT solution.

Option C states that Azure Monitor should be chosen because it has predefined DeviceConnected/Disconnected events for the devices to subscribe to. This is also true because Azure Monitor provides a set of predefined metrics and events for monitoring IoT Hub devices, including device connection status. This allows for quick and easy setup of monitoring and alerts for device connection status.

Option A states that Event Grid should be chosen because of its easier integration with IoT Hub. While Event Grid can integrate with IoT Hub, it is primarily designed for event-based messaging between Azure services and other endpoints. In this scenario, where the goal is to monitor and track the connection status of individual devices in an IoT solution, Azure Monitor is the more suitable choice.

Option D states that Event Grid should be chosen because of its ability to track individual devices. This is not entirely accurate because Event Grid is not designed for device-level monitoring and does not provide device-specific metrics and events.

In summary, the best option is C. Choose Azure Monitor because it has predefined DeviceConnected/Disconnected events for the devices to subscribe to.