‹ All AZ-900 questions

AZ-900 Practice Question 12: Serverless Compute

Microsoft Azure Fundamentals (AZ-900) · Test 2 · question 2 of 10

Cloud Conceptseasy

A team has a short piece of image-resizing code that should run every time a file is uploaded to Azure Blob Storage. They do not want to manage servers, and they want to be billed for the code itself rather than for a machine sitting idle between uploads. Which option fits?

Select one answer
Show answer and explanation

Answer:

  • D. Azure Functions with a Blob Storage trigger

Azure Functions is Microsoft's serverless compute service: you supply the code, and Azure supplies and maintains all the infrastructure underneath it. Its triggers and bindings connect a function to other services without extra code, and "run code when a file is uploaded or changed in blob storage" is one of the documented scenarios. Serverless hosting plans bill on pay-as-you-go consumption rather than on reserved capacity, which is the second half of the requirement.

Option A is IaaS; an availability set spreads VMs across fault and update domains for resilience, but the VMs are billed while they are allocated whether or not an upload arrives, and the team would own the guest OS. Option B is PaaS, but a *dedicated* App Service plan reserves instances that are billed continuously and scale on their own schedule, so it fails the billing constraint. Option C is the pre-cloud pattern the stem is trying to replace: a polling VM runs (and is charged for) around the clock and still has to be patched.

Reference: Azure Functions overview

Practice Test 2 ›

Study guides for AZ-900

Azure Administrator (AZ-104): jobs, salary and the examAzure administrator role, jobs and pay data, and the AZ-104 exam: five domains, 100 minutes, US$165 / ₹4,865, AZ-900 first or not, and what next.
Free cloud certifications in 2026: which are really freeWhich free cloud certifications are really free in 2026: Oracle's free OCI exams, and the voucher routes for AWS, Microsoft and Google, with prices.
AI-901 exam guide: Azure AI Fundamentals after AI-900AI-901 replaced AI-900: learn what changed, how much Python and Microsoft Foundry you need, exam costs in India, and how to prepare.
Microsoft Fabric certification: DP-700 vs DP-600Microsoft Fabric certification means two exams, DP-600 and DP-700. Their roles, skills, format, cost in India, and which one to take first.
Which cloud certification is best? AWS vs Azure vs GoogleWhich cloud certification is best for a beginner? AWS Cloud Practitioner, AZ-900 and Google Cloud Digital Leader compared: cost, format and which first.
Azure certification path 2026: AZ-900, AZ-104, AZ-305The Azure certification path for 2026 - AZ-900, AZ-104 and AZ-305 in order, what each covers, the AZ-305 prerequisite, renewal and what to skip.
Azure RBAC vs Azure Policy vs Entra roles vs resource locksHow Azure RBAC, Azure Policy, Microsoft Entra roles and resource locks differ, how scope inheritance works, and when deny beats audit.
Azure Storage redundancy - LRS, ZRS, GRS, GZRS and failoverHow LRS, ZRS, GRS, RA-GRS, GZRS and RA-GZRS differ, what failover does to your account, and how access tiers interact with redundancy.