📊 Feature Comparison — All Compute Services

The definitive side-by-side reference for AZ-305 compute scenario questions


Table of Contents

  1. The Compute Spectrum — IaaS to Serverless
  2. Master Compute Comparison Table
  3. Container Compute
  4. Serverless Functions vs Logic Apps vs Container Apps
  5. Batch Processing — Choosing a Compute Service
  6. Functions Hosting Plans Comparison
  7. Logic Apps Hosting Models Comparison
  8. SLA Summary
  9. Private Networking — Which Tier Is Required
  10. Cost Optimisation Patterns

The Compute Spectrum — IaaS to Serverless

flowchart LR
    VM["🖥️ VMs & VMSS\n(IaaS)\nFull OS control\nYou manage everything"]
    AKS["🐳 AKS\n(Container orchestration)\nFull Kubernetes\nManaged control plane"]
    ASP["🌐 App Service\n(PaaS)\nManaged runtime\nNo OS / infra"]
    ACA["☁️ Container Apps\n(Serverless containers)\nNo Kubernetes mgmt\nScale to zero"]
    ACI["📦 ACI\n(Serverless containers)\nInstant, ephemeral\nNo orchestration"]
    FN["⚡ Functions\n(Serverless code)\nEvent-driven\nPay per execution"]
    LA["🔗 Logic Apps\n(Serverless workflow)\nNo-code connectors\nPay per action"]
    VM --> AKS --> ASP --> ACA --> ACI --> FN --> LA
    style VM fill:#7f1d1d
    style AKS fill:#7c2d12
    style ASP fill:#713f12
    style ACA fill:#365314
    style ACI fill:#14532d
    style FN fill:#164e63
    style LA fill:#1e1b4b

More control ←                                                                  → Less management overhead


Master Compute Comparison Table

Feature VMs / VMSS App Service AKS ACI Container Apps Functions Logic Apps
Abstraction IaaS PaaS Container orchestration Serverless container Serverless container Serverless code Serverless workflow
OS access ✅ Full ❌ Node only ❌ ❌ ❌ ❌
Scale to zero ❌ ❌ ❌ ✅ (ACI is ephemeral) ✅ ✅ (Flex Consumption, Consumption) ✅ (Consumption)
Auto-scale ✅ VMSS ✅ (Standard+) ✅ HPA + Cluster ❌ ✅ KEDA ✅ ✅
VNet integration ✅ Native ✅ (Basic+) ✅ Native ✅ (subnet delegation) ✅ (Dedicated plan) ✅ (Flex Consumption, Premium, Dedicated) ✅ (Standard)
Private Endpoint ✅ ✅ (Basic+) ✅ (private cluster) ❌ ✅ (Dedicated) ✅ (Flex Consumption, Premium, Dedicated) ✅ (Standard)
Deployment slots ❌ ✅ (Standard+) ❌ ❌ ✅ (revision split) ✅ (Consumption: 1 staging; ❌ Flex Consumption) ❌
Max execution time Unlimited Unlimited Unlimited Unlimited Unlimited 10 min (Consumption) / Unlimited (Flex Consumption, Premium, Dedicated) Unlimited
Containers ✅ (run on VM) ✅ (custom container) ✅ Native ✅ Native ✅ Native ✅ (custom handler) ❌
SLA 99.9–99.99% 99.95–99.99% 99.95–99.99% 99.9% 99.95% 99.95% 99.9–99.95%
Cold start ❌ (always-on) ❌ (always-on) ❌ Brief (seconds) Brief (if min=0) Yes (Consumption) / Reduced (Flex Consumption) Yes (Consumption)
Managed Identity ✅ ✅ ✅ ✅ ✅ ✅ ✅
Relative cost Medium–High Low–Medium Medium Lowest (per-sec) Very Low Lowest (per-exec) Low (per-action)

Container Compute

Use this table when the scenario involves containers:

