Which compute option runs code in response to an event and scales to zero when idle?
- A Virtual Machines
- B Azure Functions on the Consumption plan
- C Azure Kubernetes Service
- D Azure Batch
Answer
Azure Functions on the Consumption plan
You pay only for execution. The trade-offs are cold starts on latency-sensitive paths and a maximum execution duration.





