Courseiva
Describe Azure management and governancemediumMultiple ChoiceObjective-mapped

AZ-900 Describe Azure management and governance Practice Question

Which Azure tool provides a unified command-line experience for managing Azure resources across Windows, macOS, and Linux?

⚠ Common exam trap

A common mix-up: candidates confuse Azure Cloud Shell (a hosted environment) with Azure CLI (the actual command-line tool), or assume Azure PowerShell is the only cross-platform option, missing that Azure CLI is the dedicated unified experience across all three operating systems.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Azure CLI

Azure CLI (Command-Line Interface) is a cross-platform tool that provides a unified command-line experience for managing Azure resources on Windows, macOS, and Linux. It uses Python-based scripting and can be installed locally or run interactively, offering consistent syntax and commands across all supported operating systems.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Azure PowerShell only

    Why it's wrong here

    Azure PowerShell is a separate management interface based on the PowerShell scripting engine, using cmdlets such as `Connect-AzAccount` and `Get-AzResource`, and while the Az module is cross-platform, it is not the Azure CLI. The phrase 'Azure PowerShell only' explicitly excludes Azure CLI, so it fails the question's intent to identify the unified `az` command-line tool. Therefore it is wrong as an exclusive answer.

  • Azure Cloud Shell

    Why it's wrong here

    Azure Cloud Shell is a browser-accessible, authenticated shell environment hosted inside an Azure container; it does not itself manage resources with its own commands. Instead, Cloud Shell provides access to both Azure CLI and Azure PowerShell, along with a mounted Azure Files share for persistent storage. It is an interactive hosting platform rather than the cross-platform CLI tool named in the question, so it is incorrect.

  • Azure CLI

    Why this is correct

    Azure CLI is a dedicated, cross-platform command-line tool distributed as an installable package that issues `az` commands to manage Azure resources. Unlike Cloud Shell, it runs locally on Windows, macOS, or Linux, and its commands authenticate via Microsoft Entra ID before calling the Azure Resource Manager REST API. Because the question asks for a specific CLI product with cross-platform support, Azure CLI is the correct answer.

  • Azure Resource Manager API

    Why it's wrong here

    The Azure Resource Manager (ARM) API is the HTTPS REST service that Azure CLI, PowerShell, and other management tools call behind the scenes; it is a backend interface, not a command-line tool. Using it directly requires constructing HTTP requests with authorization tokens, not issuing `az` commands, and ARM templates are JSON infrastructure-as-code definitions. Although Azure CLI depends on it, ARM API is a protocol layer and cannot be selected as the cross-platform CLI.

About these practice questions

This AZ-900 question is part of Courseiva's 981-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This AZ-900 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-900 exam.