AZ-900 Practice Test

โ–ถ

AZ-900 Azure Compute Services

Azure compute is one of the most heavily tested domains on the AZ-900 exam. Microsoft tests your ability to choose the right compute service for a given scenario โ€” not deep technical configuration. This guide covers each major compute service, when to use it, and the IaaS vs PaaS distinction that underpins every exam question. Use it alongside our AZ-900 practice tests to reinforce each concept before exam day.

Azure Compute Services Overview

๐Ÿ”ด Virtual Machines โ€“ IaaS
  • Type: Infrastructure as a Service
  • Use when: Full OS control needed
  • Exam tip: You manage OS, patches, runtime
๐ŸŸ  App Service โ€“ PaaS
  • Type: Platform as a Service
  • Use when: Web apps, APIs, mobile backends
  • Exam tip: No OS management required
๐ŸŸก Azure Functions โ€“ Serverless
  • Type: Serverless / event-driven
  • Use when: Short-running event-triggered code
  • Billing: Pay per execution
๐ŸŸข Containers
  • ACI: Single containers, no orchestration
  • AKS: Kubernetes-managed container clusters
  • Exam tip: ACI=simple, AKS=complex/scalable
Azure Virtual Machines
Azure Virtual Machines (VMs) are the foundational IaaS compute offering. When you create a VM, you get a virtualized server in the cloud where you control the operating system, installed software, security patches, and runtime environment. This maximum control comes with maximum responsibility โ€” the AZ-900 exam frequently tests this trade-off. VMs are the right choice when you need to lift-and-shift an existing on-premises server to the cloud without refactoring the application, or when your workload requires a specific OS configuration that a managed service cannot provide. Key VM concepts for AZ-900: - Availability Sets โ€” protect VMs from rack-level failures by distributing across fault and update domains - Availability Zones โ€” protect against datacenter failure by placing VMs in separate physical zones within a region - VM Scale Sets โ€” automatically increase or decrease the number of VM instances based on demand - Azure Spot VMs โ€” use unused Azure capacity at steep discounts, but can be evicted when capacity is needed
AZ-900 Exam Tip: VMs vs Managed Services
If an exam question says the company wants to avoid managing the operating system, VMs are wrong. The answer will be App Service, Azure Functions, or another PaaS/serverless option. If the question says they need full OS control or are lifting an existing server workload, VMs are correct.
App Service, Containers, and Kubernetes
When developers want to deploy web applications without managing servers, Azure App Service is the go-to PaaS solution. App Service handles OS patching, load balancing, auto-scaling, and SSL certificates automatically. You simply deploy your code (Node.js, Python, .NET, Java, PHP, or containers) and Azure runs it. App Service is the AZ-900 answer whenever a scenario describes a company that wants to run a web app or REST API without worrying about the underlying infrastructure. It supports continuous deployment from GitHub, Azure DevOps, and other repositories. For containerized workloads, Azure offers two core services: Azure Container Instances (ACI) is the simplest way to run a container in Azure. There's no cluster to manage โ€” you define the container image, CPU, and memory, and ACI starts it within seconds. ACI is PaaS and suits short-lived, single-container tasks, batch jobs, and testing scenarios. Azure Kubernetes Service (AKS) is a fully managed Kubernetes orchestration platform. It suits complex, multi-container applications that need auto-scaling, rolling updates, service discovery, and high availability. AKS is the answer when an exam question mentions Kubernetes, microservices at scale, or orchestration. Also covered in AZ-900 is Azure Virtual Desktop โ€” a desktop and application virtualization service that lets users run a full Windows desktop environment from any device. It's often tested in scenarios involving remote work, bring-your-own-device (BYOD) policies, or centralizing application delivery. Read more about Azure deployment options in our AZ-900 complete guide.
ACI vs AKS: The Fast Decision Rule
ACI: one container, no orchestration needed, simple and fast. AKS: many containers, need Kubernetes orchestration, auto-scaling, and cluster management. The AZ-900 exam uses these two to test whether you understand the difference between simple container hosting and enterprise container orchestration.
Serverless Computing and Azure Functions
Serverless computing means you write and deploy code without thinking about servers at all โ€” Azure allocates compute dynamically when your code runs and releases it immediately after. Azure Functions is the primary serverless offering on Azure. Functions are triggered by events: an HTTP request, a message arriving in a storage queue, a timer schedule, a new file in blob storage, and many others. Each function execution is independent and stateless. Billing is based on the number of executions and their duration, so you pay nothing when your code is not running. For AZ-900, the key serverless scenarios are: - Running small pieces of code in response to events (HTTP trigger, timer, queue message) - Building event-driven architectures without provisioning infrastructure - Tasks where workload is unpredictable and you want automatic scaling to zero Azure Functions can also be compared to Azure Logic Apps, which is a low-code/no-code workflow automation tool. Where Functions are code-first, Logic Apps are designer-first with hundreds of connectors to external services. Both are serverless, but exam questions distinguish them by whether a developer writes code or drags and drops connectors. Understanding serverless is also key to the AZ-900 governance and compliance domain, since serverless services eliminate infrastructure you need to patch and audit.
Compute services connect directly to Azure's networking and storage layers. Virtual Machines attach to virtual networks and network security groups (covered in our AZ-900 networking guide). App Service and Functions store data in Azure Storage or databases (see AZ-900 storage services). Understanding how compute integrates with these layers is essential for scenario questions on the exam.
Test Your Compute Knowledge
AZ-900 Compute Exam Tips

