AZ-900 practice question 6 of 35

Which service provides serverless computing in Azure?

Full set: 493 questions

Domain Describe Azure architecture and services

Answer options
A: Azure Virtual Machines
B: Azure Container instances
C: Azure Functions Correct answer
D: Azure storage account
Correct Answer:
C. Azure Functions
Explanation

Azure Functions is a core service within Azure's serverless computing offerings. It is an event-driven platform where you can execute small pieces of code, or "functions," without having to provision or manage the underlying infrastructure like virtual machines or containers. The platform automatically scales and manages the resources required to run the code in response to various triggers, such as an HTTP request or a new item in a storage queue. This model allows developers to focus solely on their application logic, and billing is based on the actual execution time and resources consumed, which is a key characteristic of serverless computing.

Why Incorrect

A. Azure Virtual Machines: This is an Infrastructure as a Service (IaaS) offering that requires users to provision, manage, and maintain the server and its operating system.
B. Azure Container instances: This service runs containers without managing virtual machines, but it is a serverless container orchestration service, not the primary event-driven code execution platform.
D. Azure storage account: This is a cloud storage solution for data services like blobs, files, and queues; it is not a compute service.

References

1. Microsoft Learn, AZ-900: Describe Azure compute and networking services. In the "Describe serverless computing" unit, it states, "Azure has two implementations of serverless compute: Azure Functions which are code-based (imperative) and Azure Logic Apps which are design-based (declarative)." This directly identifies Azure Functions as a primary serverless compute service.

2. Microsoft Learn, Introduction to Azure Functions. The overview section states, "Azure Functions is a serverless solution that allows you to write less code, maintain less infrastructure, and save on costs. Instead of worrying about deploying and maintaining servers, the cloud infrastructure provides all the up-to-date resources needed to keep your applications running."

3. Microsoft Learn, Azure virtual machines overview. The documentation clearly defines this service as Infrastructure as a Service (IaaS), stating, "Azure virtual machines (VMs) is one of several types of on-demand, scalable computing resources that Azure offers... This is an example of Infrastructure as a Service (IaaS)."

4. Microsoft Learn, Introduction to Azure Storage. The "What is Azure Storage?" section describes the service as "Microsoft's cloud storage solution for modern data storage scenarios," listing its data services (Blobs, Files, Queues, etc.), confirming it is not a compute service.

Question breakdown

Tests
Describe Azure compute services, including serverless options
Difficulty
Easy

Key idea: Azure Functions is Azure's event-driven, code-based serverless compute service, which scales automatically and bills per execution.

How to reach the answer

  1. The decisive clue is "serverless computing", meaning you run code without managing servers and pay only for execution.
  2. Azure Virtual Machines is IaaS, where you manage the operating system yourself, so it is ruled out.
  3. A storage account is not compute at all, so it is ruled out.
  4. Container Instances removes VM management, but you still package and run containers; Azure Functions is the service Microsoft names as serverless compute (alongside Logic Apps).

Each option

  • AIncorrect. VMs are IaaS, so you provision, patch, and manage the server and its operating system.
  • BIncorrect. ACI runs containers without VM management, but the AZ-900 curriculum places it under containers, not serverless functions.
  • CCorrect. Functions executes code in response to triggers, scales automatically, and on the Consumption plan bills per execution.
  • DIncorrect. A storage account provides data services such as blobs, files, queues, and tables, not code execution.

Common trap: Container Instances is often described as a serverless container service, which makes it tempting, but AZ-900 associates serverless compute with Azure Functions and Logic Apps.

In practice: Functions is used for lightweight event handlers such as processing a blob upload, responding to an HTTP webhook, or running a scheduled cleanup job without maintaining a server.

Remember: For serverless compute on AZ-900, think Azure Functions (code-based) and Logic Apps (workflow-based).

Drafted with AI assistance and checked against the answer key.

Keep practicing

Take the free AZ-900 practice test

Ten exam-style questions with answers and explanations, plus the exam facts and study guides.

Start the free practice test

More questions

Other AZ-900 practice questions

Scroll to Top