Skip to main content

AZ-900 practice question · Describe Azure Architecture and Services

A developer wants to run a small piece of code that executes only in response to a specific trigger (like a file…

A developer wants to run a small piece of code that executes only in response to a specific trigger (like a file upload), automatically scaling and with billing based on actual execution time rather than a continuously running server. What Azure service fits this?

  • AAzure Functions
  • BAzure Virtual Machines
  • CAzure Virtual Desktop
  • DA resource group
Show the answer and explanation

Correct answer: A) Azure Functions

Why each option is right or wrong

  • A) Correct. Azure Functions is Azure's serverless compute offering, running code only in response to a trigger and billing based on actual execution rather than requiring a continuously running, provisioned server — ideal for small, event-driven pieces of code.
  • B) Incorrect. A VM runs continuously (or as explicitly started/stopped) and requires the customer to manage the underlying OS — a heavier, more persistent compute option than the lightweight, event-triggered function described here.
  • C) Incorrect. Azure Virtual Desktop provides virtualized desktop/app experiences for end users, an entirely different service from event-triggered serverless code execution.
  • D) Incorrect. A resource group is a logical organizational container, not a compute service at all.
Exam domain
Describe Azure Architecture and Services · 37% of AZ-900
Question type
Multiple choice (one answer)

Practise the full AZ-900 exam

This question is one of a small free sample from the CertRidge AZ-900 bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.

Original question written from the official exam guide. Not affiliated with Microsoft; never copied from the real exam.