Low-priority model deployment in Azure Machine Learning

AI-300 By islever Editorial Last updated

Short answer

B Azure Machine Learning compute clusters are the only listed target that can be provisioned with the LowPriority tier, using surplus Azure capacity for discounted batch inference.

Question

You manage an Azure Machine Learning workspace. You develop a machine learning model. You must deploy the model to use a low-priority VM with a pricing discount. You need to deploy the model. Which compute target should you use?
  1. Azure Container Instances (ACI)
  2. Azure Machine Learning compute clusters Correct Answer
  3. Local deployment
  4. Azure Kubernetes Service (AKS)

Key Takeaways

Low-priority Azure Machine Learning compute clusters use surplus Azure capacity to reduce the cost of interruptible batch inference. Azure Container Instances, AKS deployment targets, and local deployment do not expose the LowPriority tier, so they cannot satisfy the discount requirement. The correct target is B, the Azure Machine Learning compute cluster, because it is the only listed option that provides low-priority VMs.

Expert Analysis

Azure Machine Learning compute clusters support the 'LowPriority' tier, which utilizes surplus Azure capacity to provide significant cost discounts for batch inference workloads. This feature is not available in ACI or AKS deployment targets, making the compute cluster the correct choice for low-priority VMs.

The deciding attribute is not the model format or the scoring script; it is which Azure Machine Learning compute target exposes a low-priority pricing tier. Azure Machine Learning compute clusters can be created with vm_priority set to lowpriority (or the equivalent Low priority setting in studio), which allocates nodes from surplus Azure capacity at a discount. That tier is the only listed target that maps directly to the requirement 'low-priority VM with a pricing discount.' A batch/offline deployment can use such a cluster as its scoring compute, with the model and environment mounted or downloaded to the nodes at run time.

Why Azure Machine Learning compute clusters hold

The compute cluster is the Azure ML managed compute resource designed for multi-node jobs. In a batch inference deployment, the scoring workload is distributed across cluster nodes, and low-priority nodes reduce the hourly cost of the run. The trade-off is eviction: Azure can reclaim low-priority capacity, so the workload must tolerate node loss and retries. That is acceptable for batch scoring, which can resume or rerun, but not for an always-on endpoint with a strict latency SLA. This distinction matters because the phrase 'deploy the model' can mean either online serving or batch scoring; the low-priority requirement itself narrows the design toward interruptible batch compute.

Why the other targets fail

A. Azure Container Instances (ACI). ACI is a lightweight container target for quick real-time testing and small deployments. It is billed for the container resources it runs, but it does not expose an Azure ML LowPriority tier or a surplus-capacity eviction model. Selecting ACI would satisfy neither the low-priority VM type nor the pricing discount.

C. Local deployment. A local deployment runs the model on the workstation or local container host used by the developer. Its cost is the local hardware or workstation resource, not a discounted Azure VM tier, and it provides no Azure capacity or scaling. It is a debugging option, not a low-priority deployment target.

D. Azure Kubernetes Service (AKS). AKS is the Kubernetes target for production real-time inference, with node pools, autoscaling and controlled rollout. The Azure ML AKS deployment target does not present the Azure ML LowPriority compute tier that the compute cluster does; choosing AKS adds Kubernetes management and favors persistent serving capacity. Even where a Kubernetes cluster can be built with cost-optimized nodes, that is a separate AKS configuration, not the Azure ML compute target setting that the named requirement relies on.

The eviction mechanism to apply

A low-priority VM is not simply a cheaper guaranteed VM. It is capacity that Azure can evict when the surplus pool is needed, so the deployment pattern must include retry or checkpointing at the job level. For example, a batch scoring job over a large dataset on an Azure ML compute cluster can split work across nodes, rerun failed partitions, and tolerate a reclaimed node; a real-time endpoint expected to answer every request cannot make the same assumption. That is why the low-priority tier belongs with batch/offline scoring rather than latency-sensitive online serving, and why the compute cluster is the only option here that satisfies the discount requirement without pretending the capacity is guaranteed.

Official Reference

Exam Strategy

When a stem mentions a VM pricing tier, match it to the first-class setting exposed by the Azure ML compute target before considering serving features. Low-priority or evictable capacity points to Azure ML compute clusters and batch/offline scoring; ACI, AKS, and local deployment are eliminated because they do not expose the LowPriority tier. Also check interruption tolerance: if the workload needs a guaranteed real-time SLA, a low-priority tier is the wrong family even if it is cheaper.

Practice All AI-300 Questions

Access 49 questions with complete answers and detailed explanations.

View Full AI-300 Practice Test →

← Back to AI-300 Study Guide