nerdexam
Microsoft

AZ-220 · Question #84

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…

The correct answer is B. Collect the DeviceTelemetry, Connections, and Routes logs. D. From the Diagnostics settings of the IoT hub, select Send to Log Analytic. 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: Note: Azure Monitor: Route connection events to logs: IoT hub…

Monitor, troubleshoot, and optimize IoT solutions

Question

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.

Exhibit

AZ-220 question #84 exhibit

Options

  • AFrom the Diagnostics settings of the IoT hub, select Archive to a storage account.
  • BCollect the DeviceTelemetry, Connections, and Routes logs.
  • CCollect all metrics.
  • DFrom the Diagnostics settings of the IoT hub, select Send to Log Analytic.
  • ECollect the JobsOperations, DeviceStreams, and FileUploadOperations logs.

How the community answered

(37 responses)
  • A
    11% (4)
  • B
    81% (30)
  • C
    3% (1)
  • E
    5% (2)

Explanation

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: 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. https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-troubleshoot-connectivity

Topics

#Azure Monitor#diagnostic logs#Connections log#Log Analytics

Community Discussion

No community discussion yet for this question.

Full AZ-220 Practice