AZ-900 practice question 6 of 35
Which service provides serverless computing in Azure?
Full set: 493 questionsDomain Describe Azure architecture and services
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.
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.
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
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
- The decisive clue is "serverless computing", meaning you run code without managing servers and pay only for execution.
- Azure Virtual Machines is IaaS, where you manage the operating system yourself, so it is ruled out.
- A storage account is not compute at all, so it is ruled out.
- 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
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).
Official documentation: Introduction to Azure Functions
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.
More questions
Other AZ-900 practice questions
- Question 4What are two benefits of cloud computing? Each correct answer presents a complete solutio…
- Question 13You have a web app that runs in Azure. You need to identify the amount of time it takes f…
- Question 14This question requires that you evaluate the underlined text to determine if it is correc…
- Question 17What are two characteristics of the public cloud? Each correct answer presents a complete…
- Question 20Note: This question is part of a series of questions that present the same scenario. Each…
- Question 26You plan to deploy several Azure virtual machines. You need to ensure that the services r…
