AI-900 Practice Question: Describe fundamental principles of machine learning on Azure
What is 'batch inference' vs 'real-time inference' in Azure Machine Learning?
⚠ Common exam trap
Many exam-takers confuse 'batch' with 'less accurate' or 'real-time' with 'GPU-only', when in fact the core distinction is synchronous vs asynchronous processing, not performance or hardware constraints.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Real-time processes individual requests immediately; batch processes large datasets at scheduled intervals
Batch inference processes large datasets asynchronously at scheduled intervals, making it suitable for offline or periodic predictions, while real-time inference handles individual requests immediately with low latency for interactive applications. Azure Machine Learning supports both: real-time endpoints for synchronous scoring and batch endpoints for asynchronous, high-throughput processing.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Batch inference is more accurate; real-time is faster but less accurate
Why it's wrong here
This statement is false because the accuracy of an inference is determined by the model's training and the quality of its data, not by whether it is executed in real time or as a batch job. Both modes deploy the same model, and if the model parameters and inputs are identical, the output will be identical regardless of timing. Real-time may appear 'less accurate' only if you choose a smaller, faster model to meet latency targets, but that is a deployment trade-off, not an inherent property of the inference mode.
- ✓
Real-time processes individual requests immediately; batch processes large datasets at scheduled intervals
Why this is correct
That is correct: real-time inference (also called online inference) responds to each individual request with a prediction immediately, typically via a REST API, enabling interactive applications like a chatbot or fraud detector. Batch inference, on the other hand, processes a large dataset asynchronously in a scheduled or otherwise triggered job, producing predictions for many records collected together, which suits periodic scoring like daily customer churn analyses. This distinction in latency and workload shape—not accuracy or hardware—is the primary reason you choose one pattern over the other.
- ✗
Batch requires GPU compute; real-time uses CPU only
Why it's wrong here
This is incorrect because the choice of compute (CPU vs GPU) is independent of the inference mode. A batch job can run on GPUs to process huge volumes more quickly, while a real-time endpoint might use a CPU if the model is small and the latency still meets requirements, or a GPU if the model is a deep neural network needing low-latency responses. There is no rule that batch requires GPU or that real-time is CPU-only; the selection depends on model complexity, load, and cost constraints.
- ✗
Real-time inference is only available in Azure; batch works on-premises too
Why it's wrong here
That is false because both real-time and batch inference can be deployed in Azure, on-premises, or at the edge. Azure Machine Learning offers managed online (real-time) and batch endpoints in the cloud, but you can also containerize models and run them on your own infrastructure, such as using Azure Arc or Azure IoT Edge for on-premises/edge real-time inferencing, and you can run scheduled batch scoring scripts locally or in a private Kubernetes cluster. The actual difference remains whether predictions need to be delivered immediately per request or can be computed on a bulk schedule, not the deployment location.
Go deeper
Related to this question
Learn chapter
Machine Learning Core Concepts
Key term
Machine learning
Machine learning is a branch of artificial intelligence where computers learn patterns from data to make decisions or predictions without being explicitly programmed for every task.
Key term
Batch
Batch is a cloud computing service that runs large numbers of computing jobs as a group, or batch, without needing to manage individual servers.
About these practice questions
Courseiva writes every AI-900 question from scratch — 985 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This AI-900 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AI-900 exam.