Which Azure service is best for running cost-effective, short-lived background tasks triggered by events?
Choose an answer
Tap an option to check your answer.
Correct answer: Azure Functions.
Why this is the answer
Azure Functions is the best choice for cost-effective, short-lived background tasks triggered by events because it is a serverless compute service. This means you only pay for the compute resources consumed when your function executes, making it highly cost-efficient for intermittent workloads. It scales automatically based on demand and integrates seamlessly with various event sources. Azure Web Apps are designed for hosting full web applications and APIs, not individual event-driven tasks. Azure Virtual Machines offer complete control over the operating system but incur higher costs and require more management for short-lived tasks. Azure Kubernetes Service (AKS) is a container orchestration platform, powerful for complex microservices but overkill and less cost-effective for simple, event-driven background tasks.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed