🔒 Guided

Pre-launch preview. Authorised access only.

Incorrect code

Guided by A Guide to Cloud
Explore AB-900 AI-901
Guided AZ-900 Domain 2
Domain 2 — Module 4 of 11 36%
11 of 26 overall

AZ-900 Study Guide

Domain 1: Describe Cloud Concepts

  • What is Cloud Computing? Free
  • Cloud Models: Public, Private, and Hybrid Free
  • Cloud Pricing: Consumption, Serverless, and Pay-as-You-Go Free
  • High Availability and Scalability Free
  • Reliability, Security, and Manageability Free
  • IaaS, PaaS, and SaaS Explained Free
  • Choosing the Right Cloud Service Free

Domain 2: Describe Azure Architecture and Services

  • Azure Regions, Zones, and Datacenters
  • Resources, Resource Groups, and Subscriptions
  • Azure Virtual Machines
  • Azure Compute: Containers, Functions, and App Service
  • Azure Networking: VNets, Subnets, and Peering
  • Connecting to Azure: VPNs, ExpressRoute, and DNS
  • Azure Storage Services
  • Data Migration: Moving to Azure
  • Microsoft Entra ID: Your Identity Hub
  • Authentication and External Identities
  • Azure Security: RBAC, Zero Trust, and Defender

Domain 3: Describe Azure Management and Governance

  • What Affects Your Azure Bill
  • Pricing Calculators: TCO and Azure Pricing
  • Cost Management and Tags
  • Azure Governance: Purview, Policy, and Locks
  • The Azure Portal and Cloud Shell
  • Infrastructure as Code: ARM, Bicep, and Arc
  • Azure Advisor and Service Health
  • Azure Monitor: Logs, Alerts, and Insights

AZ-900 Study Guide

Domain 1: Describe Cloud Concepts

  • What is Cloud Computing? Free
  • Cloud Models: Public, Private, and Hybrid Free
  • Cloud Pricing: Consumption, Serverless, and Pay-as-You-Go Free
  • High Availability and Scalability Free
  • Reliability, Security, and Manageability Free
  • IaaS, PaaS, and SaaS Explained Free
  • Choosing the Right Cloud Service Free

Domain 2: Describe Azure Architecture and Services

  • Azure Regions, Zones, and Datacenters
  • Resources, Resource Groups, and Subscriptions
  • Azure Virtual Machines
  • Azure Compute: Containers, Functions, and App Service
  • Azure Networking: VNets, Subnets, and Peering
  • Connecting to Azure: VPNs, ExpressRoute, and DNS
  • Azure Storage Services
  • Data Migration: Moving to Azure
  • Microsoft Entra ID: Your Identity Hub
  • Authentication and External Identities
  • Azure Security: RBAC, Zero Trust, and Defender

Domain 3: Describe Azure Management and Governance

  • What Affects Your Azure Bill
  • Pricing Calculators: TCO and Azure Pricing
  • Cost Management and Tags
  • Azure Governance: Purview, Policy, and Locks
  • The Azure Portal and Cloud Shell
  • Infrastructure as Code: ARM, Bicep, and Arc
  • Azure Advisor and Service Health
  • Azure Monitor: Logs, Alerts, and Insights
Domain 2: Describe Azure Architecture and Services Premium ⏱ ~12 min read

Azure Compute: Containers, Functions, and App Service

VMs aren't the only compute option. Azure offers containers for portable apps, Functions for serverless code, and App Service for managed web hosting. Here's when to use each.

Beyond VMs — more ways to run code

☕ Simple explanation

Think of three ways to ship a product.

Virtual machines = renting a whole warehouse. You control everything inside, but you pay for the entire space even if you only fill half of it.

Containers = shipping containers. Your product is packaged with everything it needs. You can move the container to any ship (any server) and it works the same everywhere.

Functions (serverless) = a courier service. You hand over the package, they deliver it. You don’t own a warehouse or a shipping container — you just pay per delivery.

Each approach gives you less control but less to manage.

Azure provides multiple compute options at different levels of abstraction:

Virtual Machines: Full OS control. You manage the OS, runtime, and applications. IaaS — most flexibility, most responsibility.

Containers: Lightweight, portable units that package an application with its dependencies. Multiple containers share the host OS kernel, making them faster to start and more efficient than VMs. Azure offers Azure Container Instances (ACI) for simple containers and Azure Kubernetes Service (AKS) for orchestrating containers at scale.

Azure Functions: Serverless compute that executes code in response to events. You write individual functions; Azure manages all infrastructure. Charged per execution, with zero cost when idle.

Azure App Service: Fully managed PaaS for hosting web apps, REST APIs, and mobile back-ends. Supports .NET, Java, Node.js, Python, PHP, and Ruby.

Compute options compared

Azure compute options compared
FeatureVMsContainersFunctionsApp Service
Service typeIaaSIaaS/PaaSServerless (PaaS)PaaS
You manageOS, apps, dataApp and dependenciesJust codeApp code and config
Startup timeMinutesSecondsMillisecondsSeconds
ScalingManual or Scale SetsKubernetes or manualAutomatic (0 to thousands)Built-in auto-scale
Cost modelPer-second runningPer-second runningPer-executionPer-hour (plan-based)
Best forLegacy apps, full OS controlMicroservices, portable appsEvent-driven, intermittent tasksWeb apps, APIs, mobile backends

