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!”