Soru

Zorluk: OrtaAzure Portal, CLI, PowerShell, and Cloud Shell

A system administrator needs to manage Azure resources from a local workstation. The administrator prefers a command-line interface and needs to run commands that are structured with the 'az' prefix. The workstation runs macOS. Which tool should the administrator install locally on the workstation?

  1. A
    Azure PowerShell, because Azure CLI is restricted to Linux operating systems and cannot be installed locally on macOS.
  2. B
    Azure Cloud Shell, because command-line tools with the 'az' prefix can only be executed in a browser-based environment.
  3. Azure CLI, because it can be installed locally on macOS and uses commands starting with the 'az' prefix.Cevap
  4. D
    Azure Portal, because macOS does not support any local command-line tools for Azure administration.

Cevap

Azure CLI, because it can be installed locally on macOS and uses commands starting with the 'az' prefix.
The Azure CLI is a cross-platform command-line tool that can be installed locally on macOS, Windows, and Linux. It uses commands that start with the 'az' prefix to manage Azure resources.

Adım Adım Çözüm

1
Identify the unique command prefix specified in the scenario.
The 'az' prefix indicates that the Azure Command-Line Interface (Azure CLI) is required.
Azure PowerShell uses a different Verb-Noun cmdlets syntax (e.g., Get-AzVM), whereas Azure CLI uses the 'az' prefix structure.
2
Determine if the selected tool can be installed locally on the administrator's operating system.
Azure CLI is cross-platform and fully supports local installation on macOS.
To satisfy the requirement of installing the tool locally on macOS, the selected tool must support this operating system.

Anahtar Kavram

Azure CLI command syntax and cross-platform local installation support
Bu soruyu puanla