Containers — portable and lightweight

A container packages an application with everything it needs to run — code, libraries, runtime, and settings. Unlike a VM, a container doesn’t include a full operating system — it shares the host OS kernel.

FeatureVMContainer
Includes OS?Yes — full OS per VMNo — shares host OS kernel
SizeGigabytesMegabytes
StartupMinutesSeconds
IsolationHardware-levelProcess-level
Density10-20 per physical host100s per physical host

Azure container services

ServiceWhat It DoesBest For
Azure Container Instances (ACI)Run a single container quickly — no orchestrationSimple tasks, dev/test, batch jobs
Azure Kubernetes Service (AKS)Orchestrate hundreds of containers at scaleMicroservices, complex applications

Kai’s startup side-project uses ACI to run a web scraper container. It starts in seconds, runs for 2 minutes, and costs fractions of a cent. No VM needed.

Azure Functions — serverless compute

Azure Functions run small pieces of code in response to events — an HTTP request, a timer, a message in a queue, a file upload.

Key characteristics:

  • Event-driven — code runs when triggered, not continuously
  • Auto-scaling — from zero to thousands of instances
  • Pay-per-execution — first 1 million executions/month are free
  • Stateless by default — each execution is independent

Common triggers:

TriggerExample
HTTP requestAPI endpoint that processes form submissions
TimerRun a cleanup script every night at midnight
Queue messageProcess an order when a message arrives
Blob storageGenerate a thumbnail when an image is uploaded
ℹ️ Durable Functions

Standard Azure Functions are stateless — they don’t remember previous executions. Durable Functions extend this with stateful workflows:

  • Chain multiple functions together
  • Wait for external events
  • Run parallel operations and aggregate results

The AZ-900 exam rarely goes this deep, but know that “stateless” has an exception with Durable Functions.

Azure App Service — managed web hosting

App Service is the PaaS web hosting platform in Azure. You deploy your code; Azure handles the server, OS, scaling, and patching.

Supports: .NET, Java, Node.js, Python, PHP, Ruby, and custom containers

Features:

  • Built-in auto-scaling and load balancing
  • CI/CD integration (GitHub, Azure DevOps)
  • Custom domains and SSL certificates
  • Deployment slots (test in staging before swapping to production)

Choosing the right compute for each character

CharacterNeedBest Compute Option
Summit ConstructionLegacy project management app on Windows ServerVMs — needs full OS control
KaiWeb API for university project, intermittent trafficAzure Functions — serverless, near-zero cost
Peak RoastersOnline ordering website, needs to be always-onApp Service — managed web hosting, easy deployment
Harbour HealthMicroservices architecture for patient portalAKS (containers) — orchestrated container platform
💡 Exam tip: Matching scenarios to compute

The exam loves “which compute option should you use?” questions. Key patterns:

  • “Legacy app” or “specific OS” → VM
  • “Without managing servers” or “deploy code only” → App Service or Functions
  • “Event-driven” or “runs occasionally” → Functions
  • “Microservices” or “portable across environments” → Containers (ACI or AKS)
  • “Web app” or “REST API” → App Service
  • “Batch processing at scale” → Containers or Functions

🎬 Video walkthrough

🎬 Video coming soon

Azure Compute Options — AZ-900

Azure Compute Options — AZ-900

~10 min

Flashcards

Question

How are containers different from VMs?

Click or press Enter to reveal answer

Answer

Containers share the host OS kernel and package only the app and its dependencies. They're smaller (MBs vs GBs), start faster (seconds vs minutes), and you can run hundreds on one host. VMs include a full OS and provide hardware-level isolation.

Click to flip back

Question

What is Azure App Service?

Click or press Enter to reveal answer

Answer

A fully managed PaaS for hosting web apps, REST APIs, and mobile backends. Supports multiple languages (.NET, Java, Node.js, Python, PHP, Ruby). Azure handles the OS, patching, scaling, and load balancing.

Click to flip back

Question

When should you use Azure Functions?

Click or press Enter to reveal answer

Answer

For event-driven, intermittent workloads — code that runs in response to triggers (HTTP requests, timers, queue messages). Best when you want zero cost when idle and automatic scaling.

Click to flip back

Question

What is Azure Kubernetes Service (AKS)?

Click or press Enter to reveal answer

Answer

A managed container orchestration service for deploying and managing containerised applications at scale. Best for microservices architectures with many containers that need load balancing, scaling, and self-healing.

Click to flip back

Knowledge Check

Knowledge Check

Kai wants to build a small API that runs occasionally — processing 50-100 requests per day. They want the cheapest option with no server management. Which Azure compute service is BEST?

Knowledge Check

Harbour Health is building a new patient portal using a microservices architecture with 12 independent services. Which compute option is BEST suited?


Next up: Azure Networking — virtual networks, subnets, and VNet peering.

← Previous

Azure Virtual Machines

Next →

Azure Networking: VNets, Subnets, and Peering

Guided

I learn, I simplify, I share.

A Guide to Cloud YouTube Feedback

© 2026 Sutheesh. All rights reserved.

Guided is an independent study resource and is not affiliated with, endorsed by, or officially connected to Microsoft. Microsoft, Azure, and related trademarks are property of Microsoft Corporation. Always verify information against Microsoft Learn.