Deploy Models for Production
Unlock the complete study guide + 1,040 practice questions across 16 full exams.
Bundled into the existing Operationalizing Machine Learning and Generative AI Solutions premium course — no separate purchase.
14-day money-back guarantee — no questions asked.
Included in this chapter:
- The endpoint and deployment model
- Online hosts and batch endpoints compared
- Author the deployment: MLflow no-code vs score.py
- Authentication modes for online endpoints
- Safe rollout, rollback, and autoscaling
- Exam patterns: pick the endpoint and the fix
Endpoint options for production model serving
| Capability | Managed online endpoint | Kubernetes online endpoint | Batch endpoint |
|---|---|---|---|
| Inference mode | Real-time, synchronous | Real-time, synchronous | Asynchronous job |
| Invoked as | HTTPS scoring request | HTTPS scoring request | Job over a file dataset |
| Deployments per endpoint | Multiple, with traffic split | Multiple, with traffic split | Single default deployment |
| Traffic mirroring | Supported | Unsupported | Not applicable |
| Infrastructure | Azure-managed (OS patch, node recovery) | You manage the cluster and OS | Provisioned per job, scale-to-zero when idle |
| Scaling | Azure Monitor autoscale adds nodes | Replicas within a fixed cluster | Parallel across the compute cluster |
| Entra token (aad_token) auth | Supported | Not supported (key or aml_token) | Microsoft Entra (user/service principal) |
Decision tree
Cheat sheet
Unlock with Premium — includes all practice exams and the complete study guide.
References
- Online endpoints for real-time inference - Azure Machine Learning
- What are batch endpoints? - Azure Machine Learning
- Autoscale online endpoints - Azure Machine Learning
- Deploy MLflow models to real-time endpoints - Azure Machine Learning
- Deploy Machine Learning Models to Online Endpoints - Azure Machine Learning
- CLI (v2) batch deployment YAML schema - Azure Machine Learning
- Authenticate Clients for Online Endpoints - Azure Machine Learning
- Safe rollout for online endpoints - Azure Machine Learning