Microsoft Azure Fundamentals (AZ-900)Describe Azure architecture and servicesEasy

A small startup is planning to deploy its first application to Azure. They need a cost-effective, serverless compute service that can automatically scale with demand and execute code in response to events without managing underlying infrastructure. Which Azure service should they choose?

  1. AAzure Functions
  2. BAzure Kubernetes Service (AKS)
  3. CAzure App Service
  4. DAzure Virtual Machines
Show answer & explanation

Correct answer: A. Azure Functions

Azure Functions is a serverless compute service that allows you to run event-driven code without provisioning or managing infrastructure. It scales automatically and you only pay for the compute time consumed, making it cost-effective for startups.

Why the other options are wrong

  • B. Azure Kubernetes Service (AKS) is a container orchestration service, requiring more management overhead than a serverless function for simple event-driven code.
  • C. Azure App Service is a PaaS for hosting web applications, APIs, and mobile backends, but it's not strictly serverless in the same way as Functions for event-driven code.
  • D. Azure Virtual Machines require manual management of the underlying operating system and infrastructure, which is not serverless.

Azure Functions

A serverless compute service that enables you to run small pieces of code (functions) without explicitly provisioning or managing infrastructure. It's event-driven and scales automatically.

  • Serverless compute
  • Event-driven execution
  • Automatic scaling
  • Pay-per-execution billing

Memory trick: Functions are like instant, event-triggered sparks in the cloud.

More Describe Azure architecture and services questions