exam questions

Exam AZ-220 All Questions

View all questions & answers for the AZ-220 exam

Exam AZ-220 topic 5 question 10 discussion

Actual exam question from Microsoft's AZ-220
Question #: 10
Topic #: 5
[All AZ-220 Questions]

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.

  • A. From the Diagnostics settings of the IoT hub, select Archive to a storage account.
  • B. Collect the DeviceTelemetry, Connections, and Routes logs.
  • C. Collect all metrics.
  • D. From the Diagnostics settings of the IoT hub, select Send to Log Analytic.
  • E. Collect the JobsOperations, DeviceStreams, and FileUploadOperations logs.
Show Suggested Answer Hide Answer
Suggested Answer: 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:

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

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
tita_tovenaar
3 years, 11 months ago
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
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...