Why the correct answer is right:
Azure Functions is Azure's primary serverless compute service. You write event-triggered code (functions) and Azure handles all the infrastructure — provisioning, scaling, patching, and management. You only pay for the time your code executes. Functions can be triggered by HTTP requests, timers, queue messages, blob storage events, and more.
→ Why the other options are wrong:
Option A – Azure Virtual Machines: VMs are IaaS — you manage the entire server including OS, patches, and configurations. The complete opposite of serverless.
Option C – Azure Storage Account: Azure Storage is a data storage service for blobs, files, queues, and tables. It does not execute code or provide a compute platform.
Option D – Azure Container Instances (ACI): ACI allows you to run containers on-demand without managing VMs. While it reduces infrastructure management, it is not classified as serverless — you still define and manage the container configuration.
Quick Memory Tip 🧠
→ "Serverless = Azure Functions. Write code, trigger it, pay only when it runs. No servers, no OS, no worries!"
Why the correct answer is right:
Azure Functions is Azure's primary serverless compute service. You write event-triggered code (functions) and Azure handles all the infrastructure — provisioning, scaling, patching, and management. You only pay for the time your code executes. Functions can be triggered by HTTP requests, timers, queue messages, blob storage events, and more.
→ Why the other options are wrong:
Option A – Azure Virtual Machines: VMs are IaaS — you manage the entire server including OS, patches, and configurations. The complete opposite of serverless.
Option C – Azure Storage Account: Azure Storage is a data storage service for blobs, files, queues, and tables. It does not execute code or provide a compute platform.
Option D – Azure Container Instances (ACI): ACI allows you to run containers on-demand without managing VMs. While it reduces infrastructure management, it is not classified as serverless — you still define and manage the container configuration.
Quick Memory Tip 🧠
→ "Serverless = Azure Functions. Write code, trigger it, pay only when it runs. No servers, no OS, no worries!"