AZ-220 Exam QuestionsBrowse all questions from this exam

AZ-220 Exam - Question 120


You have 1,000 devices that connect to an Azure IoT hub.

You discover that some of the devices fail to send data to the IoT hub.

You need to ensure that you can use Azure Monitor to troubleshoot the device connectivity issues.

Which two actions should you perform? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Show Answer
Correct Answer: BD

BD

The IoT Hub resource logs connections category emits operations and errors having to do with device connections. The following screenshot shows a diagnostic setting to route these logs to a Log Analytics workspace:

Exam AZ-220 Question 120

Note: Azure Monitor: Route connection events to logs:

IoT hub continuously emits resource logs for several categories of operations. To collect this log data, though, you need to create a diagnostic setting to route it to a destination where it can be analyzed or archived. One such destination is Azure Monitor Logs via a Log Analytics workspace, where you can analyze the data using Kusto queries.

Reference:

https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-troubleshoot-connectivity

Discussion

1 comment
Sign in to comment
tita_tovenaar
Jun 29, 2021

Answers are correct. D is clear, see reference. C and E are basically nonsense, can be discarded. A is a valid option for trouble-shooting, but not with Azure Monitor. It is for offline analysis, ref. https://docs.microsoft.com/en-us/azure/iot-hub/monitor-iot-hub