Azure CLI Tools

Which Tools to Use for Azure CLI

Prev Question Next Question

Question

A support engineer plans to perform several Azure management tasks by using the Azure CLI.

You install the CLI on a computer.

You need to tell the support engineer which tools to use to run the CLI.

Which two tools should you instruct the support engineer to use? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D. E.

AC

For Windows the Azure CLI is installed via an MSI, which gives you access to the CLI through the Windows Command Prompt (CMD) or PowerShell.

https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-windows?view=azure-cli-latest

To run the Azure CLI, there are several tools available that can be used by the support engineer. However, only two of them are correct for this particular question. Here's an explanation of each tool mentioned in the question and whether it is correct or not:

A. Command Prompt: Command Prompt is a command-line interface that allows users to interact with the operating system and execute commands. It can be used to run the Azure CLI, but it is not the best tool for the job. There are other command-line interfaces that are better suited for running the Azure CLI, such as PowerShell.

B. Azure Resource Explorer: Azure Resource Explorer is a web-based tool that allows users to browse and interact with Azure resources. It is not a command-line interface and cannot be used to run the Azure CLI.

C. Windows PowerShell: Windows PowerShell is a command-line interface that is specifically designed for managing Windows environments. It is one of the recommended tools for running the Azure CLI. The support engineer should be instructed to use Windows PowerShell to run the Azure CLI.

D. Windows Defender Firewall: Windows Defender Firewall is a security tool that is used to block unauthorized access to a computer or network. It is not a tool that can be used to run the Azure CLI.

E. Network and Sharing Center: Network and Sharing Center is a tool that is used to manage network connections on a computer. It is not a tool that can be used to run the Azure CLI.

Therefore, the correct answers to this question are:

  • C. Windows PowerShell
  • (there is no second correct answer)