Your profile

One profile for every MSDEVBUILD site. Only you can see it, and the site owner if you write in.

Revision pack

AZ-104 cheat sheet

One sheet per exam area, made from the 47 lessons on this site. Print it, save it as a PDF, or press Listen and revise on a walk. Each line links back to its lesson if something doesn't make sense.

⏰ The last 30 minutes before the exam

Don't learn anything new now. Read this once, then put it away.

In the exam room

  • You have about 100 minutes for the questions. The pass mark is 700 on a scale of 1–1000, which isn't the same as 70% of questions right.
  • Answer every question. There's no penalty for a wrong guess, but a blank always scores zero.
  • Mark anything you're unsure of for review and move on. Come back at the end with fresh eyes.
  • If a section warns that you can't return to it, believe it. Review everything before you leave.
  • Read the last line of a long scenario first, so you know what you're looking for.
  • Watch for "least", "most cost-effective" and "minimise administrative effort". They decide which correct-looking option is the right one.

Look-alikes people mix up

Owner vs Contributor vs Reader vs User Access Administrator
"Can deploy but can't give anyone access" = Contributor. "Can grant access but not create VMs" = User Access Administrator. If a question says the user "only has Reader", check for inherited and group assignments before you agree.
Azure RBAC Roles vs Microsoft Entra Roles
"Create users and reset passwords" = User Administrator (Entra). "Manage VMs in one resource group" = an Azure role at that resource group. Global Administrator alone can't manage Azure resources until it elevates.
Storage Account Key vs SAS vs Microsoft Entra ID
"Revoke without changing keys" = stored access policy. "No keys at all" = Microsoft Entra ID or a user delegation SAS. "Read data with --auth-mode login fails for an Owner" = assign a Storage Blob Data role.
Blob Soft Delete vs Versioning vs Snapshots
"Recover an overwritten blob automatically" = versioning. "Recover a deleted file share" = share soft delete. "Recover files deleted from a share last Tuesday" = share snapshot. Object replication and point-in-time restore both need versioning.
ARM JSON Templates vs Bicep Files
Both are read on the exam. Find the parameters, check allowedValues or @allowed, and remember the default deployment mode is Incremental. "Convert an ARM template to Bicep" = az bicep decompile.
Availability Set vs Availability Zones vs Flexible Scale Set
"Survive a datacenter failure" = zones. "Survive a rack failure or host maintenance" = availability set. "Add VMs automatically when CPU is high" = scale set + autoscale. A VM can't be in a set and a zone at the same time.
Container Instances vs Container Apps vs App Service
“Must scale automatically on HTTP requests and scale to zero” = Container Apps. “Runs once and stops, billed per second” = Container Instances with OnFailure or Never. “Swap staging and production” = App Service slots (Standard or higher).
App Service scale up vs scale out
“Add instances when CPU is high” = scale out with an autoscale rule, which needs Standard or higher. “Need deployment slots on a Basic plan” = scale up to Standard first.
Service Endpoint vs Private Endpoint
"Reach the storage account from on-premises over the VPN without the internet" = private endpoint. "Allow only Subnet1 through the storage firewall" = service endpoint. "Private endpoint created but the name still resolves to a public IP" = fix the private DNS zone or its VNet link.
NSG vs ASG vs Route Table
Blocked port = NSG (IP flow verify). Packet goes the wrong way or nowhere = route (next hop). "Rules shouldn't change when new web VMs are added" = ASG.
Recovery Services Vault vs Backup Vault
“Back up blob containers” or “back up a managed disk on its own” = Backup vault. “Back up an Azure VM” or “replicate a VM to another region” = Recovery Services vault.
Azure Backup vs Azure Site Recovery
“Recover a file deleted last week” = Backup. “Minimise downtime if the primary region fails” = Site Recovery. Ransomware that encrypted data hours ago also replicates, so you still need Backup.

Domain 1: Identity & Governance (20–25% of the exam)

Microsoft Entra Users and Groups: Create and Manage

In Microsoft Entra ID you create users (members of your tenant, identified by a user principal name such as sam@contoso.com) and groups that collect them. A group is either a Security group (for access) or a Microsoft 365 group (for collaboration), and its membership type is Assigned (you add people), Dynamic User or Dynamic Device (a rule like user.department -eq "Sales" adds and removes members). Dynamic groups need Microsoft Entra ID P1. You edit user properties such as department, job title and usage location on the user's blade, in bulk from a CSV, or with Microsoft Graph PowerShell.

  • Users are members or guests. Create them in the portal, the Entra admin center, in bulk from CSV, or with az ad user create.
  • Group type is Security or Microsoft 365. Membership type is Assigned, Dynamic User or Dynamic Device.
  • Dynamic rules use user properties, for example (user.department -eq "Sales"), and need Microsoft Entra ID P1.

🎯 Exam tip: "Membership must update automatically when department changes" = Dynamic User group.

⚠️ Watch out: Trying to add someone to a dynamic group manually. Change the property the rule reads instead.

Licenses and External Users in Microsoft Entra ID

A license turns on paid features for a user, such as Microsoft 365 E3 or Microsoft Entra ID P1/P2. You can assign it directly to a user, which needs the user's usage location first, or to a group (group-based licensing, needs Entra ID P1), so members gain and lose it as they join and leave. External users from other organisations join as guests through B2B collaboration: they sign in with their own account, appear with user type Guest and an #EXT# UPN, and what they can do is set in External collaboration settings and cross-tenant access settings.

  • Direct license assignment needs a usage location on the user.
  • Group-based licensing (Entra ID P1) gives every member the license and removes it when they leave.
  • Not enough seats puts members in an error state; add seats, then Reprocess.

🎯 Exam tip: "License assignment fails for a new user" = set the usage location.

⚠️ Watch out: Thinking a guest needs a password created in your tenant. They use their home identity.

Configure Self-Service Password Reset (SSPR)

Self-service password reset (SSPR) lets users reset a forgotten password or unlock their account at aka.ms/sspr without calling the helpdesk. In Microsoft Entra ID → Password reset you set Self service password reset enabled to None, Selected (one group) or All, choose the number of methods required (1 or 2) and which methods are allowed (Authenticator app notification or code, email, mobile phone, office phone, security questions), and turn on registration at sign-in so users set up methods in advance. Password writeback (with Entra Connect or Cloud Sync) sends new passwords to on-premises AD. Administrators are always enabled and always need two methods.

  • Password reset → Properties sets the scope - None, Selected (one group) or All.
  • Number of methods required is 1 or 2. Pick the methods users may use.
  • Require registration at sign-in, and set re-confirmation days (default 180).

