Medium1 markMultiple Choice
Domain 2.2: Azure Compute ServicesDomain 2ComputeAzure Functions

AZ-900 · Question 24 · Domain 2.2: Azure Compute Services

A developer needs to run a small piece of code in response to an event (like a file being uploaded to storage), without provisioning or managing any servers. Which compute service should they use?

Answer options:

A.

Azure Virtual Machines

B.

Azure Functions

C.

Azure Kubernetes Service (AKS)

D.

Azure App Service

How to approach this question

Look for 'event-driven', 'small piece of code', and 'without managing servers' (serverless).

Full Answer

B.Azure Functions✓ Correct
Azure Functions is a serverless compute service that lets you run event-triggered code without having to explicitly provision or manage infrastructure. You only pay for the compute time your code actually uses.

Common mistakes

Choosing App Service. While App Service is PaaS, Azure Functions is specifically designed for event-driven, serverless micro-workloads.

Practice the full Azure Fundamentals AZ-900 Practice Exam 5

60 questions · hints · full answers · grading

More questions from this exam