What does the command return?
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?
A . the Device Disconnected events
B . the device twins
C . the Connections logs
D . the device credentials
Answer: A
Explanation:
The IoT Hub publishes the Microsoft.Devices.DeviceDisconnected event type, which is published when a device is disconnected from an IoT hub.
Reference: https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-event-grid#event-types
Latest AZ-220 Dumps Valid Version with 88 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Subscribe
Login
0 Comments
Inline Feedbacks
View all comments