Managing & Deploying Resources
Azure portal · Cloud Shell · Azure CLI · Azure PowerShell · Azure Arc · infrastructure as code · Azure Resource Manager · ARM templates · Bicep
By the tools4free.dev team · Last reviewed November 13, 2026
Practice questions for this topic →
Tools for managing Azure
| Tool | What it is | Good to know |
|---|---|---|
| Azure portal | A web-based, unified console with a graphical interface to create and manage Azure resources | Guided wizards and dashboards. Use any supported browser |
| Azure Cloud Shell | An interactive, authenticated, browser-accessible terminal; choose Bash or PowerShell | Nothing to install. Session times out after 20 minutes without activity. Files persist in a 5-GB file share |
| Azure CLI | A cross-platform command-line tool for administrative commands on Azure resources | Commands start with az. Default output is JSON. Use interactively or in scripts |
| Azure PowerShell | Official Microsoft PowerShell modules for managing Azure; the current module is Az | Cmdlets such as New-AzResourceGroup; they produce .NET objects. Cross-platform |
- The portal is designed for resiliency and continuous availability. It has a presence in every Azure datacenter and updates continuously with no downtime for maintenance.
- Using the machine that hosts Cloud Shell is free. Cloud Shell needs a storage account for the mounted Azure Files share, and regular storage costs apply.
- Azure CLI and Azure PowerShell can be installed locally (Linux, macOS, Windows), run in a Docker container, or used through Cloud Shell.
- Azure PowerShell cmdlets make REST calls to the Azure Resource Manager API. Both tools can, for example, create a resource group:
az group createandNew-AzResourceGroup.
Azure Resource Manager (ARM)
Azure Resource Manager is the deployment and management service for Azure. Every request from the portal, CLI, PowerShell, REST APIs or SDKs goes through it. It authenticates and authorizes the request, then forwards it to the right Azure service.
| Term | Meaning |
|---|---|
| Resource | A manageable item available through Azure: VM, storage account, web app, database, virtual network |
| Resource group | A container for related resources that share a lifecycle. A resource is in exactly one group; you can move it to another |
| Resource provider | A service that supplies resource types, such as Microsoft.Compute for VMs |
| Scope | Four levels: management groups, subscriptions, resource groups, resources. Lower levels inherit settings from higher levels |
- Benefits: manage infrastructure with declarative templates, deploy and manage resources as a group, redeploy consistently, define dependencies so resources deploy in order, and use Azure RBAC and tags natively.
- Deleting a resource group deletes all the resources in it.
- Because all requests use the same API, you see consistent results in every tool.
Infrastructure as code, ARM templates and Bicep
Infrastructure as code (IaC) defines infrastructure in versioned files and deploys it from them. The same definition produces the same environment every time. IaC avoids error-prone manual configuration and environment drift.
| ARM template | Bicep | |
|---|---|---|
| What | A JSON file that defines the infrastructure and configuration | A domain-specific language with a simpler syntax |
| Style | Declarative: state what you want, not the commands to build it | Declarative |
| Relationship | A native Azure IaC format (JSON) | Each Bicep file is converted to an ARM template during deployment |
| Repeatable | Idempotent: deploying again gives the same state | Idempotent |
- Declarative means you describe the desired result. Imperative scripts list the steps. Templates are declarative.
- Resource Manager orders interdependent resources correctly and deploys in parallel where it can.
- The what-if operation previews which resources a template deployment would create, update or delete.
- Third-party tools such as Terraform can also deploy to Azure, but ARM templates and Bicep are the native route.
Azure Arc
Azure Arc delivers a consistent multicloud and on-premises management platform. It projects non-Azure and on-premises resources into Azure Resource Manager so you can manage them as if they ran in Azure.
- Servers and virtual machines: Windows and Linux physical servers and VMs outside Azure.
- Kubernetes clusters: attach and configure clusters running anywhere.
- Azure data services: run SQL Managed Instance on-premises, at the edge and in other clouds.
- SQL Server: extend Azure services to instances hosted outside Azure.
- Arc lets you use familiar Azure management capabilities, such as management groups and tags, on resources wherever they live.
- GitOps can deploy configuration to Kubernetes clusters from Git repositories.
- Resource organization with management groups and tags for Arc-enabled servers is offered at no extra cost. Azure services you use on those servers, such as Azure Monitor, are charged at that service's pricing.
CLI and PowerShell
| Task | Azure CLI | PowerShell |
|---|---|---|
| Create a resource group | az group create --name <ResourceGroupName> --location eastus | New-AzResourceGroup -Name <ResourceGroupName> -Location eastus |
| Create a storage account | az storage account create --name <StorageAccountName> --resource-group <ResourceGroupName> --location eastus --sku Standard_LRS --kind StorageV2 | New-AzStorageAccount -Name <StorageAccountName> -ResourceGroupName <ResourceGroupName> -Location eastus -SkuName Standard_LRS -Kind StorageV2 |
Exam Tips
Tick each tip once you can answer it without looking.
“The deployment and management layer behind the portal, CLI, PowerShell and SDKs” → Azure Resource Manager. Trap: Not the portal or the CLI: those are tools whose requests Resource Manager handles.
“Web-based graphical console with guided wizards” → Azure portal. Trap: Cloud Shell, CLI and PowerShell are command-line tools.
“Browser-based terminal, Bash or PowerShell, nothing to install” → Azure Cloud Shell. Trap: It needs a storage account for its file share; the host machine is free but storage costs apply.
“Cross-platform command-line tool, commands start with az” → Azure CLI. Trap: Azure PowerShell uses cmdlets such as New-AzResourceGroup.
“PowerShell cmdlets for Azure, the Az module” → Azure PowerShell. Trap: The AzureRM module is deprecated; the Az module is current.
“CLI or PowerShell: which is more powerful?” → Same capabilities: requests from every tool go through the same Resource Manager API and give consistent results. Trap: Don't assume one tool can do more; all of them send requests to Resource Manager.
“Manage servers, Kubernetes clusters and SQL Server outside Azure from Azure” → Azure Arc. Trap: Not Resource Manager templates: those deploy Azure resources.
“Define infrastructure in a versioned file and get the same environment every time” → Infrastructure as code (IaC). Trap: Manual configuration leads to environment drift; IaC avoids it.
“Declarative JSON file that defines resources to deploy to Azure” → ARM template. Trap: Imperative scripts list steps; templates describe the end state.
“Simpler language that is converted to an ARM template at deployment” → Bicep. Trap: Bicep is converted to an ARM template during deployment.
“Same template deployed many times gives the same state” → Idempotent. Trap: Deploying the same template many times gives the same resource types in the same state.
“Preview what a template deployment would change” → The what-if operation. Trap: It only previews the changes; it isn't the deployment.
“A resource can belong to how many resource groups?” → One. You can move it to another group. Trap: It cannot be in two groups at once.
“Four management scopes, highest to lowest” → Management groups, subscriptions, resource groups, resources. Trap: Lower levels inherit settings from higher levels.
“Delete a resource group” → All resources in it are deleted. Trap: Resources in the group are not moved elsewhere first.
Sources
- What is the Azure portal?
- What is Azure Cloud Shell?
- What is the Azure CLI?
- What is Azure PowerShell
- Azure Arc overview
- What is Azure Resource Manager?
- ARM templates overview
- What is Bicep?
- What is infrastructure as code (IaC)?
Checked against Microsoft Learn on November 13, 2026.