These are two separate permission systems and mixing them up is the classic exam trap.
An Azure storage account is the top-level container for blobs, files, queues, tables and disks. Name must be globally unique, 3-24 characters, lowercase letters and numbers only.
Performance tiers:
Redundancy (replication) options:
Used to balance storage cost against access cost:
Lifecycle management policies automate moving blobs between tiers or deleting them based on age rules — a favourite exam scenario is cost optimisation using these rules.
AzCopy is the command-line tool for high-performance bulk copy/move/sync of blobs and files; Storage Explorer gives a GUI. Both support async copy jobs between storage accounts, including cross-region.
Pick a VM series based on workload: B-series is burstable/cheap for dev-test, D-series is general purpose, E-series is memory-optimised, F-series is compute-optimised.
Use Availability Sets for rack-level fault tolerance within one datacentre (2-3 fault domains, up to 20 update domains).
Use Availability Zones for datacentre-level resilience across a region (minimum 3 physical zones, each with independent power/cooling/networking).
A VM Scale Set (VMSS) automatically adds or removes identical VM instances based on demand or a schedule, and can span zones.
Managed disks come in four tiers: Ultra Disk, Premium SSD, Standard SSD, Standard HDD - Ultra and Premium need a compatible VM size (usually the 's' in the size name, eg Dsv5).
OS disks default to a 30-second write cache; data disks default to none for Premium SSD unless changed.
A Shared Image Gallery lets you version and replicate custom images across regions and subscriptions - better than plain managed images for scale.
Generalise a VM with sysprep (Windows) or waagent -deprovision (Linux) before capturing an image.
Resizing a VM may be blocked if the target size isn't available on the current hardware cluster - you may need to deallocate first.
Moving a VM between Availability Sets is NOT possible after creation - you must delete and recreate it (or use Azure Migrate).
Update Domains are not evenly guaranteed - Azure decides placement; you just get the fault-tolerance benefit.
Azure Container Instances (ACI) is the fastest way to run a single container with no orchestration, billed per second - ideal for burst or batch jobs.
Azure Kubernetes Service (AKS) is the managed Kubernetes control plane - Microsoft manages the control plane free of charge, you pay only for the worker nodes.
AKS supports cluster autoscaler (nodes) and Horizontal Pod Autoscaler (pods) separately - know the difference.
Web App for Containers (App Service) runs a single container behind App Service's PaaS features (custom domains, easy auth, deployment slots).
Container instances can be placed in a virtual network for private connectivity, but only in a dedicated (delegated) subnet.
ACR has three tiers: Basic, Standard, Premium - only Premium supports geo-replication and private endpoints.
Use az acr build for cloud-based image builds without needing local Docker.
Enable admin user only for testing; production should use managed identity or service principal auth against ACR.
Forgetting that stopping (not deallocating) a VM in the portal still bills compute charges - always use 'Stop (deallocated)' or the CLI az vm deallocate.
Assuming AKS control plane costs money on the Free tier - it doesn't, only nodes and the optional paid SLA tier do.
Confusing Availability Sets (single datacentre) with Availability Zones (multiple datacentres) - a very common AZ-104 distractor.
A VNet is your private network in Azure, scoped to one region and one subscription. It's divided into subnets, and every subnet must sit inside the VNet's address space with no overlap between subnets.
VNet peering connects two VNets so resources talk over the Microsoft backbone using private IPs - no public internet, no VPN gateway needed.
NSGs filter traffic by 5-tuple rules (source, source port, destination, destination port, protocol) and apply at the subnet or NIC level.
Azure creates System Routes automatically (VNet local, on-premises via gateway, 0.0.0.0/0 to internet). User-Defined Routes (UDRs) override these via a Route Table attached to a subnet, commonly used to force traffic through a Network Virtual Appliance (NVA) or firewall.
This topic covers Azure Monitor, Log Analytics, alerts, Network Watcher and backup/recovery basics for AZ-104.
Azure Backup uses a Recovery Services vault (RSV) to store backup data. The vault is a management and storage construct - it holds backup policies, recovery points and configuration for VMs, files, folders, SQL in Azure VMs and more.
Backups are incremental after the first full backup, reducing storage and network cost. Data is encrypted at rest automatically. You choose a redundancy setting on the vault: Locally Redundant Storage (LRS), Zone Redundant Storage (ZRS) or Geo Redundant Storage (GRS) - GRS is default and replicates to a paired region.
Soft delete is on by default for Recovery Services vaults. If backup data is deleted (accidentally or maliciously) it is retained for 14 additional days at no extra storage cost, so you can undelete it. This defends against ransomware and accidental deletion.
Backup policies define schedule (daily or weekly) and retention (daily, weekly, monthly, yearly points), all configurable per policy and assignable to multiple VMs.
Don't confuse the two. Azure Backup protects data (restore a file, VM disk or database to a point in time). Azure Site Recovery is for disaster recovery - it replicates entire VMs to another region so you can fail over and keep the workload running with minimal downtime. Backup = data protection; ASR = business continuity.
Azure AD (Microsoft Entra ID) is the identity backbone - Conditional Access policies enforce MFA, block legacy authentication, or restrict sign-in by location/device compliance. Conditional Access needs Azure AD Premium P1 or higher.
Role-Based Access Control (RBAC) assigns permissions at management group, subscription, resource group or resource scope, and is additive (deny assignments override allow). Built-in roles: Owner (full control + can assign roles), Contributor (full control, no role assignment), Reader (view only). Least privilege is the exam's constant theme.
Azure Key Vault stores secrets, keys and certificates centrally, avoiding hard-coded credentials. Access via access policies or (recommended) Azure RBAC on the vault.
Network Security Groups (NSGs) filter traffic by 5-tuple rules with a priority number 100-4096 - lower number = higher priority, first match wins. Azure Firewall provides centralised, stateful filtering across a hub network. Azure DDoS Protection has two tiers: Basic (free, automatic) and the paid tier (Network Protection - formerly Standard - adds attack analytics, cost protection and rapid support).