Microsoft Certified: Azure Developer Associate (AZ-204)Develop Azure compute solutionsEasy

A company is developing a new serverless application that processes incoming sensor data from IoT devices. The application needs to execute small, event-driven functions in response to data ingestion, with minimal operational overhead. The solution must automatically scale based on the volume of incoming data and only incur costs when functions are actively running. Which Azure compute solution is most appropriate for this scenario?

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

Correct answer: D. Azure Functions

Azure Functions is a serverless compute service that enables you to run event-driven code without provisioning or managing infrastructure. It automatically scales based on demand and you only pay for the compute resources consumed during execution, aligning perfectly with the requirements for minimal operational overhead and cost efficiency for event-driven functions.

Why the other options are wrong

  • A. Azure Kubernetes Service (AKS) is a container orchestration platform that provides high flexibility but incurs significant operational overhead and continuous costs for managing the cluster, which is not minimal.
  • B. Azure Virtual Machines require manual provisioning and management of infrastructure, leading to higher operational overhead and continuous costs.
  • C. Azure App Service is suitable for hosting web applications, APIs, and mobile backends, but it typically involves continuous running costs and more management than serverless functions.

Azure Functions

A serverless compute service that lets you run event-driven code without provisioning or managing infrastructure.

  • Event-driven, scale on demand
  • Consumption-based billing (pay-per-execution)
  • Supports various programming languages

Memory trick: Functions are serverless, so they run only when needed.

More Develop Azure compute solutions questions