Question of the Day

A fresh Microsoft Azure Fundamentals (AZ-900) question every day — build the habit.

An administrator wants to use the Azure CLI locally on a Windows 11 computer to manage cloud resources. Which action should the administrator take?

  1. A
    Deploy a Linux virtual machine, as the Azure CLI cannot run natively on Windows.
  2. B
    Use the Azure Portal, because Windows 11 does not support command-line management tools.
  3. Install the Azure CLI directly on the Windows 11 computer.Answer
  4. D
    Install the Azure PowerShell module, as the Azure CLI is only compatible with macOS and Linux.

Answer

Install the Azure CLI directly on the Windows 11 computer.
The correct action is to install the Azure CLI directly on the Windows 11 computer. The Azure CLI is a cross-platform command-line utility that can be installed natively on Windows, macOS, and Linux, allowing administrators to manage resources using identical command syntax across all supported operating systems.

Step-by-Step Solution

1
Identify the requested tool and the client operating system.
The target tool is Azure CLI, and the client operating system is Windows 11.
This establishes the tool requirements and deployment target environment.
2
Evaluate the cross-platform capabilities of the Azure CLI tool.
The Azure CLI is cross-platform and supports native installation on Windows, macOS, and Linux.
This determines if the tool can run natively on the specified OS without virtualization or alternative toolsets.

Key Concept

Azure CLI is cross-platform and runs natively on Windows, macOS, and Linux.