Question

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

An IT department is establishing administrative guidelines for its cloud management team. The team uses a mix of local workstations running Linux and Windows, as well as thin clients with web-only access. Which two statements accurately describe the requirements, capabilities, or limitations of Azure management tools for this team? Select two.

  1. Both Azure CLI and Azure PowerShell can be installed and executed locally on Linux, macOS, and Windows operating systems.Answer
  2. To use Azure Cloud Shell, a user must have an associated Azure Storage account configured with a file share to persist files across sessions.Answer
  3. C
    Azure PowerShell cmdlets can only be executed locally on Windows-based operating systems, requiring Linux users to use Azure CLI exclusively.
  4. D
    Azure Cloud Shell is pre-installed on all Windows and macOS operating systems, allowing offline management of Azure resources without web browser access.

Answer

The correct statements are that both Azure CLI and Azure PowerShell can be installed and executed locally on Linux, macOS, and Windows operating systems, and that to use Azure Cloud Shell, a user must have an associated Azure Storage account configured with a file share to persist files across sessions.
The correct options are the statements regarding cross-platform support and the storage account requirement for Azure Cloud Shell. Both Azure CLI and Azure PowerShell are cross-platform command-line tools that can be installed on Windows, macOS, and Linux. Additionally, Azure Cloud Shell requires an Azure Storage account to mount a file share, which persists files in the user's home directory across different sessions.

Step-by-Step Solution

1
Evaluate the cross-platform capabilities of local command-line tools.
Confirm that both Azure CLI and Azure PowerShell (built on PowerShell Core) are cross-platform and run on Windows, macOS, and Linux.
This determines if the statement about local installation is correct and if local PowerShell is restricted to Windows.
2
Evaluate the requirements and architecture of Azure Cloud Shell.
Confirm that Azure Cloud Shell requires an Azure Storage account to map a file share for file persistence, and that it is a browser-accessible, cloud-hosted tool, not a local offline application.
This distinguishes between the cloud-hosted shell requirements and false claims about local pre-installation or offline execution.

Key Concept

Azure command-line management tools and Cloud Shell compatibility/requirements
Rate this question