Microsoft Azure Fundamentals (AZ-900) · Section 2 · 38% of the exam
Compare compute types, including containers, virtual machines, and functions
One of the objectives of the Exam AZ-900: Microsoft Azure Fundamentals exam, in the section “Describe Azure architecture and services”. Here is what it covers, the points to remember and a question to try.
What it covers
Azure offers virtual machines, containers and serverless functions as compute types, plus managed platforms such as App Service for hosting web apps. This lesson compares them by control, effort and cost, explains virtual machine scale sets, availability sets and Azure Virtual Desktop, lists the resources a VM needs, and gives the rules for choosing an application hosting option.
Points to remember
- VMs give full OS control but you patch and scale them; containers share the host kernel and start fast; Functions are serverless and event-driven.
- ACI runs single containers; Container Apps is serverless containers; AKS is managed Kubernetes where you pay for nodes.
- Flex Consumption is the recommended serverless plan for Azure Functions; the Consumption plan is legacy.
- Virtual Machine Scale Sets add and remove identical VMs automatically; availability sets only spread VMs across fault and update domains.
- Availability sets: up to 3 fault domains, 20 update domains, 99.95% SLA with two or more VMs.
Try a question
A team wants to run a single container image for a short batch job with no orchestrator and no VM management, billed per second. Which service is the best fit?
- AAzure Kubernetes Service
- BVirtual Machine Scale Sets
- CAzure Virtual Desktop
- DAzure Container Instances
Show the answer
D. Azure Container Instances is the simplest way to run a container in Azure. It suits simple apps, task automation and build jobs. For orchestration of many containers use AKS.
Written for practice in the style of the exam: never a question from the real exam.
In the course
The lesson Compute: virtual machines, containers, functions and app hosting teaches this objective (about 45 minutes), and 16 practice questions test it. The course has lessons, exam-style questions, timed practice exams and an AI tutor for every objective, and a pass prediction that tells you when you're ready to book.
More in this section
- Describe Azure regions, region pairs, and sovereign regions
- Describe availability zones
- Describe Azure datacenters
- Describe Azure resources and resource groups
- Describe subscriptions
- Describe management groups
- Describe the hierarchy of resource groups, subscriptions, and management groups
- Describe virtual machine options, including Azure virtual machines, Azure Virtual Machine Scale Sets, availability sets, and Azure Virtual Desktop
- Describe the resources required for virtual machines
- Describe application hosting options, including web apps, containers, and virtual machines
- Describe virtual networking, including the purpose of Azure virtual networks, subnets, peering, Azure DNS, Azure VPN Gateway, and ExpressRoute
- Define public and private endpoints