Bitzu

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

Single choice

What does serverless mean in cloud computing?

  1. Your code runs on no servers at all, directly in the network
  2. The provider manages servers; you deploy code and pay per use
  3. You rent a VM but the provider installs your application on it
  4. 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.

Select all that apply

Which of these are characteristics of serverless computing?

  1. Code runs in response to events such as HTTP calls or new files
  2. You install and patch the operating system of each host
  3. The platform scales instances automatically with the load
  4. Billing is based on executions and resources used while running
  5. 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.

True or false

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.

Download on the App StoreGet it on Google Play

More AZ-900 topics in this module