AI-900 Practice Question: Describe fundamental principles of machine learning on Azure
A retail company wants to predict the exact number of units of a product that will be sold next month. They have historical sales data and information about promotions and holidays. The target variable is the number of units sold, which is a continuous value. Which type of machine learning task should they perform?
⚠ Common exam trap
Many exam-takers confuse predicting a numeric count (regression) with classification tasks, especially when the count is small or integer-based, but the key distinction is that the target is continuous, not categorical.
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
✓
Regression
Regression is the correct choice because the target variable—number of units sold—is a continuous numeric value. Regression algorithms, such as linear regression or decision forest regression, are designed to predict a numeric quantity from historical features like sales data, promotions, and holidays. In Azure Machine Learning, regression models output a real number, making them ideal for this forecasting scenario.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Binary classification
Why it's wrong here
Binary classification predicts one of two categories (e.g., yes/no), not a continuous value.
When this WOULD be correct
A question where the goal is to predict whether sales will exceed a certain threshold (e.g., 'Will sales be above 1000 units?') with a yes/no outcome, using historical data and features like promotions and holidays.
- ✗
Multiclass classification
Why it's wrong here
Multiclass classification predicts one of multiple categories (e.g., animal types), not a continuous value.
When this WOULD be correct
A company wants to predict which of five product categories (e.g., electronics, clothing, food, books, toys) a new product belongs to based on its features. The target is a discrete category, making multiclass classification appropriate.
- ✓
Regression
Why this is correct
Regression is designed to predict continuous numerical values, such as the exact number of units sold.
- ✗
Clustering
Why it's wrong here
Clustering is an unsupervised learning task that groups similar data points without a predefined target variable.
When this WOULD be correct
A company wants to segment its customers into distinct groups based on purchasing behavior, demographics, and browsing history, without predefined labels, to tailor marketing strategies. This is a clustering task.
Option-by-option analysis
Why each answer is right or wrong
Understanding why wrong answers are wrong — and when they would be correct — is what separates a 750 score from a 900. The AI-900 exam frequently reuses these exact scenarios with slightly different constraints.
✓RegressionCorrect answer▾
Why this is correct
Regression is designed to predict continuous numerical values, such as the exact number of units sold.
✗Binary classificationWrong answer — click to see why▾
Why this is wrong here
The target variable is the number of units sold, which is a continuous value, not a binary outcome. Binary classification predicts one of two discrete classes, not a continuous number.
★ When this WOULD be the correct answer
A question where the goal is to predict whether sales will exceed a certain threshold (e.g., 'Will sales be above 1000 units?') with a yes/no outcome, using historical data and features like promotions and holidays.
Why candidates choose this
Candidates may confuse predicting a specific number with a simple yes/no outcome, or they might think that any prediction involving sales is a classification problem.
✗Multiclass classificationWrong answer — click to see why▾
Why this is wrong here
The target variable is the number of units sold, which is a continuous value, not a discrete class. Multiclass classification predicts a single label from multiple discrete categories, not a continuous number.
★ When this WOULD be the correct answer
A company wants to predict which of five product categories (e.g., electronics, clothing, food, books, toys) a new product belongs to based on its features. The target is a discrete category, making multiclass classification appropriate.
Why candidates choose this
Candidates may confuse 'multiple possible outcomes' (like different sales numbers) with 'multiple classes,' not realizing that regression handles continuous outcomes while classification handles discrete labels.
✗ClusteringWrong answer — click to see why▾
Why this is wrong here
Clustering is an unsupervised learning task used to group similar data points without labeled outcomes, but this question requires predicting a continuous target variable (units sold) from labeled historical data, which is a supervised regression problem.
★ When this WOULD be the correct answer
A company wants to segment its customers into distinct groups based on purchasing behavior, demographics, and browsing history, without predefined labels, to tailor marketing strategies. This is a clustering task.
Why candidates choose this
Candidates may confuse clustering with regression because both involve analyzing patterns in data, but clustering lacks a target variable and is unsupervised, while regression requires labeled continuous outcomes.
Analysis generated from the official AI-900blueprint and verified against question context. The “when correct” sections are what AI assistants cite when candidates ask “what’s the difference between these options?”
Go deeper
Related to this question
Learn chapter
Machine Learning Core Concepts
Key term
Regression
Regression is a type of machine learning algorithm that predicts a continuous numeric output based on input data, used to model relationships between variables.
Key term
Azure Machine Learning
Azure Machine Learning is a cloud service for building, training, and deploying machine learning models at scale.
About these practice questions
One of 985 original AI-900 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.