Microsoft Certified: Azure Administrator AssociateDeploy and manage Azure compute resourcesMedium

A company is migrating a legacy batch processing application to Azure. The application consists of several independent executables that run for varying durations (from minutes to hours) and require specific CPU and memory allocations. The company wants to minimize infrastructure management and only pay for the compute resources consumed during execution. Which Azure compute service is the most suitable for this scenario?

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

Correct answer: C. Azure Container Instances (ACI)

Azure Container Instances (ACI) is ideal for containerized batch jobs that require specific resource allocations and need to run without managing underlying servers. It offers per-second billing and rapid deployment, perfectly aligning with the 'pay for resources consumed during execution' and 'minimize infrastructure management' requirements.

Why the other options are wrong

  • A. Azure VMs require managing the underlying operating system and incur costs even when the batch job is not running, which contradicts the 'pay for resources consumed during execution' requirement.
  • B. Azure App Service is primarily for web applications and APIs, not for general-purpose batch processing executables with varying resource needs.
  • D. Azure Kubernetes Service (AKS) is a complex orchestration platform, overkill for independent batch jobs that don't require advanced orchestration features and would introduce more management overhead than ACI.

Azure Container Instances (ACI)

A serverless container service that allows you to run Docker containers directly on Azure without managing underlying virtual machines or orchestration platforms. Ideal for simple, isolated, and event-driven workloads.

  • Serverless container execution
  • Per-second billing for resources used
  • Rapid deployment and scaling
  • Suitable for batch jobs, simple APIs, development/test

Memory trick: ACI: A Simple Container for Batch Jobs.

More Deploy and manage Azure compute resources questions