AZ-900 Compute Checklist

Virtual Machines = IaaS: you manage OS, patches, and runtime โ€” maximum control, maximum responsibility
App Service = PaaS: deploy web apps and APIs without touching the OS or infrastructure
Azure Functions = Serverless: event-triggered, pay per execution, scales to zero automatically
ACI = simple single-container hosting, no cluster needed, fastest way to run a container
AKS = managed Kubernetes for complex multi-container orchestration and auto-scaling
Azure Virtual Desktop = cloud-hosted Windows desktop for remote users and BYOD scenarios
VM Scale Sets enable automatic VM scaling based on metrics like CPU usage
Availability Zones protect VMs from entire datacenter failures within a region

AZ-900 Compute Questions and Answers

What is the difference between IaaS and PaaS compute on Azure?

IaaS (Infrastructure as a Service) gives you a virtual machine where you control the OS, patches, and installed software. Azure Virtual Machines are the main IaaS compute option. PaaS (Platform as a Service) lets you deploy your application without managing the underlying OS or infrastructure โ€” Azure App Service and Azure Container Instances are PaaS examples. The AZ-900 exam tests this distinction frequently through scenario questions about responsibility and management overhead.

When should you use Azure Functions instead of a Virtual Machine?

Use Azure Functions when your workload is event-driven, short-running, and unpredictable in volume. Functions scale automatically from zero to millions of executions and bill only for actual compute time. Use a VM when you need continuous processing, require full OS control, or are migrating an existing server application that cannot be broken into event-driven pieces.

What is the difference between ACI and AKS?

Azure Container Instances (ACI) is a simple PaaS service for running individual containers quickly without managing any cluster infrastructure. Azure Kubernetes Service (AKS) is a fully managed Kubernetes platform for orchestrating multiple containers across a cluster with features like auto-scaling, rolling updates, and service discovery. ACI suits simple or short-lived container workloads; AKS suits complex, production-scale containerized applications.

Does Azure Virtual Desktop count as a compute service on AZ-900?

Yes. Azure Virtual Desktop is tested in the AZ-900 compute domain. It provides cloud-hosted Windows desktops and applications that users can access from any device. Exam questions typically frame it around remote work enablement, BYOD policies, or centralizing application management without distributing software to each endpoint.

What are VM Availability Zones and why do they matter?

Availability Zones are physically separate datacenters within an Azure region, each with independent power, cooling, and networking. Deploying VMs across multiple Availability Zones protects your application from a complete datacenter outage. This is distinct from Availability Sets, which protect against rack-level failures within a single datacenter. AZ-900 tests whether you know which option protects against which type of failure.

How does billing work for Azure Functions?

Azure Functions on the Consumption plan bill based on the number of function executions and the amount of memory used during each execution (measured in GB-seconds). The first 1 million executions per month are free. When your function is not running, you pay nothing. This pay-per-execution model is a defining characteristic of serverless computing and is contrasted with VMs, which bill continuously while running regardless of whether they are doing work.
Ready to test your knowledge? Our free AZ-900 practice tests include dedicated compute scenario questions covering VM selection, PaaS vs IaaS trade-offs, serverless patterns, and container orchestration. Pair this guide with the AZ-900 complete guide for full exam coverage.
โ–ถ Start Quiz