🎯 Exam tip: "Enable SSPR for the Sales group only" = Selected + the Sales group.

⚠️ Watch out: Picking Selected and assuming it covers several groups. It takes one group; nest groups or use All.

Azure RBAC: Built-in Roles and Scopes

Azure role-based access control (RBAC) grants access with a role assignment: a security principal (user, group, service principal or managed identity) + a role definition (a set of allowed Actions) + a scope. Scopes are management group, subscription, resource group and resource, and assignments inherit downward. The four general built-in roles are Owner (everything, including granting access), Contributor (everything except granting access), Reader (view only) and User Access Administrator (manage access only); Role Based Access Control Administrator can assign roles with conditions. Service roles such as Virtual Machine Contributor give narrower rights. Assign in Access control (IAM) or with az role assignment create.

  • Role assignment = security principal + role definition + scope.
  • Scopes - management group, subscription, resource group, resource. Assignments inherit downward.
  • Owner = all + grant access. Contributor = all except grant access. Reader = view. User Access Administrator = access only.

🎯 Exam tip: "Manage VMs but not the virtual network" = Virtual Machine Contributor.

⚠️ Watch out: Giving Contributor when someone also needs to grant access. Contributor can't create role assignments.

Interpret Access Assignments and Effective Access

A user's effective access at a scope is the sum of every role assigned to them and their groups, at that scope and every scope above it. Inside a role, permissions are Actions minus NotActions (and DataActions minus NotDataActions for data). NotActions is not a deny: another role can still grant the action. Only a deny assignment blocks an action regardless of roles, and you can't create those directly. Use Access control (IAM) → Check access in the portal, or az role assignment list --assignee <user> --include-inherited --all, to see the full picture. Locks still apply on top.

  • Effective access = all roles of the user and their groups, at this scope and above.
  • Role permissions = Actions minus NotActions; data permissions = DataActions minus NotDataActions.
  • NotActions isn't a deny. Another role can grant the same action.

🎯 Exam tip: "Which roles does User1 have on RG1?" = add direct, group and inherited assignments.

⚠️ Watch out: Ignoring assignments that come through groups or from a management group.

Implement and Manage Azure Policy

Azure Policy checks resources against rules and applies an effect. A policy definition holds the rule; an initiative groups several; an assignment applies one to a scope (management group, subscription or resource group), with optional exclusions and parameters. Common effects are Deny (block the request), Audit (allow but mark non-compliant), Append, Modify (change properties such as tags during deployment) and DeployIfNotExists (deploy a related resource). Modify and DeployIfNotExists need a managed identity, and a remediation task fixes resources that existed before the assignment. Enforcement mode: Disabled lets you test without blocking. Compliance shows in Policy → Compliance.

  • Definition (rule) → initiative (group) → assignment (scope + parameters + exclusions).
  • Deny blocks; Audit flags; Modify and Append change the request; DeployIfNotExists deploys something related.
  • Modify and DeployIfNotExists need a managed identity with the right role.

🎯 Exam tip: "Prevent resources outside West Europe" = Allowed locations (Deny).

⚠️ Watch out: Expecting a new Deny policy to remove or fix resources that already exist. It only blocks new requests; old ones show non-compliant.

Resource Locks and Tags for Administrators

A resource lock stops changes for everyone, Owners included. CanNotDelete (Delete in the portal) lets people read and update but not delete; ReadOnly blocks every write, so it can also break things like listing storage account keys or scaling an App Service plan. Locks are set at subscription, resource group or resource scope, inherit to child resources, and removing one needs Microsoft.Authorization/locks/delete (Owner or User Access Administrator). Tags are name/value pairs (up to 50 per resource) used for cost, ownership and automation. Resource group tags aren't inherited by resources; use Azure Policy (Inherit a tag, Require a tag) to apply them at scale.

  • CanNotDelete = no deletes, updates allowed. ReadOnly = no writes at all.
  • Locks apply to every user, including Owners, and inherit from parent scopes.
  • Removing a lock needs Microsoft.Authorization/locks/delete (Owner, User Access Administrator).

🎯 Exam tip: "Prevent accidental deletion but allow changes" = CanNotDelete (Delete).

⚠️ Watch out: Putting ReadOnly on a busy production resource group and breaking normal operations.

Resource Groups, Subscriptions and Management Groups

