Reducing Azure Costs for Your Company | Exam AZ-900 Solution

Removing Unused Groups in Azure AD

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 (Command-Line Interface), the support engineer should use the following tools:

A. Command Prompt: Command Prompt is a command-line interpreter on Windows operating systems. It provides a text-based interface where users can execute commands by typing them in. The Azure CLI is a command-line tool, so using Command Prompt allows the support engineer to run Azure CLI commands.

C. Windows PowerShell: Windows PowerShell is a powerful scripting environment and command-line shell that is commonly used on Windows systems. It provides a more advanced and flexible command-line experience compared to Command Prompt. Azure CLI is compatible with Windows PowerShell, and it provides additional capabilities for scripting and automation.

It's important to note that B, Azure Resource Explorer, D, Windows Defender Firewall, and E, Network and Sharing Center, are not the correct tools to run the Azure CLI.

B. Azure Resource Explorer: Azure Resource Explorer is a web-based tool provided by Microsoft Azure. It allows users to browse and explore the Azure Resource Management (ARM) resources in a subscription. However, it is not used to run the Azure CLI commands directly.

D. Windows Defender Firewall: Windows Defender Firewall is a security feature provided by Windows that monitors and controls network traffic. It is not a tool used for running the Azure CLI commands.

E. Network and Sharing Center: Network and Sharing Center is a Windows control panel feature that provides information and settings for network connections. It is not related to running the Azure CLI.

In summary, the support engineer should use Command Prompt or Windows PowerShell to run the Azure CLI commands effectively.

The Azure CLI is a command-line tool used to manage and automate Azure resources. To run the Azure CLI on a computer, you need to use a command-line interface (CLI) tool, which is a program that allows you to enter commands in a text-based format.

The support engineer should use two tools to run the Azure CLI: Command Prompt and Windows PowerShell.

Command Prompt is a command-line interface tool that comes with every Windows installation. It allows users to interact with the operating system and execute commands. To run the Azure CLI in Command Prompt, the support engineer should open a Command Prompt window and enter the appropriate Azure CLI commands.

Windows PowerShell is a more powerful command-line interface tool than Command Prompt. It provides a more flexible and extensible command-line environment for managing Windows and Azure resources. To run the Azure CLI in Windows PowerShell, the support engineer should open a PowerShell window and enter the appropriate Azure CLI commands.

Azure Resource Explorer is not a tool to run the Azure CLI, but it is a web-based tool that allows you to explore and manage Azure resources. Windows Defender Firewall and Network and Sharing Center are not relevant to running the Azure CLI.