Courseiva
Describe Azure management and governanceeasyMultiple ChoiceObjective-mapped

AZ-900 Describe Azure management and governance Practice Question

What is the difference between the Azure portal and Azure CLI?

⚠ Common exam trap

It's easy for candidates to confuse the interface type (GUI vs. CLI) with functional limitations, assuming one is only for development or only for deployment, when in fact both tools provide full management capabilities across all environments.

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 portal is a web GUI; Azure CLI is a command-line scripting tool

The Azure portal is a web-based graphical user interface (GUI) for managing Azure resources through a browser, while Azure CLI is a cross-platform command-line tool that allows you to script and automate resource management using commands. Both tools can be used for production and development tasks, and they both manage resources—just through different interaction methods.

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 portal is for production; Azure CLI is only for development

    Why it's wrong here

    The stated split is false: both the Azure portal and the Azure CLI are fully supported for production workloads and development environments alike. They are simply two distinct frontends to the same Azure Resource Manager API, so the CLI can just as easily provision and manage production resources as the portal can. The real differentiation is interaction style — graphical versus scriptable — not environment or lifecycle stage.

  • Azure portal is a web GUI; Azure CLI is a command-line scripting tool

    Why this is correct

    The Azure portal is a browser-based graphical user interface (GUI) that lets you click through blades, panes, and settings to create and manage Azure resources. The Azure CLI is a cross-platform command-line tool that returns plain text (or JSON) results and is designed for scripting, automation, and repeatable deployments. Both ultimately send REST calls to the Azure Resource Manager, but the portal emphasizes interactive control while the CLI emphasizes programmatic control. This is the accurate distinction in the answer.

  • Azure portal only works on Windows; Azure CLI works cross-platform

    Why it's wrong here

    The portal is a web application, so it runs in any modern browser on Windows, macOS, Linux, or even mobile platforms — it is not tied to Windows. The Azure CLI is also cross-platform, with installers for Windows, macOS, and Linux, and it can run in the browser through Azure Cloud Shell. Therefore, both tools are OS-independent; the key difference remains the GUI-versus-command-line interaction model.

  • Azure portal manages resources; Azure CLI only deploys applications

    Why it's wrong here

    This is incorrect because the CLI is not limited to deploying applications; it can perform every management operation the portal can, including creating VMs, configuring networks, managing role-based access control, and applying governance policies. Conversely, the portal also supports application deployment but is often less convenient for large-scale programmatic deployments. The scope of both tools is the full Azure resource lifecycle — they differ only in the user interface paradigm.

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.