AI-900 Practice Question: Describe fundamental principles of machine learning on Azure
A retail company wants to segment its customers into different groups based on purchasing behavior, without using predefined categories. Which type of machine learning task should they use?
⚠ Common exam trap
Many exam-takers confuse clustering with classification because both involve grouping, but classification requires predefined labels while clustering discovers groups from unlabeled data, which is the key distinction tested in this question.
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
✓
Clustering
Clustering is the correct choice because it is an unsupervised learning technique that groups data points based on inherent similarities without requiring predefined labels. In this scenario, the retail company wants to discover natural segments in customer purchasing behavior, such as high-frequency buyers or discount seekers, without providing any existing categories. Azure Machine Learning offers clustering algorithms like K-Means, which iteratively assigns customers to clusters by minimizing within-cluster variance based on features like purchase frequency and average order value.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Classification
Why it's wrong here
Classification is a supervised learning task that assigns examples to predefined, known classes using a model trained on labeled historical data. In customer segmentation, however, the segments are not known in advance, so there are no labeled datapoints to train a classifier on. Without existing category labels, classification cannot infer the natural segment structure from the data, making it unsuitable for this requirement.
When this WOULD be correct
A question like 'A retail company wants to predict whether a customer will churn (yes/no) based on purchase history' would make classification correct, as it involves predicting a discrete label.
- ✗
Regression
Why it's wrong here
Regression is a supervised learning method used to predict a continuous numeric value, such as customer lifetime value, sales amount, or product price. It works by learning a mapping from input features to a real-valued output, typically minimizing error like mean squared error. Because customer segmentation requires assigning each customer to a discrete group rather than predicting a number, regression is not applicable to this problem.
When this WOULD be correct
A question like 'A retail company wants to predict the total annual spending of each customer based on their purchase history. Which machine learning task should they use?' would make regression correct, as it involves predicting a continuous numeric value.
- ✓
Clustering
Why this is correct
Clustering is an unsupervised learning technique that automatically discovers natural groupings within unlabeled data based on feature similarity. For customer segmentation, algorithms like k-means or DBSCAN partition customers into distinct clusters where members of the same cluster share purchase behaviors or demographics. Since no predefined categories exist, clustering directly identifies the underlying segments the retail company is looking for.
- ✗
Reinforcement learning
Why it's wrong here
Reinforcement learning trains an agent to make a sequence of decisions by interacting with an environment and receiving rewards or penalties for its actions. It is designed for dynamic control tasks such as robotics, game playing, or inventory management, where the goal is to maximize cumulative reward over time. Customer segmentation is a static descriptive task that does not involve sequential actions or a reward signal, so reinforcement learning cannot group customers into segments.
When this WOULD be correct
A question describing a scenario where an AI system must learn to play a game by trial and error, receiving rewards for winning and penalties for losing, would make reinforcement learning the correct answer.
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.
✓ClusteringCorrect answer▾
Why this is correct
Clustering is an unsupervised learning technique that automatically discovers natural groupings within unlabeled data based on feature similarity. For customer segmentation, algorithms like k-means or DBSCAN partition customers into distinct clusters where members of the same cluster share purchase behaviors or demographics. Since no predefined categories exist, clustering directly identifies the underlying segments the retail company is looking for.
✗ClassificationWrong answer — click to see why▾
Why this is wrong here
Classification requires predefined categories (labels) to predict, but the question specifies 'without using predefined categories', making clustering the correct unsupervised approach.
★ When this WOULD be the correct answer
A question like 'A retail company wants to predict whether a customer will churn (yes/no) based on purchase history' would make classification correct, as it involves predicting a discrete label.
Why candidates choose this
Candidates may confuse segmentation (grouping similar customers) with classification (assigning to known groups), especially if they think of customer segments as predefined categories.
✗RegressionWrong answer — click to see why▾
Why this is wrong here
Regression predicts a continuous numeric value, such as sales amount, but the question asks for grouping customers into segments without predefined categories, which is a clustering task.
★ When this WOULD be the correct answer
A question like 'A retail company wants to predict the total annual spending of each customer based on their purchase history. Which machine learning task should they use?' would make regression correct, as it involves predicting a continuous numeric value.
Why candidates choose this
Candidates may confuse regression with clustering because both involve analyzing numerical data, but regression focuses on predicting a value rather than grouping data points.
✗Reinforcement learningWrong answer — click to see why▾
Why this is wrong here
Reinforcement learning involves an agent learning to make decisions by interacting with an environment to maximize rewards, not for segmenting data into groups without predefined categories.
★ When this WOULD be the correct answer
A question describing a scenario where an AI system must learn to play a game by trial and error, receiving rewards for winning and penalties for losing, would make reinforcement learning the correct answer.
Why candidates choose this
Candidates may confuse reinforcement learning with unsupervised learning because both involve learning without explicit labels, but reinforcement learning focuses on sequential decision-making, not data grouping.
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?”
Visual reference
Go deeper
Related to this question
Learn chapter
Machine Learning Core Concepts
Key term
Clustering
Clustering is a technique where multiple servers work together as a single system to keep applications running even if one server fails.
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
This AI-900 question is part of Courseiva's 985-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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.