Launch pricing — Azure certification prep for €19,95 €29,95

← All AZ-900 topicsAZ-900 · Azure Architecture and Services

AZ-900 Azure Compute and Application Hosting Practice Questions

The compute topic asks you to pick the right service for a workload. Know Azure Virtual Machines, virtual machine scale sets and availability sets, and Azure Virtual Desktop for hosted desktops.

Beyond VMs, the exam covers containers (Azure Container Instances, Azure Container Apps and Azure Kubernetes Service), serverless code with Azure Functions, and web hosting with Azure App Service.

Below are 8 free questions on this topic. Try each one before you open the answer.

Question 1

Which Azure service model does Azure Virtual Machines (VMs) represent?

  • A.Platform as a Service (PaaS)
  • B.Infrastructure as a Service (IaaS)
  • C.Software as a Service (SaaS)
  • D.Function as a Service (FaaS)
chevron_rightShow answer and explanation

Correct answer: B. Infrastructure as a Service (IaaS)

Azure VMs are an IaaS offering. You control the operating system, installed software, and configuration — just like a physical server — but without buying hardware. PaaS (A) abstracts the OS layer (e.g., App Service). SaaS (C) delivers ready-made applications. FaaS (D) is the serverless model used by Azure Functions.

Question 2

What does a fault domain represent in an Azure VM Availability Set?

  • A.A group of VMs that can be rebooted together during planned maintenance
  • B.A group of VMs that share a potential power or network failure point
  • C.A group of VMs distributed across different Azure regions
  • D.A group of VMs that automatically scale based on CPU usage
chevron_rightShow answer and explanation

Correct answer: B. A group of VMs that share a potential power or network failure point

A fault domain groups VMs that share the same power source and network switch — a single hardware failure could affect all VMs in the same fault domain. An update domain (A) groups VMs rebooted together during planned maintenance. Fault domains operate within a single region, not across regions (C is wrong). Scaling is handled by scale sets, not availability sets (D is wrong).

Question 3

Which Azure IoT service enables secure, bi-directional communication between cloud services and IoT devices?

  • A.Azure IoT Central
  • B.Azure IoT Edge
  • C.Azure IoT Hub
  • D.Azure Machine Learning
chevron_rightShow answer and explanation

Correct answer: C. Azure IoT Hub

Azure IoT Hub is specifically designed for secure, bi-directional communication between the cloud and IoT devices. Azure IoT Central (A) is a simplified SaaS IoT platform for solution builders — it sits on top of IoT Hub. Azure IoT Edge (B) extends cloud capabilities to devices at the edge but does not define the bi-directional communication protocol. Azure Machine Learning (D) is for building and training ML models, not device connectivity.

Question 4

For each statement about Azure App Service, select Yes if the statement is true, or No if it is false.

  1. 1.Azure App Service supports automated deployments from GitHub, Azure DevOps, and Git repositories.
  2. 2.Azure App Service requires you to manually configure and manage the underlying server operating system.
  3. 3.Azure App Service can host REST-based web APIs with Swagger support through the API apps feature.
chevron_rightShow answer and explanation
  1. Statement 1: Yes
  2. Statement 2: No
  3. Statement 3: Yes

Statement 1 is Yes: App Service supports automated continuous deployment from GitHub, Azure DevOps, or any Git repo. Statement 2 is No: App Service abstracts infrastructure management — you do not manage the underlying OS, which is a key PaaS benefit. Statement 3 is Yes: The API apps feature provides REST-based API hosting with full Swagger support and the ability to publish to Azure Marketplace.

Question 5

Azure Functions is an event-driven, ___ compute option that does not require maintaining virtual machines or containers.

  • A.serverless
  • B.containerized
  • C.infrastructure-managed
  • D.dedicated
chevron_rightShow answer and explanation

Correct answer: A. serverless

Azure Functions is described as an event-driven, serverless compute option. Resources are allocated only when the function is triggered and deallocated afterward. Containerized (B) describes services like AKS or Container Apps that run containers persistently. Infrastructure-managed (C) applies to IaaS. Dedicated (D) would mean always-on provisioned resources, which is the opposite of the serverless model.

Question 6

Complete the sentence. Azure __________ is a fully managed Kubernetes service that handles cluster provisioning, upgrades, and health monitoring, letting developers focus on deploying containerised applications.

  • blank_1.Kubernetes ServiceAKSAzure Kubernetes Service
chevron_rightShow answer and explanation

Correct answer: Kubernetes Service.

Azure Kubernetes Service (AKS) is Microsoft's managed Kubernetes offering. It automates tasks such as cluster upgrades, node provisioning, and health monitoring. Customers manage their applications and workloads, while Azure manages the control plane at no additional cost.

Question 7

A developer needs to trigger an Azure Function every time a new file is uploaded to Azure Blob Storage. Which Azure service best enables this event-driven pattern?

  • A.Azure Service Bus
  • B.Azure Queue Storage
  • C.Azure Event Grid
  • D.Azure Event Hubs
chevron_rightShow answer and explanation

Correct answer: C. Azure Event Grid

Azure Event Grid routes events from Azure services (like Blob Storage uploads) to handlers (like Azure Functions) with low latency. Service Bus and Queue Storage are for message queuing. Event Hubs is for high-throughput data streaming.

Question 8

Determine whether each statement about Azure Kubernetes Service (AKS) is correct.

  1. 1.AKS manages and hosts the Kubernetes control plane automatically at no additional charge.
  2. 2.AKS supports both Windows and Linux container workloads.
  3. 3.Using AKS, customers are always required to manually upgrade the Kubernetes version on cluster nodes.
chevron_rightShow answer and explanation
  1. Statement 1: Yes
  2. Statement 2: Yes
  3. Statement 3: No

AKS manages and hosts the Kubernetes control plane for free — correct. AKS supports both Windows and Linux node pools — correct. AKS supports automated node OS and Kubernetes version upgrades, so manual upgrades are not required — incorrect.

These are 8 of 40 Azure Compute and Application Hosting questions in the full bank

Practice all 400 AZ-900 questions in exam format, including drag-and-drop and multi-select questions, with a mock exam and progress tracking.