New Year Sale ! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft Exam AZ-220 Topic 25 Question 16 Discussion

Actual exam question for Microsoft's AZ-220 exam
Question #: 16
Topic #: 25
[All AZ-220 Questions]

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

You are performing a scheduled check of deployed IoT devices. You plan to run the following command from the Azure CLI prompt.

az iot hub query --hub-name hub1 --query-command "SELECT * FROM devices WHERE connectionState = 'Disconnected'"

What does the command return?

Show Suggested Answer Hide Answer
Suggested Answer: A

The IoT Hub publishes the Microsoft.Devices.DeviceDisconnected event type, which is published when a device is disconnected from an IoT hub.


https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-event-grid#event-types

Contribute your Thoughts:

Currently there are no comments in this discussion, be the first to comment!


Save Cancel