Decision Factor ACI Container Apps AKS
No orchestration needed ✅ Best ✅ Overkill
Scale to zero ✅ (ephemeral) ✅ (KEDA) ❌ (cluster always on)
Event-driven auto-scale (queues, Event Hubs) ❌ ✅ (KEDA built-in) ✅ (KEDA add-on)
Dapr microservice patterns ❌ ✅ (built-in) ✅ (manual install)
Custom Kubernetes controllers / CRDs ❌ ❌ ✅
GPU workloads Limited ❌ ✅
Stateful sets / PersistentVolumes ❌ ❌ ✅
Max vCPU per workload 4 vCPU 4 vCPU (Consumption) Node size × replicas
UDR / Azure Firewall egress ❌ ✅ (Dedicated plan) ✅
B/G deploy / canary ❌ ✅ (revision traffic split) ✅ (via ingress)
Burst from AKS cluster ✅ (Virtual Nodes) ❌ ✅
Kubernetes expertise required ❌ ❌ ✅

Serverless Functions vs Logic Apps vs Container Apps

Decision Factor Azure Functions Logic Apps Container Apps
Unit of work Code function Visual workflow action Container replica
Best for Event-driven code, APIs Connector-heavy integration, B2B Containerised microservices
Code required ✅ ❌ (low-code) ✅ (Dockerfile)
Pre-built integrations Bindings (limited) 500+ managed connectors ❌ (you build)
B2B / EDI support ❌ ✅ ❌
Long-running (days) ✅ Durable Functions ✅ ✅
Scale to zero ✅ Flex Consumption / Consumption ✅ Consumption ✅
VNet (private resources) ✅ Flex Consumption / Premium ✅ Standard ✅ Dedicated
Max execution timeout 10 min (Consumption) / Unlimited (Flex Consumption, Premium, Dedicated) Unlimited Unlimited
Custom container runtime Limited ❌ ✅
Language C#, Python, JS, Java, PowerShell Visual (JSON DSL) Any (container)

Batch Processing — Choosing a Compute Service

The AZ-305 study guide lists “Recommend a compute solution for batch processing” as its own skill. For large-scale parallel and HPC jobs, Microsoft’s answer is Azure Batch. Smaller or event-driven jobs often fit a serverless option better.

Azure Batch is a managed job scheduler for pools of VMs:

  • Creates and manages a pool of compute nodes (VMs), installs your application, and schedules jobs and tasks across the nodes — no cluster or scheduler software to install or manage
  • No charge for Batch itself — you pay for the VMs, storage, and networking that jobs use
  • Fits intrinsically parallel work (3D rendering, Monte Carlo risk simulation, media transcoding, image processing, genetic sequence analysis, OCR, ETL, test execution) and tightly coupled MPI jobs (fluid dynamics, finite element analysis, multi-node AI training)
  • Input data and applications are staged from Azure Storage; task output is written back to Storage
  • Pools support autoscale, HPC and GPU VM sizes, and a mix of dedicated and Spot nodes; tasks interrupted by Spot preemption are requeued automatically
  • A pool can scale down to zero nodes after the job completes
Requirement Recommended service
Thousands of parallel tasks or MPI jobs on a managed VM pool, HPC/GPU sizes Azure Batch
An existing HPC scheduler (for example Slurm), job scripts, or queues must stay as they are Azure CycleCloud (or CycleCloud Workspace for Slurm)
Containerised job on a schedule, on demand, or per queue message — serverless Container Apps Jobs
Single container that runs to completion, no orchestration ACI with OnFailure restart policy
Fan-out/fan-in over many items in code Durable Functions (fan-out/fan-in)
Batch workers on an AKS cluster you already run AKS Spot node pool
Spark / big-data batch analytics A data platform (Microsoft Fabric, Azure Databricks) — see the Data & Analytics deep dive

⚠️ Exam Caveat — Azure Batch vs Self-Managed VMs: When a scenario describes large-scale parallel or HPC jobs (render farm, Monte Carlo simulation, transcoding thousands of files) and asks for the least management overhead, the answer is Azure Batch, not a VM Scale Set with a scheduler you install yourself. If the scenario says an existing HPC scheduler must be kept, the answer is Azure CycleCloud: Microsoft advises against moving scheduler-specific workflows to Batch just to avoid managing VMs.

