Your profile

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

Try it yourself

AZ-104 Practice Labs

A safe, simulated Azure portal and Cloud Shell in your browser. Create users and assign roles, apply policies, secure storage, deploy Bicep, build VMs, scale sets and web apps, wire VNets, routes and load balancers, and back it all up.

  • ✅ No Azure account
  • ✅ No credit card
  • ✅ Nothing to install
  • ✅ Zero cost, zero risk

Azure Cloud Shell (practice)

learner@Azure:~$ az role assignment create --assignee anna@contoso.com --role "Virtual Machine Contributor" -g rg-web

"roleDefinitionName": "Virtual Machine Contributor"

learner@Azure:~$ az storage account update -n stcontosoprod -g rg-data --default-action Deny

"networkRuleSet": { "defaultAction": "Deny" }

learner@Azure:~$ ▌

Guided labs

Lab 1 · Intermediate · ⏱ 12 min · ⌨️ Cloud Shell

Users, dynamic groups, licenses and guests

Contoso hired Sam for the sales team. Create the account, see why the license won't stick yet, fix the user's properties so a dynamic group picks Sam up on its own, license the whole group in one go, then invite a partner as a guest.

Start lab ❯

Lab 2 · Intermediate · ⏱ 8 min · ⌨️ Cloud Shell

Roll out self-service password reset to a pilot group

The helpdesk spends Monday mornings resetting passwords. Turn on SSPR for a pilot group, require two methods, and watch a user get stopped until they've registered enough of them.

Start lab ❯

Lab 3 · Intermediate · ⏱ 14 min · ⌨️ Cloud Shell

Role assignments across management groups, subscriptions and resource groups

Ben needs to read everything in the company and manage one app. Put the subscription under a management group, give Ben Reader high up and Contributor low down, read his effective access, see what Contributor still can't do, and move a resource between resource groups.

Start lab ❯

Lab 4 · Intermediate · ⏱ 15 min · ⌨️ Cloud Shell

Policy, locks, tag inheritance and a budget

Finance wants every resource tagged with its cost center, nothing outside Europe, production frozen during the audit, and an alert before the month's spend runs away. Build all four guardrails and see each one bite.

Start lab ❯

Lab 5 · Intermediate · ⏱ 14 min · ⌨️ Cloud Shell

Lock down a storage account: firewall, SAS and keys

Contoso keeps invoices in a storage account that anyone on the internet can reach with the right key. Close the front door, let only the app subnet and the office in, hand auditors a SAS you can revoke on your own terms, then rotate a key the safe way.

Start lab ❯

Lab 6 · Intermediate · ⏱ 14 min · ⌨️ Cloud Shell

Undo mistakes: soft delete, versioning and share snapshots

Someone at Contoso deletes a contract, someone else overwrites one, and a whole file share disappears on a Friday afternoon. Find out what you can and can't get back, then switch on the protection that makes each mistake a two-minute fix.

Start lab ❯

Lab 7 · Intermediate · ⏱ 16 min · ⌨️ Cloud Shell

Build an account: encryption, tiers, redundancy and replication

Contoso Media needs a photo account that is locked down on day one, ages old files into cheaper tiers, uses its own encryption key, survives a zone failure and keeps a copy in another region. Build it one decision at a time.

Start lab ❯

Lab 8 · Intermediate · ⏱ 12 min · ⌨️ Cloud Shell

Azure Files sign-in and moving data with AzCopy

Contoso HR wants staff to open the HR share with their normal sign-in, no shared keys on sticky notes. Then the team needs last year's documents copied up to Blob Storage. Hit each wall you'll meet in real life and get past it.

Start lab ❯

Lab 9 · Intermediate · ⏱ 12 min · ⌨️ Cloud Shell

Read, edit, deploy and export a Bicep file

Contoso keeps its storage accounts in Bicep. Read the file, change its default SKU, preview the change with what-if, deploy it, see what Complete mode would delete, then export the resource group and turn the JSON back into Bicep.

Start lab ❯

Lab 10 · Intermediate · ⏱ 12 min · ⌨️ Cloud Shell

Create a VM, resize it, add a disk and encrypt at host

Build Contoso's app server, then do the jobs an admin gets every week: a bigger size, a data disk, encryption at host and a cheaper disk tier. Some of these need the VM deallocated, and the shell will tell you when you forget.

Start lab ❯

Lab 11 · Intermediate · ⏱ 12 min · ⌨️ Cloud Shell

Move a VM to another resource group and another region

Contoso is reorganising: the reporting VM moves to another resource group, and then a copy has to run in West US 2. You'll see which parts of a VM travel with it, and what Resource Mover checks before it copies anything.

Start lab ❯

Lab 12 · Intermediate · ⏱ 12 min · ⌨️ Cloud Shell

Availability sets, zones and an autoscaling scale set

Contoso's web tier must survive a rack failure and a datacenter failure, and grow on busy afternoons. Build an availability set, zonal VMs and a Flexible scale set across three zones with CPU autoscale.

Start lab ❯

Lab 13 · Intermediate · ⏱ 12 min · ⌨️ Cloud Shell

Containers: registry, instances and Container Apps

Contoso wants a private registry for its images, a nightly invoice job that runs once and stops, and an orders API that scales with traffic. Set up all three the way an administrator would, and pick the right size and scaling for each.

Start lab ❯

Lab 14 · Intermediate · ⏱ 12 min · ⌨️ Cloud Shell

App Service: plans, scaling and deployment slots

Contoso Shop runs on a small Basic plan. Black Friday is coming. Scale it by hand, find out what Basic can't do, then move to Standard for autoscale and a staging slot you can swap into production with no downtime.

