Exit AZ-220 Microsoft Azure IoT Developer
Question 1 of 5
0% complete
Q1 Single choice

You have 10 IoT devices that connect to an Azure IoT hub named Hub1.

From Azure Cloud Shell, you run az iot hub monitor-events --hub-name Hub1 and receive the following error message: "az iot hub: 'monitor-events' is not in the 'az iot hub' command group. See 'az iot hub -- help'."

You need to ensure that you can run the command successfully.

What should you run first?

  • A

    az iot hub monitor-feedback --hub-name Hub1

  • B

    az iot hub generate-sas-token --hub-name Hub1

  • C

    az iot hub configuration list --hub-name Hub1

  • D

    az extension add -name azure-cli-iot-ext

Previous Next