Exams / AZ-900 / D3 Describe Azure management and governance
Describe features and tools for managing and deploying Azure resources
- Describe the Azure portal
- Describe Azure Cloud Shell, Azure CLI, and Azure PowerShell
- Describe the purpose of Azure Arc
- Describe infrastructure as code (IaC)
- Describe Azure Resource Manager (ARM) and ARM templates
Azure Resource Manager: one management layer behind every tool
Every tool — portal, Cloud Shell, Azure CLI, Azure PowerShell, SDKs, REST calls, ARM templates — sends its request to Azure Resource Manager (ARM): "When you send a request through any of the Azure APIs, tools, or SDKs, Resource Manager receives the request." So results are consistent across tools: "All capabilities that are available in the Azure portal are also available through PowerShell, the Azure CLI, REST APIs, and client SDKs."
A desktop application talks to Azure through the ARM REST APIs (or an SDK built on them), not through the CLI or Cloud Shell.
The management tools
| Tool | What it is | Where it runs | Install? |
|---|---|---|---|
Azure portal (https://portal.azure.com) |
"a web-based, unified console that you can use to create and manage all your Azure resources" | Any supported browser: "runs in the browser of all modern desktops and tablet devices" (Edge, Chrome, Safari on Mac…) | No |
Azure Cloud Shell (portal >_ icon or shell.azure.com) |
"an interactive, authenticated, browser-accessible terminal for managing Azure" | Browser, Azure mobile app, Windows Terminal, VS Code | No |
Azure CLI (az) |
Cross-platform command-line tool | "available to install in Windows, Linux, and macOS environments"; "Runs in Windows PowerShell, Cmd, or Bash and other Unix shells" | Yes (not part of Windows) |
| Azure PowerShell (Az module) | "set of cmdlets packaged as a PowerShell module named Az; not an executable" | "Cross-platform PowerShell module, runs on Windows, macOS, Linux" (PowerShell 7+ recommended) | Yes: PowerShell + Install-Module -Name Az |
| Azure mobile app | Monitor and manage resources from a phone | "available for iOS and Android devices" | App store |
Cloud Shell in detail
- "Cloud Shell provides two shell environments: Bash (with Azure CLI preinstalled) and PowerShell (with Azure PowerShell preinstalled)." You can switch shells at any time.
- "Cloud Shell automatically authenticates your Azure account to allow secure access for Azure CLI, Azure PowerShell, and other cloud management tools."
azcommands also work in the PowerShell environment. - Launch: "Launch Cloud Shell from the top navigation of the Azure portal." — the >_ icon right of the search box.
- It runs on a temporary, per-user host and needs a storage account for persistent files (or an ephemeral session).
Which device can use which tool?
| Device | Portal | Cloud Shell | Azure CLI | Azure PowerShell |
|---|---|---|---|---|
| Windows 10/11 | ✅ | ✅ | ✅ after install (cmd or PowerShell) | ✅ after installing the Az module (Windows PowerShell is preinstalled) |
| Linux (Ubuntu…) | ✅ | ✅ | ✅ after install | ✅ after installing PowerShell 7 + Az |
| macOS | ✅ | ✅ | ✅ after install | ✅ after installing PowerShell 7 + Az |
| Chrome OS, Android/iOS tablet or phone | ✅ | ✅ (browser or mobile app) | only inside Cloud Shell | only inside Cloud Shell |
Running a PowerShell script that creates Azure resources needs PowerShell plus the Az module, or Cloud Shell. A Linux box with only the Azure CLI, or macOS with only PowerShell Core, is not enough.
Infrastructure as code and ARM templates
Infrastructure as code (IaC) = describe infrastructure in files and deploy it automatically. "To implement infrastructure as code for your Azure solutions, use Azure Resource Manager templates (ARM templates)."
| Property | Doc wording |
|---|---|
| Format | "a JavaScript Object Notation (JSON) file that defines the infrastructure and configuration for your project" |
| Declarative | "state what you intend to deploy without having to write the sequence of programming commands to create it" |
| Repeatable | "Repeatedly deploy your infrastructure throughout the development lifecycle and have confidence your resources are deployed in a consistent manner." |
| Idempotent | "you can deploy the same template many times and get the same resource types in the same state" |
| Orchestration | "Resource Manager orchestrates the deployment of interdependent resources so they're created in the correct order." — one template holds many resources |
| Deployment | Portal (custom deployment), Azure CLI, Azure PowerShell, REST; deployments are tracked in the portal |
Microsoft now recommends Bicep (a simpler language that deploys through ARM) for new IaC work: "If you're considering infrastructure as code options, we recommend looking at Bicep."
Use case: several business units need the same set of resources → one ARM template deployed for each unit.
Azure Arc
"Azure Arc simplifies governance and management by delivering a consistent multicloud and on-premises management platform." It works by "projecting your existing non-Azure and/or on-premises resources into Azure Resource Manager."
| Arc offering | What it manages |
|---|---|
| Arc-enabled servers | "Windows and Linux physical servers and virtual machines hosted outside of Azure" — each becomes a hybrid machine resource, visible under Azure Arc > Machines |
| Arc-enabled Kubernetes | Any CNCF Kubernetes cluster (on-premises, AWS, GCP…): "Manage and govern Kubernetes clusters at scale", shown with your AKS clusters |
| Arc-enabled data services / SQL Server | SQL Managed Instance on your Kubernetes; SQL Server instances outside Azure |
| VMware vSphere / SCVMM | VMs from those platforms |
Once projected, Azure services apply: Azure Policy (compliance), Azure Monitor, Defender for Cloud, RBAC, tags. Arc is not a generic manager for any third-party product (e.g., a non-Microsoft database).
Exam traps
- Cloud Shell needs no installation — only a browser (any OS, including Chrome OS, Android, iOS) or the Azure mobile app.
- The Azure CLI is not preinstalled on Windows 11; only Windows PowerShell is. On Windows,
azruns from Command Prompt or PowerShell. - Azure CLI ≠ Azure PowerShell. A PowerShell script with Az cmdlets needs PowerShell + the Az module (or Cloud Shell).
- Cloud Shell is launched from the portal (the
>_icon) orshell.azure.com; it is not launched from the CLI or PowerShell. - Management URL: portal.azure.com (not
azurewebsites.net, which hosts the web apps themselves). - From an iPhone/Android: portal or Cloud Shell (or the mobile app) — never Windows PowerShell, Storage Explorer, a local CLI, or Power Apps.
- ARM templates = JSON, deploy resources, many resources in one template. Azure Policy enforces rules, management groups and resource groups organise — none of them deploys resources. API Management manages APIs.
- "Hybrid / multicloud / on-premises servers in the Azure portal / project into ARM": Azure Arc (not Azure Migrate, Entra Connect, VPN Gateway or Front Door).
- Old CLI samples use the image alias
UbuntuLTS; current aliases are versioned (e.g.,Ubuntu2204).
Docs
- What is Azure Resource Manager?
- Manage Azure resources by using the REST API
- What is the Azure portal?
- Supported browsers and devices for the Azure portal
- What is the Azure mobile app?
- Use Cloud Shell in the Azure mobile app
- What is Azure Cloud Shell?
- Features & tools for Azure Cloud Shell
- Get started with Azure Cloud Shell
- Choose the right Azure command-line tool
- How to install the Azure CLI
- Install the Azure CLI on Windows
- How to install Azure PowerShell
- Install Azure PowerShell on macOS
- ARM templates overview
- Deploy resources with ARM templates and Azure portal
- Azure Arc overview
- Azure Arc-enabled servers
- Azure Arc-enabled Kubernetes