Skip to main content

Microsoft · AZ-104 · Cheat sheet

AZ-104 cheat sheet (Microsoft Certified: Azure Administrator Associate)

A one-page summary of the AZ-104 domains and the facts that come up most often. Original study material written from Microsoft's published exam guide — not exam content.

Manage Azure identities and governance (20–25%)

  • Microsoft Entra ID objects: users (member vs. guest), groups (security vs. Microsoft 365; assigned vs. dynamic membership), and licensing. Self-service password reset (SSPR) is configured per group or for all users.
  • Azure RBAC: built-in roles (Owner, Contributor, Reader, User Access Administrator) assigned at four scopes — management group, subscription, resource group, resource. Assignments inherit downward; the effective permission is the union of all assignments.
  • Governance: Azure Policy (audit or enforce rules, remediate non-compliant resources), resource locks (CanNotDelete, ReadOnly), tags (for organisation and cost reporting), management groups (organise many subscriptions), and cost control with budgets, cost alerts, and Azure Advisor.

Implement and manage storage (15–20%)

  • Storage account redundancy: LRS (3 copies, one datacentre), ZRS (across zones in one region), GRS (LRS + async copy to a paired region), RA-GRS (GRS + read access to the secondary), GZRS / RA-GZRS (ZRS + geo).
  • Access control: access keys (two, rotate one at a time), shared access signature (SAS) tokens (account / service / user-delegation; scope and expiry), stored access policies (revoke SAS without rotating keys), and Entra identity-based access for Azure Files.
  • Blob tiers: Hot, Cool, Cold, Archive — cost drops and retrieval latency/cost rise as you go colder; lifecycle management rules move or delete blobs automatically. Soft delete, versioning, and snapshots protect against accidental change.
  • Tools: AzCopy and Azure Storage Explorer for bulk data movement; Azure Files for SMB/NFS shares; object replication for async blob copy between accounts.

Deploy and manage Azure compute resources (20–25%)

  • ARM templates / Bicep: declarative deployment; you should be able to read one, change a parameter or resource, and redeploy, and to export an existing resource group as a template.
  • Virtual machines: sizing (resize when stopped-deallocated), managed disks, availability sets (fault + update domains, single datacentre) vs. availability zones (separate datacentres) vs. Virtual Machine Scale Sets (autoscaling identical VMs).
  • Containers: Azure Container Registry (private images), Azure Container Instances (single fast container), Azure Container Apps (serverless microservices with scaling).
  • App Service: an App Service plan sets the pricing tier and compute; scale up = bigger plan, scale out = more instances (manual or autoscale rules); deployment slots for staged releases and swap.

Implement and manage virtual networking (15–20%)

  • VNets and subnets; address spaces cannot overlap when peered. VNet peering is non-transitive. User-defined routes override system routes to force traffic through an appliance.
  • Network security groups (NSGs): stateful allow/deny rules by priority, applied to a subnet or a NIC; "effective security rules" shows the combined result. Application security groups group VMs so rules reference the group, not IPs.
  • Private connectivity: service endpoints keep traffic to a PaaS service on the Azure backbone (service stays public); private endpoints give the service a private IP inside your VNet. Azure Bastion gives browser RDP/SSH with no public IP on the VM.
  • Name resolution and load balancing: Azure DNS (public and private zones), Azure Load Balancer (layer 4, internal or public), and health probes that decide which backends receive traffic.

Monitor and maintain Azure resources (10–15%)

  • Azure Monitor: metrics (near-real-time numeric, platform or custom) and logs (queried with KQL in a Log Analytics workspace). Diagnostic settings route resource logs to a workspace, storage account, or event hub.
  • Alerts: alert rules on a metric or log condition, grouped by severity, firing action groups (email, SMS, webhook, Logic App, Automation runbook); alert processing rules suppress or route at scale.
  • Network Watcher: connection troubleshoot, next hop, IP flow verify, NSG diagnostics, and Connection Monitor for ongoing reachability checks.
  • Backup and recovery: Recovery Services vault for Azure Backup (VMs, files, SQL in VM) with backup policies; Azure Site Recovery replicates workloads to a secondary region and orchestrates failover.

Key numbers and limits

  • Subnets: Azure reserves 5 IP addresses in every subnet (the first four and the last), and the smallest supported IPv4 subnet is /29.
  • NSG rule priorities run from 100 to 4096; the lowest number is processed first and processing stops at the first match. The default rules (65000+) can be overridden but not deleted.
  • Availability sets: up to 3 fault domains and up to 20 update domains (5 by default).
  • Management groups: up to six levels of depth below the root management group. Tags: up to 50 name/value pairs per resource, and they are not inherited by default (use Azure Policy to apply them).
  • Blob minimum storage durations: Cool 30 days, Cold 90 days, Archive 180 days; deleting or moving earlier is charged as early deletion. Rehydrating from Archive takes up to 15 hours at standard priority.
  • Blob and container soft delete keep deleted data for 1 to 365 days. Storage account names are 3–24 lowercase letters and numbers, unique across Azure.
  • The Azure Activity log keeps 90 days of events; route it to a Log Analytics workspace with a diagnostic setting to keep it longer.
  • A Recovery Services vault must be in the same region as the VMs it backs up.

Commands worth recognising

  • az vm deallocate (or Stop-AzVM) releases the compute and stops compute billing; az vm stop only shuts down the OS and the VM is still billed.
  • az deployment group create --resource-group <rg> --template-file main.bicep deploys an ARM or Bicep template to a resource group (New-AzResourceGroupDeployment in PowerShell).
  • az role assignment create --assignee <user> --role Reader --scope <scope> (New-AzRoleAssignment) grants an RBAC role at a scope.
  • az network vnet peering create links two VNets; you create a peering on each side for traffic to flow both ways.
  • azcopy copy '<source>' '<destination>' --recursive copies whole folders or containers, authenticated with a SAS token or Entra ID.
  • az storage account create --sku Standard_GRS sets redundancy at creation; the SKU (LRS, ZRS, GRS, RA-GRS, GZRS, RA-GZRS) is the redundancy choice.

Common mix-ups

  • Azure Policy vs. RBAC: Policy controls what resources may look like (allowed regions, SKUs, required tags); RBAC controls who may act on them.
  • Resource locks apply to everyone, Owners included, and are inherited by child resources. A ReadOnly lock can block actions that look harmless, such as listing storage account keys.
  • Azure Load Balancer vs. Application Gateway: Load Balancer works at layer 4 (TCP/UDP); Application Gateway works at layer 7 (HTTP/S) with URL path routing, TLS termination and an optional web application firewall.
  • VNet peering is not transitive: if A peers with B and B with C, A cannot reach C without its own peering or a hub with routing.
  • Scale up vs. scale out: up is a bigger size or plan, out is more instances. Autoscale rules only scale out and in.

Test yourself on AZ-104

Reading a summary is the easy part. Take the free 10-question diagnostic to see which of these domains you actually have, then study the rest.

Also free: 15 AZ-104 sample questions with answers and the AZ-104 study guide.

Worth reading: AZ-104 passing score (700/1000), what 700 means on Microsoft's scaled score, and why it isn't 70%.