Question

Difficulty: EasyAzure Portal, CLI, PowerShell, and Cloud Shell

A systems administrator wants to manage Azure resources using command-line tools from a local computer running macOS.

Which tools can the administrator install and run locally on this computer?

  1. Both Azure CLI and Azure PowerShellAnswer
  2. B
    Only Azure CLI, because Azure PowerShell is restricted to Windows operating systems
  3. C
    Only Azure PowerShell, because Azure CLI is restricted to macOS and Linux operating systems
  4. D
    Neither tool, because local Azure command-line tools require a Windows operating system

Answer

Both Azure CLI and Azure PowerShell
Both Azure CLI and Azure PowerShell are cross-platform command-line tools. They can be installed locally on Windows, macOS, and Linux operating systems, enabling administrators to manage Azure resources from their preferred environment.

Step-by-Step Solution

1
Identify the operating system of the local computer.
The local computer runs macOS.
The scenario specifies that the administrator is using macOS.
2
Determine the platform compatibility of Azure CLI and Azure PowerShell.
Both tools are cross-platform and support macOS.
Microsoft designs both Azure CLI and Azure PowerShell to be cross-platform, allowing administrators to manage Azure resources from Windows, macOS, and Linux.

Key Concept

Azure command-line tools compatibility
Estimated Time:45s
Rate this question