Start lab ❯

Lab 15 · Intermediate · ⏱ 10 min · ⌨️ Cloud Shell

App Service: custom domain, certificate and TLS

The shop should answer on www.contoso-learn.com over HTTPS only. Prove you own the domain with DNS records, add a free managed certificate, bind it, and refuse old TLS versions.

Start lab ❯

Lab 16 · Intermediate · ⏱ 10 min · ⌨️ Cloud Shell

App Service: backups and networking

The finance portal must be backed up daily, call a database that only lives on a private network, and only accept traffic from the office. Set up backups, outbound VNet integration and inbound access restrictions.

Start lab ❯

Lab 17 · Intermediate · ⏱ 15 min · ⌨️ Cloud Shell

Build a hub and spoke network

Contoso wants one hub VNet for shared services and two spoke VNets for apps. Build the address plan, give the hub a static public IP and a VPN gateway, peer everything, then find out the hard way that spoke 1 can't talk to spoke 2 until you route it through a firewall in the hub.

Start lab ❯

Lab 18 · Intermediate · ⏱ 12 min · ⌨️ Cloud Shell

NSGs, ASGs and effective rules

The web tier must take HTTPS from the internet and nothing else. Write the subnet rule against an application security group instead of IP addresses, then watch a second NSG on the NIC quietly block it. Use IP flow verify and effective rules to prove what's happening, and fix it.

Start lab ❯

Lab 19 · Intermediate · ⏱ 15 min · ⌨️ Cloud Shell

Private access: endpoints, DNS and Bastion

Fabrikam's app VMs must reach a storage account without the public internet, and admins must reach the VMs without public IPs. Compare a service endpoint with a private endpoint, see why a private endpoint without private DNS does nothing, and stand up Azure Bastion (after a subnet that's too small).

Start lab ❯

Lab 20 · Intermediate · ⏱ 14 min · ⌨️ Cloud Shell

Public load balancer with DNS and a failing backend

Put two web servers behind a Standard public load balancer, give it a friendly name with an Azure DNS alias record, then troubleshoot when one server drops out of rotation because an NSG rule blocks the health probe.

Start lab ❯

Lab 21 · Intermediate · ⏱ 12 min · ⌨️ Cloud Shell

Metrics, diagnostic settings and KQL

Contoso's storage account is getting odd 403 errors and nobody can say who's calling it. Read the platform metrics you get for free, find out what a diagnostic setting can and can't collect, route the blob logs to a Log Analytics workspace and ask KQL who failed.

Start lab ❯

Lab 22 · Intermediate · ⏱ 14 min · ⌨️ Cloud Shell

Alerts, action groups, Insights and Connection monitor

The on-call team wants a text when the app VM runs hot, but not at 23:00 on a Saturday when patching reboots everything. Wire an alert to an action group, mute it with a processing rule, turn on VM insights and watch the app-to-SQL path with Connection monitor until someone breaks it.

Start lab ❯

Lab 23 · Intermediate · ⏱ 14 min · ⌨️ Cloud Shell

Back up and restore a VM with a Recovery Services vault

Contoso's ERP VM has no backup. Build a vault in the right region, give it a nightly policy with 60 days of retention, take the first backup, restore one file and a whole VM, send the vault's logs to a workspace for reports, then see how soft delete saves you when someone deletes the backups.

Start lab ❯

Lab 24 · Intermediate · ⏱ 14 min · ⌨️ Cloud Shell

Backup vault for blobs and Site Recovery failover

Two jobs for one afternoon. Protect the contracts storage account with a Backup vault (and find out what the vault's identity needs first), then replicate the ERP VM to West US 2, run a disaster recovery drill that doesn't touch production, and do a real failover, commit and re-protect.

Start lab ❯

Lab 25 · Beginner · ⏱ 6 min · ⌨️ Cloud Shell

The resource group that won’t die

Someone protected rg-legacy long ago and forgot. Find out what is blocking the delete, remove it the right way and finish the clean-up.

Start lab ❯

Lab 26 · Intermediate · ⏱ 8 min · ⌨️ Cloud Shell

The storage account that says no

The keys work, so this isn’t authentication. Somebody locked the account’s network down. Let the right callers back in without opening it to the whole internet.

Start lab ❯

Lab 27 · Beginner · ⏱ 5 min · ⌨️ Cloud Shell

The licence that won’t stick

The licence exists and there are seats. Something on Priya’s account is missing. Find it, fix it and assign the licence.

Start lab ❯

Lab 28 · Intermediate · ⏱ 5 min · ⌨️ Cloud Shell

Slow image pulls in Europe

Geo-replication would fix the latency, but the registry refuses it. Work out why and make the replica happen.

Start lab ❯

Lab 29 · Intermediate · ⏱ 7 min · ⌨️ Cloud Shell

The website that times out

The VM is healthy, so look at the network path. An NSG with no custom rules only allows traffic from inside the virtual network and from the load balancer probe.

Start lab ❯

Free sandbox

No tasks, no rules. Create anything, break anything, and explore the portal and Cloud Shell freely. Nothing here costs real money.

Open sandbox ❯

Hands-On Labs for every exam section

Pick the AZ-104 section you're studying and practise it straight away.

Domain 1: Identity & Governance

Domain 2: Storage

Domain 3: Compute

Domain 4: Networking

Domain 5: Monitor & Backup

Ready for the real thing?

The simulator teaches the ideas and the clicks. When you want to try real Azure, Microsoft Learn's free AZ-104 training modules include hands-on exercises. Explore Microsoft Learn.

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.