Medium1 markMultiple Choice
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, such as a file being uploaded to storage. They want to pay only for the exact compute time the code runs. Which service should they use?
A developer needs to run a small piece of code in response to an event, such as a file being uploaded to storage. They want to pay only for the exact compute time the code runs. Which service should they use?
Answer options:
A.
Azure Virtual Machines
B.
Azure App Service
C.
Azure Functions
D.
Azure Kubernetes Service (AKS)
How to approach this question
Look for keywords: 'small piece of code', 'event', 'pay only for compute time'.
Full Answer
C.Azure Functions✓ Correct
Azure Functions is an event-driven, serverless compute service. It allows you to run code in response to events (like HTTP requests or storage triggers) and bills you only for the exact milliseconds your code executes.
Common mistakes
Choosing VMs, which would be massive overkill and cost much more for this scenario.
Practice the full Azure Fundamentals AZ-900 Practice Exam 2
60 questions · hints · full answers · grading
More questions from this exam
Q01What is the primary definition of cloud computing?EasyQ02According to the shared responsibility model, which component is ALWAYS the responsibility of the...EasyQ03A company wants to transition from purchasing physical servers to a model where they only pay for...MediumQ04Which TWO of the following are primary benefits of using cloud services? (Select TWO)EasyQ05True or False: Moving to the cloud typically shifts IT spending from an Operational Expenditure (...Easy
Expert