⚠️ Exam Caveat — Spot Nodes in Azure Batch: Spot nodes are the cheapest Batch capacity, but they have no SLA and can be preempted at any time. Batch requeues interrupted tasks automatically. Keep a dedicated-node baseline for jobs with deadlines, and avoid Spot for long-running multi-node MPI jobs: one preemption can force the whole job to rerun. The portal and APIs still call Spot nodes “low-priority”.


Functions Hosting Plans Comparison

Feature Flex Consumption Consumption (legacy) Premium Dedicated (App Service)
Scale to zero ✅ ✅ ❌ ❌
Cold start Reduced (always-ready optional) ✅ (yes, present) ❌ (pre-warmed) ❌
Max timeout Unlimited 10 minutes Unlimited Unlimited
VNet Integration ✅ ❌ ✅ ✅
Private Endpoint (inbound) ✅ ❌ ✅ ✅
Deployment slots ❌ (rolling updates) ✅ 2 (incl. production) ✅ 3 ✅ 1–20 (by tier)
Min instances 0 0 ≥ 1 (billed) Fixed
OS Linux only Windows (Linux retiring 2028) Windows, Linux Windows, Linux
Billing Per execution + always-ready baseline Per execution Per pre-warmed instance Per App Service Plan
Best for New serverless apps, incl. VNet Windows-dependent serverless apps No cold start + VNet Existing ASP sharing

Logic Apps Hosting Models Comparison

Feature Consumption Standard
VNet Integration ❌ ✅
Private Endpoints ❌ ✅
On-premises (no gateway) ❌ ✅ (via VNet)
Workflows per instance 1 Multiple
Stateless workflows ❌ ✅
Deployment slots ❌ ✅
SLA 99.9% 99.95%
ISE replacement ❌ ✅
Billing Per action Per App Service Plan
Best for Simple, public integrations Private, enterprise workflows

SLA Summary

Service / Configuration SLA
Single VM (Premium SSD) 99.9%
VMs in Availability Set 99.95%
VMs across Availability Zones 99.99%
App Service (Basic through Premium) 99.95%
App Service Environment (Isolated) 99.99%
AKS Standard tier 99.95%
AKS Standard + Availability Zones 99.99%
Azure Container Instances 99.9%
Azure Container Apps 99.95%
Azure Functions (all plans) 99.95%
Logic Apps Consumption 99.9%
Logic Apps Standard 99.95%

⚠️ Exam Caveat: The highest SLAs (99.99%) in compute require either Availability Zones (VMs, AKS) or App Service Environment (App Service). All serverless services top out at 99.95%.


Private Networking — Which Tier Is Required

Service Private Inbound Private Outbound (VNet) Tier Required
VMs Native (in VNet) Native All tiers
App Service Private Endpoint VNet Integration Basic+
AKS Private cluster Native (CNI) All tiers
ACI Subnet delegation Subnet delegation All tiers
Container Apps Private Endpoint VNet Integration Dedicated plan
Functions Private Endpoint VNet Integration Flex Consumption, Premium, or Dedicated
Logic Apps Private Endpoint VNet Integration Standard only

Cost Optimisation Patterns

Pattern Best Applied To
Reserved Instances (1yr/3yr) VMs, AKS nodes, App Service Plans
Spot VMs VMSS batch workers, AKS spot node pools, Azure Batch pools (Spot nodes)
Azure Hybrid Benefit VMs, AKS (Windows nodes), SQL on VM
Scale to zero Functions (Flex Consumption / Consumption), Container Apps (Consumption), Logic Apps (Consumption)
Pause/deallocate VM Dev/test VMs not needed 24/7
Auto-pause App Service Not available; use Functions instead for intermittent workloads
Job clusters Databricks (not directly a compute service here, but same principle: ephemeral = cheaper)
Right-size VM series B-series for dev/test instead of D-series