AZ-900 ยท Cloud computing basics
Serverless computing
What serverless means: no server management, event-driven execution, automatic scaling and paying per execution, with Azure Functions and Logic Apps as examples.
Key points
- Servers still exist, but the provider runs, patches and scales them for you.
- You deploy code or a workflow that runs in response to events (an HTTP call, a new file, a timer), it scales automatically with the load, and you pay for the executions and resources used while it runs.
- Azure examples: Azure Functions (code-first) and Azure Logic Apps (low-code workflows).
Source: https://learn.microsoft.com/en-us/azure/azure-functions/functions-overview
Practice questions
What does serverless mean in cloud computing?
- Your code runs on no servers at all, directly in the network
- The provider manages servers; you deploy code and pay per use
- You rent a VM but the provider installs your application on it
- Your servers run on-premises and are managed from the cloud
Show answer
Answer: B. The provider manages servers; you deploy code and pay per use
Serverless means the provider manages the servers: you supply code or workflows, the platform scales them and you pay per use. The servers still exist; you just never manage them.
Which of these are characteristics of serverless computing?
- Code runs in response to events such as HTTP calls or new files
- You install and patch the operating system of each host
- The platform scales instances automatically with the load
- Billing is based on executions and resources used while running
- You pre-allocate a fixed number of servers for the whole year
Show answer
Answer: A. Code runs in response to events such as HTTP calls or new files, C. The platform scales instances automatically with the load, D. Billing is based on executions and resources used while running
Serverless code runs in response to events, scales automatically with demand and is billed by executions and resources used while running. Patching the OS and pre-allocating a fixed number of servers are exactly what serverless takes off your hands.
Serverless means your code runs without any servers being involved.
Show answer
Answer: False
False. Serverless code still runs on servers in the provider's datacenters. The name means you do not provision, patch or scale those servers yourself.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
