Compute (VMs & containers)
37 free practice questions with explanations
PassNova has 37 free Microsoft Azure Administrator (AZ-104) practice questions on Compute (VMs & containers), each with a clear explanation. Practise them in the browser with instant feedback — 100% free, no sign-up, on any device. Updated for 2026.
Compute (VMs & containers): example questions & answers
Here are 6 example questions from this topic. Practise the full set of 37 free in the browser.
-
Which Azure compute option automatically increases or decreases the number of identical VM instances based on demand?
- A A single Azure Virtual Machine
- B A Virtual Machine Scale Set ✓
- C An Availability Set
- D Azure Bastion
Answer: Virtual Machine Scale Sets create and manage a group of identical, load-balanced VMs that can automatically scale out or in based on metrics or schedules.
-
What does an Availability Set protect against?
- A Region-wide outages
- B Hardware failures and planned maintenance within a single datacenter ✓
- C Network DDoS attacks
- D Storage account key compromise
Answer: Availability Sets distribute VMs across fault and update domains within a datacenter, protecting against localized hardware failures and host maintenance events.
-
To achieve the highest VM SLA against datacenter failures, how should you deploy VMs?
- A In a single Availability Set
- B Across multiple Availability Zones in a region ✓
- C In a single fault domain
- D Using only spot instances
Answer: Deploying VMs across two or more Availability Zones protects against an entire datacenter failure and provides the highest single-region availability SLA.
-
Which Azure service runs containers without requiring you to manage virtual machines or orchestrators for simple workloads?
- A Azure Kubernetes Service (AKS)
- B Azure Container Instances (ACI) ✓
- C Azure Virtual Machines
- D Azure Batch
Answer: Azure Container Instances runs containers on demand without provisioning VMs or orchestration, ideal for simple, short-lived, or burst workloads.
-
What does Azure Kubernetes Service (AKS) primarily provide?
- A A managed relational database
- B A managed Kubernetes container orchestration platform ✓
- C A serverless functions runtime
- D An object storage service
Answer: AKS is a managed Kubernetes service that handles the control plane, simplifying deployment, scaling, and management of containerized applications.
-
You need to apply a custom configuration script to a running Azure VM after deployment. Which feature is best suited?
- A VM extensions (Custom Script Extension) ✓
- B Availability Sets
- C Resource locks
- D Network Watcher
Answer: The Custom Script Extension downloads and runs scripts on a VM after provisioning, automating post-deployment configuration tasks.