Bitzu

AZ-305 ยท Compute solution design

Batch and HPC processing

Azure Batch pools, jobs and tasks, low-priority/Spot nodes, HPC VM sizes, choosing Batch vs Container Apps jobs vs Functions for batch work.

Key points

  • Azure Batch: pool = nodes, job = group of tasks, task = command line on a node.
  • Pools: dedicated plus Spot nodes (API: low-priority, e.g. targetLowPriorityNodes); autoscale formula; scale to zero.
  • Batch Spot: no SLA, capacity eviction only (no max price), tasks requeued, separate vCPU quota.
  • Spot: short, restartable tasks; multi-node MPI jobs: dedicated nodes.
  • Alternatives: Container Apps jobs, Functions, CycleCloud (HPC schedulers).

Source: https://learn.microsoft.com/en-us/azure/batch/batch-spot-vms

Practice questions

Single choice

In Azure Batch, what is the unit of work that runs a command line on a compute node?

  1. Pool
  2. Job
  3. Task
  4. Batch account
Show answer

Answer: C. Task

A task runs a command line on a node. A job is a collection of tasks, a pool is the set of nodes that run them, and the Batch account is the top-level resource.

Select all that apply

Which statements about Spot nodes in Azure Batch are true?

  1. Tasks interrupted by preemption are requeued automatically
  2. You can set a maximum price for the Spot nodes in a pool
  3. Spot nodes have a vCPU quota separate from dedicated nodes
  4. Spot nodes in Batch support ephemeral OS disks
  5. One pool can contain both dedicated and Spot nodes
Show answer

Answer: A. Tasks interrupted by preemption are requeued automatically, C. Spot nodes have a vCPU quota separate from dedicated nodes, E. One pool can contain both dedicated and Spot nodes

Batch requeues tasks that were interrupted by preemption, Spot nodes use a separate (higher) vCPU quota, and a pool can contain both dedicated and Spot nodes. Batch does not let you set a Spot max price, and ephemeral OS disks are not supported with Spot nodes.

True or false

Spot nodes in an Azure Batch pool can be evicted when the Spot price rises above the max price you configured for the pool.

Show answer

Answer: False

False. Batch Spot nodes do not support a max price or price-based eviction; they are evicted only when Azure needs the capacity back. Price-based eviction applies to Spot VMs you deploy directly, not to Batch pools.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More AZ-305 topics in this module