nerdexam
Microsoft

AZ-220 · Question #37

AZ-220 Question #37: Real Exam Question with Answer & Explanation

Sign in or unlock AZ-220 to reveal the answer and full explanation for question #37. The question stem and answer options stay visible for context.

Question

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?

Options

  • Aaz iot hub monitor-feedback --hub-name Hub1
  • Baz iot hub generate-sas-token --hub-name Hub1
  • Caz iot hub configuration list --hub-name Hub1
  • Daz extension add -name azure-cli-iot-ext

Unlock AZ-220 to see the answer

You've previewed enough free AZ-220 questions. Unlock AZ-220 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full AZ-220 Practice