Azure organises everything in a ladder: management groups → subscriptions → resource groups → resources. A resource group holds resources that share a lifecycle; each resource is in exactly one group, and you can move resources between groups or subscriptions (the resource ID changes, the region doesn't). A subscription is a billing, quota and access boundary that trusts one Microsoft Entra tenant. Management groups sit above subscriptions, up to six levels below the Tenant Root Group, so a policy or role assigned once flows to every subscription below. Each subscription and management group has exactly one parent.

  • Management groups → subscriptions → resource groups → resources. Everything inherits from above.
  • Up to six levels of management groups below the Tenant Root Group; each item has one parent.
  • A resource is in exactly one resource group. Deleting the group deletes everything inside.

🎯 Exam tip: "Apply a policy to all current and future subscriptions" = assign it at a management group.

⚠️ Watch out: Thinking a resource group's location limits where its resources can be. It only stores metadata.

Manage Costs with Budgets, Alerts and Azure Advisor

In Microsoft Cost Management a budget sets a spending limit for a scope (management group, subscription, resource group, optionally filtered by tag) over a reset period (monthly, quarterly or annually). Its alert conditions fire on Actual or Forecasted cost at a percentage you choose, emailing recipients and optionally calling an action group. A budget doesn't stop resources by itself; automation behind the action group can. Cost alerts collect budget, credit and anomaly alerts. Azure Advisor gives free cost recommendations, such as right-sizing or shutting down idle VMs and buying reservations. Cost data refreshes a few times a day, so alerts aren't instant.

  • Budgets have a scope, amount, reset period, start and expiry dates, and optional filters such as tags.
  • Alert conditions are Actual or Forecasted at a percentage, sent to emails and optionally an action group.
  • Budgets don't stop resources. Use an action group with automation to act.

🎯 Exam tip: "Email the team when spend reaches 80%" = budget with an Actual 80% alert.

⚠️ Watch out: Expecting a budget to cap spending on a pay-as-you-go subscription.

Domain 2: Storage (15–20% of the exam)

Storage Firewalls and Virtual Network Rules

The storage firewall controls which networks can reach a storage account's public endpoint. Set the default action to Deny (in the portal, *Enabled from selected virtual networks and IP addresses*) and only these get in: subnets added as virtual network rules (they use the Microsoft.Storage service endpoint), public addresses in IP rules, specific resource instances, and trusted Azure services if you tick that exception. The firewall is checked before authorization, so a valid key or SAS from a blocked network still gets 403.

  • Portal path: storage account > Security + networking > Networking > Firewalls and virtual networks.
  • Enabled from selected virtual networks and IP addresses = default action Deny.
  • VNet rules need the Microsoft.Storage service endpoint on the subnet; the portal can enable it for you.

🎯 Exam tip: "Allow only one subnet" = virtual network rule plus Microsoft.Storage service endpoint.

⚠️ Watch out: Adding an Azure VM's public IP as an IP rule and expecting it to work from the same region.

SAS Tokens and Stored Access Policies

A shared access signature (SAS) is a signed URL token that grants limited permissions (such as read and list) on specific storage resources until an expiry time. There are three kinds: a user delegation SAS (signed with Microsoft Entra credentials, Blob Storage, at most 7 days, the recommended one), a service SAS (signed with an account key, one service) and an account SAS (signed with an account key, one or more services). A stored access policy on a container, share, queue or table (up to 5 each) holds the permissions and expiry for service SAS tokens that reference it, so deleting or changing the policy revokes them without rotating the keys.

  • User delegation SAS = Microsoft Entra ID, Blob Storage, max 7 days, recommended.
  • Service SAS = account key, one service. Account SAS = account key, several services.
  • Stored access policies (max 5 per container) work only with service SAS tokens.

🎯 Exam tip: "Revoke access without regenerating keys" = stored access policy.

⚠️ Watch out: Trying to attach a stored access policy to an account SAS or a user delegation SAS.

Manage and Rotate Storage Access Keys

Every storage account has two 512-bit access keys, key1 and key2. Either key gives full access to all data, so treat them like a root password. Two keys exist so you can rotate without downtime: move apps to key2, regenerate key1, then later do the reverse. A key expiration policy (rotation reminder) flags keys older than a set number of days, but doesn't rotate them. Regenerating a key also breaks every SAS signed with it. The safest end state is Microsoft Entra ID with Allow storage account key access set to Disabled.

  • Portal path: storage account > Security + networking > Access keys.
  • Two keys, each with full access. Rotate one at a time.
  • Regenerating a key invalidates every connection string and SAS signed with it.

🎯 Exam tip: "Rotate without downtime" = switch apps to the other key, then regenerate.

⚠️ Watch out: Regenerating the key that apps are still using.

Identity-Based Access for Azure Files

Identity-based access lets users mount Azure SMB file shares with their own sign-in instead of the storage account key. First enable one identity source on the account: on-premises AD DS, Microsoft Entra Domain Services, or Microsoft Entra Kerberos (for hybrid identities on Entra-joined devices). Then grant share-level permissions with Azure RBAC roles (Storage File Data SMB Share Reader, Contributor or Elevated Contributor) or a default share-level permission for all authenticated identities. Finally, Windows ACLs (NTFS permissions) control access to directories and files.

  • One identity source per account - AD DS, Microsoft Entra Domain Services or Microsoft Entra Kerberos.
  • Share-level roles: SMB Share Reader, Contributor, Elevated Contributor (ACL changes).
  • Default share-level permission applies one role to every authenticated identity.

🎯 Exam tip: "Users must change NTFS permissions" = Storage File Data SMB Share Elevated Contributor.

⚠️ Watch out: Enabling an identity source and forgetting share-level permission.

Create and Configure Storage Accounts and Encryption

A storage account is created with a globally unique name (3 to 24 lowercase letters and numbers), a region, a performance tier (Standard general-purpose v2, or Premium block blobs, file shares or page blobs) and a redundancy option. Secure defaults to keep: secure transfer (HTTPS) required, minimum TLS 1.2, anonymous blob access off. All data is encrypted at rest with AES-256 automatically. You choose Microsoft-managed keys or customer-managed keys in Azure Key Vault or Managed HSM (the vault needs soft delete and purge protection, and the account needs a managed identity with access to the key). Infrastructure encryption adds a second layer and can only be enabled at creation.

  • Name is global, 3-24 lowercase letters and numbers; it becomes part of the endpoint URL.
  • Standard GPv2 for most work; Premium block blob, file share or page blob for low latency.
  • Keep secure transfer on, TLS 1.2 minimum, anonymous access off.

🎯 Exam tip: "Second layer of encryption" = infrastructure encryption (new account).

⚠️ Watch out: Trying to switch an existing account from Standard to Premium.

Storage Redundancy and Object Replication

Redundancy decides how many copies Azure keeps and where: LRS (3 copies in one datacenter), ZRS (3 copies across availability zones), GRS (LRS plus an asynchronous copy in the paired region) and GZRS (ZRS plus a paired-region copy). RA-GRS and RA-GZRS also let you read the secondary. Changing between LRS and GRS is a simple update; adding zones (LRS to ZRS, GRS to GZRS) is a conversion. A customer-managed failover promotes the secondary during an outage. Object replication is different: it asynchronously copies block blobs from a container in one account to a container in another, and needs versioning on both accounts and the change feed on the source.

  • LRS 3 copies one datacenter; ZRS 3 across zones; GRS LRS + paired region; GZRS ZRS + paired region.
  • RA- options allow reads from the secondary endpoint (<account>-secondary).
  • Premium accounts support LRS and ZRS only.

🎯 Exam tip: "Survive a zone outage and stay writable" = ZRS (or GZRS).

⚠️ Watch out: Thinking GRS lets you read from the secondary without failover (that's RA-GRS).

Move Data with Azure Storage Explorer and AzCopy

Azure Storage Explorer is a free desktop app (Windows, macOS, Linux) for browsing and managing blobs, files, queues and tables; it connects with Microsoft Entra ID, an account name and key, a connection string or a SAS URL, and uses AzCopy for transfers. AzCopy is a free command-line tool for bulk and scripted transfers: azcopy copy (with --recursive), azcopy sync (only what changed, optionally --delete-destination true), make, list, remove and jobs resume. AzCopy authenticates with Microsoft Entra ID (azcopy login, which needs a Storage Blob Data role, not just Owner) or a SAS on the URL. The portal's Storage browser handles quick, small jobs.

  • Storage Explorer connects via Entra ID, account key, connection string, SAS URL or the Azurite emulator.
  • AzCopy auth = Microsoft Entra ID (azcopy login) or a SAS appended to the URL.
  • Entra ID with AzCopy needs a Storage Blob Data role. Owner alone isn't enough.

🎯 Exam tip: "Copy millions of files, scriptable, resumable" = AzCopy.

⚠️ Watch out: Assuming subscription Owner can read blob data through AzCopy or Storage browser with Entra ID.

Azure File Shares, Snapshots and Soft Delete

An Azure file share is a managed SMB (or NFS) share inside a storage account. On a standard general-purpose v2 account you pick an access tier (Transaction optimized, Hot or Cool) and a quota up to 100 TiB; premium (SSD) shares live in a FileStorage account and are the only kind that supports NFS. A share snapshot is a read-only, incremental, point-in-time copy of the whole share (up to 200 per share) that you restore files from, including through Windows Previous Versions. Share soft delete keeps a deleted share, with its snapshots, for 1 to 365 days (7 by default) so you can undelete it.

  • Standard shares - Transaction optimized, Hot, Cool. Premium shares - SSD, FileStorage account.
  • NFS needs a premium FileStorage account and virtual network access.
  • Quota up to 100 TiB per share.

🎯 Exam tip: "Restore a file deleted from a share yesterday" = share snapshot (or Azure Backup).

⚠️ Watch out: Expecting share soft delete to restore a single file.

Blob Containers, Access Tiers and Lifecycle Management

A container groups blobs inside a storage account. Its anonymous access level is Private (default), Blob or Container, and anonymous access only works if the account allows it (new accounts don't). Access tiers trade storage price for access price: Hot, Cool (30-day minimum), Cold (90 days) and Archive (180 days, offline, rehydrating takes up to 15 hours at Standard priority). Archive is supported on LRS, GRS and RA-GRS accounts. A lifecycle management policy is a set of JSON rules that moves blobs to cooler tiers or deletes them (and old versions and snapshots) based on days since modification, creation or last access, and runs about once a day.

  • Container names 3-63 lowercase letters, numbers and hyphens.
  • Anonymous access needs the account setting on; new accounts block it.
  • Hot, Cool (30 d), Cold (90 d), Archive (180 d, offline).

🎯 Exam tip: "Cheapest storage, can wait hours to read" = Archive.

⚠️ Watch out: Setting Archive as the account default tier (only Hot, Cool or Cold can be).

Blob Soft Delete and Versioning

Blob soft delete keeps deleted blobs (and their versions and snapshots) for 1 to 365 days so you can undelete them. Container soft delete does the same for whole containers (1 to 365 days) and restores them with their blobs. Blob versioning automatically keeps the previous version of a blob every time it's overwritten or deleted, so you recover from a bad edit by copying an older version back over the current one. Turn them on in Data management > Data protection. Microsoft recommends using them together; none of them protects against deleting the storage account (use a resource lock).

  • Portal path: storage account > Data management > Data protection.
  • Blob soft delete and container soft delete - 1 to 365 days each.
  • Portal-created accounts get 7-day soft delete by default; the CLI doesn't turn it on.

🎯 Exam tip: "Recover a blob that was overwritten" = versioning.

⚠️ Watch out: Expecting undelete to work when soft delete was off at the time of the delete.

Domain 3: Compute (20–25% of the exam)

Read and Modify ARM Templates and Bicep Files

An ARM template (JSON) and a Bicep file describe the same thing: the Azure resources you want. Both have parameters (inputs), variables (values worked out once), resources (type, API version, name, location, properties) and outputs. Bicep is shorter and the CLI compiles it to ARM JSON before Azure Resource Manager deploys it. To modify a template, change a parameter's default value or allowed values, add a parameter, or edit a resource's properties, then preview the result with what-if.

  • Templates are declarative. You describe the end state; Resource Manager works out the steps.
  • ARM JSON sections are parameters, variables, resources and outputs (plus $schema and contentVersion).
  • Bicep uses param, var, resource and output keywords and compiles to ARM JSON.

🎯 Exam tip: "Which value will be used?" = the value passed at deployment, otherwise the defaultValue.

⚠️ Watch out: Thinking Bicep deploys something different from ARM JSON. It compiles to the same JSON.

Deploy, Export and Convert Templates to Bicep

Deploy a template to a resource group with az deployment group create --template-file main.bicep (or New-AzResourceGroupDeployment, or Deploy a custom template in the portal). Preview first with what-if. The default mode is Incremental, which adds and updates resources; Complete also deletes resources in the group that the template doesn't define. To get a template from what already exists, use Export template on a resource group or resource (or az group export), or download one from Deployments history. Convert ARM JSON to Bicep with az bicep decompile.

  • CLI az deployment group create, PowerShell New-AzResourceGroupDeployment, portal Deploy a custom template.
  • Default mode is Incremental. Complete deletes resources not in the template.
  • what-if previews - + create, ~ modify, - delete, = no change.

🎯 Exam tip: "Delete resources not in the template" = Complete mode.

⚠️ Watch out: Running Complete mode without what-if and deleting resources someone else added.

Create Virtual Machines and Manage VM Sizes

You create a VM in the portal (Virtual machines › + Create), with az vm create or with New-AzVM, choosing the region, availability options, image, size, admin account and inbound ports. The size sets vCPUs, memory, maximum data disks and price; the name tells you the family, such as D for general purpose, E for memory optimised and F for compute optimised. Resizing restarts the VM. If the new size isn't available on the hardware cluster hosting the VM, deallocate it first and every size in the region becomes available.

  • Create with the portal wizard, az vm create or New-AzVM. Basics holds region, availability, image, size and admin account.
  • Size names show family, vCPUs, features and generation (Standard_D4s_v5).
  • Resizing restarts the VM. Sizes not on the current cluster need the VM deallocated first.

🎯 Exam tip: "Size is greyed out / not available" = deallocate the VM, then resize.

⚠️ Watch out: Shutting down from inside the OS and expecting billing to stop.

VM Disks and Encryption at Host

An Azure VM has an OS disk and optional data disks, both managed disks stored in Azure Storage, plus a temporary disk on the host that loses its data when the VM is deallocated or moved. Disk types are Ultra Disk, Premium SSD v2, Premium SSD, Standard SSD and Standard HDD. You can attach data disks while the VM runs and grow disks (never shrink them), but changing a disk's type needs the VM deallocated or the disk detached. Managed disks are always encrypted at rest; encryption at host also encrypts the temp disk and the disk caches on the host. Register the EncryptionAtHost feature once, deallocate the VM, then turn it on.

  • OS and data disks are managed disks; the temp disk is on the host and isn't persistent.
  • Attach and detach data disks while the VM runs. Grow disks, never shrink them.
  • Changing a disk type needs the VM deallocated or the disk detached.

🎯 Exam tip: "Encrypt the temp disk and caches" = encryption at host.

⚠️ Watch out: Keeping important data on the temporary disk.

Move a VM to Another Resource Group, Subscription or Region

To move a VM to another resource group or subscription, use Move in the portal, az resource move or Move-AzResource. The region doesn't change and the VM keeps running, but every resource ID changes, and the VM must move with its dependent resources (OS and data disks, network interface, and usually its public IP and NSG; across subscriptions the virtual network too). Both subscriptions must be in the same Microsoft Entra tenant. To move a VM to another region, use Azure Resource Mover: add resources, validate dependencies, prepare, initiate move, commit, then delete the source.

  • Resource group and subscription moves keep the region and the VM keeps running.
  • Resource IDs change. Update scripts, alerts and role assignments on the resource.
  • Move a VM with its disks and NIC; across subscriptions the VNet goes too.

🎯 Exam tip: "Move to another region" = Azure Resource Mover.

⚠️ Watch out: Expecting a resource group move to change the region.

Availability Zones, Availability Sets and VM Scale Sets

An availability set spreads VMs across fault domains (racks with their own power and network, up to 3) and update domains (rebooted one at a time, up to 20) inside one datacenter: 99.95% SLA with two or more VMs. Availability zones put VMs in separate datacenters in a region: 99.99%. A VM uses one or the other and you choose at creation. A Virtual Machine Scale Set runs identical VMs (use Flexible orchestration) across zones or fault domains, and autoscale rules add or remove instances on metrics such as Percentage CPU, between a minimum and maximum.

  • Availability set - fault domains (up to 3) and update domains (default 5, up to 20) in one datacenter, 99.95%.
  • Availability zones - separate datacenters in a region, 99.99% with VMs in two or more zones.
  • Single VM with Premium SSD or better on all disks - 99.9%.

🎯 Exam tip: "Survive a datacenter failure" = availability zones.

⚠️ Watch out: Thinking an availability set protects against a whole datacenter failing.

Azure Container Registry and Container Instances for Admins

Azure Container Registry (ACR) is your private image store. You pick a tier: Basic, Standard or Premium, and only Premium adds geo-replication and private endpoints. Apps pull with a Microsoft Entra identity that has the AcrPull role, and the admin user stays off. Azure Container Instances (ACI) runs an image as a container group in seconds, with the CPU and memory you set at creation and a restart policy of Always, OnFailure or Never. ACI bills per second and doesn't autoscale. To change CPU or memory, you recreate the group.

  • ACR tiers are Basic, Standard and Premium. Premium adds geo-replication, private endpoints and the most included storage.
  • You can change an ACR tier in place with az acr update --sku, with no downtime.
  • Pull with a managed identity or service principal that has AcrPull. Keep the admin user disabled.

🎯 Exam tip: "Replicate the registry to another region" = Premium ACR.

⚠️ Watch out: Leaving the restart policy on Always for a batch job, so it loops and keeps billing.

Provision and Scale Azure Container Apps

Azure Container Apps runs containers in a Container Apps environment without you managing Kubernetes. You size each replica with an allowed CPU and memory pair (on the Consumption profile, from 0.25 vCPU / 0.5 Gi to 4 vCPU / 8 Gi, always 2 Gi per vCPU). Scale rules (HTTP, TCP or event-based, such as a queue) add replicas between min replicas and max replicas. With min replicas 0 the app scales to zero when it's idle; CPU and memory rules can't do that. Changing scale settings creates a new revision.

  • Container apps run inside a Container Apps environment; several apps share it.
  • Consumption sizes go from 0.25 vCPU / 0.5 Gi to 4 vCPU / 8 Gi, always 2 Gi per vCPU.
  • Scale rules can be HTTP, TCP or custom (KEDA event sources). Min and max replicas bound them.

🎯 Exam tip: "Scale to zero when idle" = min replicas 0 with an HTTP or event rule.

⚠️ Watch out: Picking a CPU and memory pair that isn't allowed on Consumption.

App Service Plans, Scaling and Creating a Web App

An App Service plan is the set of VMs your web apps run on. Its pricing tier decides the instance size, how many instances you can have and which features you get: Free and Shared for testing, Basic (up to 3 instances, manual scale), Standard (up to 10, autoscale and 5 deployment slots), Premium v3 (up to 30, 20 slots, zone redundancy) and Isolated v2. Every app on a plan runs on every instance. Scale up changes the tier or size; scale out changes the instance count, by hand or with rules-based autoscale on a metric such as CPU percentage.

  • The plan is the compute. Region, OS and tier are set on the plan; the web app runs on it.
  • Basic scales out by hand to 3 instances. Standard allows 10 and autoscale. Premium v3 allows 30.
  • Standard gives 5 deployment slots, Premium v3 gives 20. Custom domains with TLS start at Basic.

🎯 Exam tip: "Scale automatically on CPU" = Standard or higher with an autoscale rule.

⚠️ Watch out: Trying to add autoscale or slots on a Basic plan.

App Service Custom Domains, Certificates and TLS

To map a custom domain to App Service, prove you own it and point it at the app. Create a TXT record named asuid.<subdomain> (or asuid for the root) holding the app's custom domain verification ID, plus a CNAME to <app>.azurewebsites.net for a subdomain or an A record to the app's IP for the root domain. Then add the custom domain on the app. Custom domains need Basic or higher for TLS (Free can't use them at all). Secure it with a free App Service managed certificate (no wildcards, not exportable), an imported Key Vault certificate or an uploaded .pfx, bound with SNI SSL. Finally turn on HTTPS Only and keep the minimum TLS version at 1.2 (the default) or higher.

  • Ownership is proven with a TXT record asuid.<subdomain> containing the custom domain verification ID.
  • Subdomains use a CNAME to <app>.azurewebsites.net; the root domain uses an A record to the app's IP.
  • Free tier has no custom domains; Shared can map a domain but can't bind a certificate; Basic and up can do both.

🎯 Exam tip: "Verify domain ownership" = TXT record asuid.<name>.

⚠️ Watch out: Trying to create a CNAME at the zone apex.

App Service Backup and Networking

App Service keeps automatic backups every hour for 30 days with no setup, and you add custom backups when you need your own schedule, retention, linked databases or a copy you can download. A custom backup goes to a blob container in a storage account in the same subscription, through a SAS URL, holds up to 10 GB and needs Basic or higher. Networking has two directions. Outbound: VNet integration lets the app reach private resources through an empty subnet (/28 or larger, /26 recommended) delegated to Microsoft.Web/serverFarms. Inbound: access restrictions allow or deny traffic by IP range, service tag or subnet in priority order, and a private endpoint gives the app a private IP inside your VNet.

  • Automatic backups run hourly, are kept 30 days and need no storage account.
  • Custom backups go to a blob container via a SAS URL, up to 10 GB, Basic tier and up, with a schedule and retention.
  • Restore over the same app, to another app or to a slot.

🎯 Exam tip: "App must reach a private database" = VNet integration (outbound).

⚠️ Watch out: Expecting VNet integration to make the app private for inbound traffic.

App Service Deployment Slots and Swaps

A deployment slot is a live copy of your web app with its own hostname (<app>-staging.azurewebsites.net), running on the same App Service plan. Slots need Standard (5 slots) or Premium v3 (20 slots). You deploy to staging, test it, then swap: App Service applies production's settings to staging, warms up its instances and only then switches traffic, so there's no cold start, and swapping again rolls back. App settings and connection strings marked Deployment slot setting stay with their slot. Custom domains, certificates and TLS settings, scale settings, IP restrictions and managed identities never swap. Swap with preview pauses after warm-up, and traffic routing can send a percentage of users to a slot.

  • Slots need Standard (5 per app) or Premium v3 (20 per app). Basic and Free have none.
  • Slots run on the same plan, so they share its instances and scale settings.
  • A swap warms up the source first, then switches routing. Swap again to roll back.

🎯 Exam tip: "No downtime when releasing" = deploy to a slot and swap.

⚠️ Watch out: Forgetting to mark production-only values (database, payment endpoint) as slot settings, so staging values reach production.

Domain 4: Networking (15–20% of the exam)

Virtual Networks, Subnets and Public IP Addresses

An Azure virtual network (VNet) is a private IP address space (for example 10.0.0.0/16) in one region and subscription, split into subnets. Azure reserves 5 addresses in every subnet (network, default gateway, two for Azure DNS and broadcast), so a /29 leaves 3 usable and a /24 leaves 251. Address spaces must not overlap anything you'll connect to. A public IP address today is the Standard SKU: always static, zone-redundant where the region has zones, and closed to inbound traffic until an NSG allows it. Basic SKU public IPs were retired on 30 September 2025.

  • A VNet is one region, one subscription, one or more CIDR ranges. VNets are free.
  • Every subnet loses 5 addresses. /29 is the smallest IPv4 subnet (3 usable).
  • Address spaces must not overlap VNets or on-premises networks you'll connect to.

🎯 Exam tip: "How many VMs fit in a /27?" = 32 - 5 = 27.

⚠️ Watch out: Forgetting the 5 reserved addresses when sizing a subnet.

Configure Virtual Network Peering and Gateway Transit

VNet peering connects two virtual networks so their resources talk on private IPs over the Microsoft backbone, in the same region or across regions (global peering) and even across subscriptions and tenants. A peering is two links, one from each side, and both must show Connected. Address spaces can't overlap. Peering is not transitive: if spoke 1 and spoke 2 are both peered with a hub, they still can't reach each other unless you peer them directly or route through an NVA in the hub. Gateway transit lets spokes use the hub's VPN or ExpressRoute gateway: set allow gateway transit on the hub's link and use remote gateways on the spoke's link.

  • Peering = two links, both must be Connected. Works across regions, subscriptions and tenants.
  • Address spaces can't overlap. Traffic stays private on the Microsoft backbone.
  • Peering is not transitive. Spoke to spoke needs direct peering or a UDR to a hub NVA.

🎯 Exam tip: "VNet1 peered to VNet2, VNet2 peered to VNet3, can VNet1 reach VNet3?" = No.

⚠️ Watch out: Creating only one side and wondering why traffic doesn't flow.

User-Defined Routes and Route Tables

Azure gives every subnet system routes (your VNet, peered VNets, 0.0.0.0/0 to the Internet). A route table holds user-defined routes (UDRs) that override them. You associate the route table with a subnet (one table per subnet, one table can serve many subnets), in the same region and subscription. Each route has an address prefix and a next hop type: Virtual appliance (needs the appliance's private IP), Virtual network gateway, Virtual network, Internet or None (drop). Azure picks the longest prefix match; on the same prefix a user route beats BGP and system routes. An NVA must have IP forwarding enabled on its NIC.

  • Route tables attach to subnets, not NICs. One per subnet, many subnets per table.
  • Same region and subscription as the VNet.
  • Next hop types - Virtual appliance (with IP), Virtual network gateway, Virtual network, Internet, None.

🎯 Exam tip: "Force internet traffic through a firewall" = 0.0.0.0/0 → Virtual appliance + firewall IP, associated with the subnet.

⚠️ Watch out: Creating a route table and never associating it with a subnet.

NSGs, Application Security Groups and Effective Rules

A network security group (NSG) holds stateful allow and deny rules (source, destination, port, protocol), checked by priority from 100 to 4096, lowest number first; the first match wins. Every NSG has default rules at 65000 and above (allow VNet, allow Azure Load Balancer, deny all inbound). You attach an NSG to a subnet, a NIC, or both. For inbound traffic the subnet NSG is evaluated first, then the NIC NSG; outbound runs the other way, and both must allow. An application security group (ASG) groups NICs so rules can target "the web servers" instead of IP addresses. Effective security rules and IP flow verify show what really applies.

  • Rules have priority 100 to 4096, lowest first, first match wins. Defaults sit at 65000+.
  • Inbound - subnet NSG then NIC NSG. Outbound - NIC NSG then subnet NSG. Both must allow.
  • NSGs are stateful. Allowed inbound traffic gets its replies back automatically.

🎯 Exam tip: "Which rule applies?" = find the lowest priority number that matches.

⚠️ Watch out: Forgetting a NIC-level NSG when you've only checked the subnet.

Connect to VMs Securely with Azure Bastion

Azure Bastion is a managed service that lets you RDP and SSH to VMs on their private IPs from the Azure portal over TLS 443, so VMs need no public IP and no open 3389 or 22 to the internet. It's deployed into a subnet named exactly AzureBastionSubnet, /26 or larger, with a Standard public IP, and it reaches VMs in its own VNet and peered VNets. SKUs are Developer (free, shared, no subnet), Basic, Standard (adds host scaling, native client support with az network bastion ssh/rdp, IP-based connection, shareable links) and Premium (adds session recording and private-only deployment).

  • Bastion gives RDP/SSH over TLS 443 to private IPs. VMs need no public IP.
  • AzureBastionSubnet, exact name, /26 or larger, plus a Standard public IP.
  • Reaches VMs in its VNet and peered VNets.

🎯 Exam tip: "Connect to VMs without public IPs, from the browser" = Azure Bastion.

⚠️ Watch out: Naming the subnet BastionSubnet or making it a /27.

Service Endpoints vs Private Endpoints for PaaS

A service endpoint is switched on per subnet (for example Microsoft.Storage). Traffic from that subnet reaches the service's public IP over the Microsoft backbone with the subnet as its identity, so the service firewall can allow just that subnet. It's free, but the service keeps a public endpoint and on-premises can't use it. A private endpoint is a NIC with a private IP in your subnet that maps to one resource and sub-resource (such as the blob service of one storage account) through Azure Private Link. It works from peered VNets and on-premises, lets you disable public access, and needs a privatelink private DNS zone (privatelink.blob.core.windows.net) linked to the VNet.

  • Service endpoint - per subnet, free, service keeps its public IP, firewall allows the subnet.
  • Service endpoints don't work from on-premises.
  • Private endpoint - private IP NIC for one resource + sub-resource, through Private Link.

🎯 Exam tip: "From on-premises without the internet" = private endpoint.

⚠️ Watch out: Creating a private endpoint without private DNS, so names still resolve publicly.

Azure DNS: Public and Private Zones and Records

Azure DNS hosts public DNS zones on Microsoft's global name servers. You delegate your domain by setting the zone's four name servers as NS records at your registrar (Azure DNS doesn't sell domains). You add record sets (A, AAAA, CNAME, MX, TXT, SRV, CAA, NS, PTR). A CNAME can't sit at the zone apex, so use an alias record, which points an A, AAAA or CNAME at an Azure resource such as a public IP, Traffic Manager or Front Door and follows it when it changes. Private DNS zones answer only virtual networks linked to them; a link with auto-registration creates A records for VMs in that VNet, and a VNet can have only one registration zone. VMs query Azure DNS at 168.63.129.16.

  • Public zones are hosted on 4 Azure name servers. Delegate at the registrar with NS records.
  • Azure DNS hosts zones; it doesn't register domains.
  • CNAME not allowed at the apex. Use an alias A record to a public IP, Front Door or Traffic Manager.

🎯 Exam tip: "Make the domain resolve through Azure DNS" = update the NS records at the registrar.

⚠️ Watch out: Forgetting to update NS records at the registrar.

Configure and Troubleshoot Azure Load Balancer

Azure Load Balancer spreads TCP and UDP flows (layer 4) from a frontend IP to a backend pool of VMs or scale set instances. A public load balancer uses a Standard public IP; an internal one uses a private IP in a subnet. A load-balancing rule maps a frontend port to a backend port and uses a health probe (TCP, HTTP or HTTPS) to send new flows only to healthy instances. Use the Standard SKU (Basic was retired on 30 September 2025): it's zone-redundant, needs backends in one VNet, and is secure by default, so an NSG must allow the traffic. Probes come from 168.63.129.16 (the AzureLoadBalancer tag); blocking it marks backends Down.

  • Layer 4 (TCP/UDP). Frontend, backend pool, health probe, load-balancing rule.
  • Public frontend = Standard public IP. Internal frontend = private IP in a subnet.
  • Standard only (Basic retired 30 September 2025). Zone-redundant, one VNet per pool, secure by default.

🎯 Exam tip: "Distribute TCP traffic across VMs, keep the database tier private" = internal load balancer.

⚠️ Watch out: No NSG on a Standard load balancer's backends, so nothing gets in.

Troubleshoot Virtual Network Connectivity

When VM A can't reach B, check in order: routing, then NSGs, then name resolution, then the app. Azure Network Watcher (enabled automatically per region) has a tool for each question. Connection troubleshoot tests A to B on a port and reports the failing hop. Next hop and the NIC's effective routes show where a packet goes (next hop None means it's dropped, often because peering isn't transitive). IP flow verify and effective security rules name the NSG rule that allows or denies a flow. Also check peering state (Connected), IP forwarding on NVAs, overlapping ranges and DNS.

  • Order - routes, NSGs, DNS, then the app.
  • Connection troubleshoot = end-to-end test with the failing hop.
  • Next hop / effective routes = where the packet goes. None = dropped.

🎯 Exam tip: "Which NSG rule blocks the traffic?" = IP flow verify (or effective security rules).

⚠️ Watch out: Editing NSGs when the real problem is a route (next hop None).

Domain 5: Monitor & Backup (10–15% of the exam)

Azure Monitor Metrics and Diagnostic Settings

Platform metrics are numbers every Azure resource sends to Azure Monitor about once a minute, with no setup, and Azure keeps them for 93 days. Resource logs (such as StorageRead or Key Vault AuditEvent) aren't kept at all until you create a diagnostic setting that sends them to a Log Analytics workspace, a storage account, Event Hubs or a partner solution. The activity log records control-plane actions (who created, changed or deleted what) for 90 days. A VM has no resource logs: its guest OS data comes through the Azure Monitor Agent and a data collection rule.

  • Platform metrics are automatic and kept 93 days. Metrics explorer charts them with aggregation, filtering and splitting.
  • Resource logs need a diagnostic setting. Destinations are a Log Analytics workspace, a storage account, Event Hubs or a partner solution.
  • Storage logs are set on each service (blobServices/default and so on), not on the account.

🎯 Exam tip: "Query the logs with KQL" = destination Log Analytics workspace. "Cheapest long-term archive" = storage account. "Stream to a third-party SIEM" = Event Hubs.

⚠️ Watch out: Expecting resource logs from before the diagnostic setting existed. Collection starts when you save it.

Query Azure Monitor Logs with KQL

Kusto Query Language (KQL) is how you read logs in a Log Analytics workspace. A query starts with a table (AzureActivity, AzureDiagnostics, StorageBlobLogs, Heartbeat, InsightsMetrics) and pipes rows through operators, top to bottom: where filters, summarize aggregates (count(), avg() by a column or bin(TimeGenerated, 5m)), project picks columns, order by sorts, take limits and render draws a chart. Run it in Logs, then save it, pin it to a dashboard or turn it into a log search alert.

  • A query starts with a table and pipes rows through operators, top to bottom.
  • where filters, summarize groups and aggregates, project picks columns, order by sorts, take limits, render charts.
  • bin(TimeGenerated, 5m) buckets time for charts; ago(1h) gives a time to filter on.

🎯 Exam tip: "Count per 5 minutes and chart it" = summarize count() by bin(TimeGenerated, 5m) | render timechart.

⚠️ Watch out: Putting the table name after the first pipe. The table always comes first.

Alert Rules, Action Groups and Alert Processing Rules

An alert rule watches a signal (a metric, a log search query, the activity log or Service and Resource Health) on a scope and fires when its condition is true, with a severity from Sev0 to Sev4. When it fires, it calls one or more action groups: reusable lists of notifications (email, SMS, push, voice, email to an Azure Resource Manager role) and actions (webhook, Logic App, Azure Function, Automation runbook, Event Hubs, ITSM). An alert processing rule acts on alerts that already fired: it can suppress notifications (for example during a recurring maintenance window) or add action groups to every alert in a scope.

  • Alert rule = scope + signal + condition + severity. Types - metric, log search, activity log (including Service Health and Resource Health), plus smart detection and Prometheus.
  • Action groups are global and reusable. Notifications - email, SMS, push, voice, ARM role email. Actions - webhook, secure webhook, Logic App, Function, runbook, Event Hubs, ITSM.
  • The action group display name (short name) is at most 12 characters.

🎯 Exam tip: "Notify people and call a webhook" = action group. "Mute notifications during maintenance" = alert processing rule with suppress notifications.

⚠️ Watch out: Editing or disabling dozens of alert rules for a maintenance window instead of one processing rule.

Azure Monitor Insights, Network Watcher and Connection Monitor

Azure Monitor Insights are ready-made monitoring views per service. VM insights uses the Azure Monitor Agent and a data collection rule to show performance trends and a dependency Map. Storage insights and Network insights are built on platform metrics and need no setup. Network Watcher is the regional network toolbox: Topology, Connection monitor, IP flow verify, NSG diagnostics, Next hop, Effective security rules, Connection troubleshoot, Packet capture, VPN troubleshoot and flow logs. Connection monitor runs TCP, HTTP or ICMP tests from an agent on a source VM to a destination, records checks failed (%) and round-trip time, and can raise an alert.

  • VM insights needs the Azure Monitor Agent and a data collection rule; it shows Performance and an optional dependency Map.
  • Storage insights and Network insights come from platform metrics, so there's nothing to install.
  • Network Watcher is regional and enabled automatically with your first virtual network in a region (resource group NetworkWatcherRG).

🎯 Exam tip: "Continuously monitor latency and packet loss between a VM and an endpoint" = Connection monitor.

⚠️ Watch out: Expecting VM insights data without an agent or a data collection rule.

Recovery Services Vaults, Backup Vaults and Backup Policies

Azure Backup stores data in two kinds of vault. A Recovery Services vault protects Azure VMs, SQL Server and SAP HANA in VMs, Azure Files, on-premises files through the MARS agent, and also hosts Azure Site Recovery. A Backup vault protects Azure Blobs, managed disks, Azure Database for PostgreSQL flexible server and AKS. For VM backup the vault must be in the same region as the VM, and you pick storage redundancy (geo-redundant by default, locally or zone-redundant) before protecting anything. A backup policy sets the schedule (Standard: daily; Enhanced: every few hours), instant restore snapshot retention and daily, weekly, monthly and yearly retention.

  • Recovery Services vault - Azure VMs, SQL/SAP HANA in VMs, Azure Files, MARS, MABS/DPM, and Site Recovery.
  • Backup vault - Azure Blobs, managed disks, PostgreSQL flexible server, AKS. Its managed identity needs a role on each data source.
  • VM backup needs the vault in the VM's region. Redundancy (GRS default, LRS, ZRS) is set before protecting items; Cross Region Restore needs GRS.

🎯 Exam tip: "Back up blob containers" or "managed disk snapshots on a schedule" = Backup vault. "Back up a VM", "Azure Files" or "Site Recovery" = Recovery Services vault.

⚠️ Watch out: Creating one vault for VMs in several regions.

Back Up and Restore, Backup Reports and Alerts

With a VM protected, you can run Backup now with a retain until date, and every backup or restore shows up in Backup Jobs. To restore a VM you pick a recovery point and then Create new virtual machine, Restore disks (then build the VM yourself), or Replace existing (swap the disks of the existing VM). File Recovery mounts a recovery point through a script so you copy back single files. Deleted backup data stays in soft delete for 14 days and can be undeleted. Backup reports need the vault's logs sent to a Log Analytics workspace in resource-specific mode, and Azure Monitor alerts (built-in for job failures and security events, or metric alerts on backup health) notify people through action groups.

  • Backup now creates an on-demand recovery point with a retain-until date. Backup Jobs shows progress and failures.
  • VM restore options - Create new VM, Restore disks, Replace existing, plus Cross Region Restore with GRS.
  • File Recovery mounts a recovery point through a script; unmount when done (it closes itself after 12 hours).

🎯 Exam tip: "Recover one file without affecting the VM" = File Recovery. "Change the VM size or network before it starts" = Restore disks.

⚠️ Watch out: Restoring a whole VM to get one file back.

Azure Site Recovery: Replicate and Fail Over to Another Region

Azure Site Recovery (ASR) continuously replicates an Azure VM's disks to another region, so you can run the VM there within minutes if the primary region fails. You enable it from the VM's Disaster recovery blade, and the Recovery Services vault must be in the target region. A replication policy sets how long recovery points are kept (up to 15 days) and how often app-consistent snapshots are taken; crash-consistent points come every 5 minutes. You rehearse with a test failover into an isolated virtual network and then clean it up. In a real outage you fail over (choosing a recovery point such as Latest processed for the lowest RTO), commit, then re-protect to replicate back, and later fail back the same way.

  • ASR replicates Azure VMs to another region continuously. Enable it on the VM's Disaster recovery blade or from the vault.
  • The Recovery Services vault is in the target region. A cache storage account is in the source region. The Mobility service extension is installed for you.
  • Replication policy - recovery point retention up to 15 days, app-consistent snapshot frequency. Crash-consistent points every 5 minutes.

🎯 Exam tip: "Validate the DR plan without affecting production" = test failover to an isolated VNet, then cleanup.

⚠️ Watch out: Putting the vault in the same region as the source VM.

Install MSDEVBUILD Azure

Free · no account · works offline

Save the whole course for offline ›

Hi, I’m your Nimbus

Your study buddy. Pick what we do next.

MSDEVBUILD · Multi-Stack Dev Build

Sign in to MSDEVBUILD

One account for Azure certifications and the blog: sign in here and you are signed in on both. Your XP, streak, practice deck and certificate stay in sync on every device. Optional: everything works without an account.