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?
- AAzure PowerShell, because Azure CLI is restricted to Linux operating systems and cannot be installed locally on macOS.
- BAzure Cloud Shell, because command-line tools with the 'az' prefix can only be executed in a browser-based environment.
- Azure CLI, because it can be installed locally on macOS and uses commands starting with the 'az' prefix.Answer
- DAzure Portal, because macOS does not support any local command-line tools for Azure administration.
Answer
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.
Step-by-Step Solution
Key Concept
Azure CLI command syntax and cross-platform local installation support