Question

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

A startup company is defining its Azure administration strategy. The engineering team consists of developers who work on macOS, Windows, and Linux workstations. The team wants to use the exact same command-line tools across all of these operating systems without using a web browser.

Which of the following tools can be installed locally on all three operating systems to manage Azure resources? (Select two.)

  1. Azure CLIAnswer
  2. Azure PowerShellAnswer
  3. C
    Windows PowerShell
  4. D
    Azure Cloud Shell

Answer

Azure CLI and Azure PowerShell are correct because both are cross-platform command-line interfaces that can be installed locally on Windows, macOS, and Linux workstations.
Azure CLI and Azure PowerShell both support cross-platform execution and can be installed locally on Windows, macOS, and Linux operating systems, allowing developers to use identical command-line tools regardless of their local OS.

Step-by-Step Solution

1
Identify the environment constraints specified in the scenario.
The workstations run macOS, Windows, and Linux, and the tool must be a command-line interface installed locally without using a web browser.
This filters out tools that are restricted to a single operating system or require a web browser.
2
Evaluate each tool option against these constraints.
Azure CLI and Azure PowerShell support cross-platform local installations. Windows PowerShell is limited to Windows. Azure Cloud Shell is accessed via a web browser and is not installed locally.
To determine which tools satisfy all constraints.

Key Concept

Azure command-line tools (Azure CLI and Azure PowerShell) are cross-platform and can be installed locally on Windows, macOS, and Linux.
Rate this question