AI-900 Practice Question: Describe fundamental principles of machine learning on Azure
A retail company has a dataset of customer transaction records with no predefined categories. They want to identify natural groupings of customers based on their purchasing behavior to create targeted marketing campaigns. Which type of machine learning should they use in Azure Machine Learning?
⚠ Common exam trap
A common mix-up: candidates confuse clustering with classification because both involve grouping, but clustering is unsupervised (no labels) while classification is supervised (requires labeled data).
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 the goal is to discover natural groupings in unlabeled data based on purchasing behavior. Azure Machine Learning provides clustering algorithms like K-Means that automatically partition customers into segments without predefined labels, enabling targeted marketing campaigns.
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 incorrect for this scenario because it is a supervised learning method that requires a labeled training dataset with a known target variable (e.g., churn or fraud). Without labels indicating the true category for each transaction or customer, a classifier cannot be trained to assign new records to the correct class, so it cannot reveal hidden groupings from unlabeled data.
When this WOULD be correct
If the question described a dataset with labeled customer segments (e.g., 'high spender', 'low spender') and asked to predict which segment a new customer belongs to, classification would be correct.
- ✗
Regression
Why it's wrong here
Regression is incorrect because it predicts a continuous numerical outcome, such as sales amount or lifetime value, based on input features, and it also requires labeled training examples with known target values. The task here is to group customers into segments, not to predict a numeric quantity, so regression is fundamentally misaligned with the goal of discovering structure within transaction records.
When this WOULD be correct
A question asking to predict a customer's total annual spending based on their purchase history would require regression, as the output is a continuous numeric value.
- ✓
Clustering
Why this is correct
Clustering is the correct approach because it is an unsupervised learning technique that discovers natural groupings or segments in data without requiring pre-existing labels. Applied to customer transaction records, clustering groups customers with similar purchasing patterns, enabling the company to identify market segments, target promotions, or analyze behavior without needing a predefined target variable.
- ✗
Reinforcement learning
Why it's wrong here
Reinforcement learning is incorrect because it involves an agent learning a policy through trial-and-error interactions with a dynamic environment, using rewards or penalties to maximize cumulative return. In contrast, clustering customer transaction records is a static, batch analysis task with no sequential decisions, no environment, and no reward signal, making reinforcement learning an inappropriate and unnecessarily complex choice.
When this WOULD be correct
A question describing a scenario where a model must learn to make sequential decisions, such as optimizing inventory restocking decisions over time by receiving rewards for minimizing stockouts and overstock, would make reinforcement learning correct.
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 the correct approach because it is an unsupervised learning technique that discovers natural groupings or segments in data without requiring pre-existing labels. Applied to customer transaction records, clustering groups customers with similar purchasing patterns, enabling the company to identify market segments, target promotions, or analyze behavior without needing a predefined target variable.
✗ClassificationWrong answer — click to see why▾
Why this is wrong here
Classification requires predefined categories (labels) to predict, but the question states the dataset has no predefined categories and the goal is to identify natural groupings, which is unsupervised clustering.
★ When this WOULD be the correct answer
If the question described a dataset with labeled customer segments (e.g., 'high spender', 'low spender') and asked to predict which segment a new customer belongs to, classification would be correct.
Why candidates choose this
Candidates may confuse grouping customers (clustering) with predicting a category (classification), especially since both involve categorizing data, but classification requires labeled training data.
✗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 to identify natural groupings of customers, which is a clustering task.
★ When this WOULD be the correct answer
A question asking to predict a customer's total annual spending based on their purchase history would require regression, as the output is a continuous numeric value.
Why candidates choose this
Candidates may confuse regression with clustering because both involve analyzing customer data, but regression focuses on predicting a numeric outcome rather than discovering groups.
✗Reinforcement learningWrong answer — click to see why▾
Why this is wrong here
Reinforcement learning is used for decision-making in dynamic environments where an agent learns by interacting with the environment and receiving rewards, not for identifying natural groupings in static data.
★ When this WOULD be the correct answer
A question describing a scenario where a model must learn to make sequential decisions, such as optimizing inventory restocking decisions over time by receiving rewards for minimizing stockouts and overstock, would make reinforcement learning correct.
Why candidates choose this
Candidates may confuse reinforcement learning with unsupervised learning because both involve learning without explicit labels, or they may think that 'learning from experience' applies to grouping customers.
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
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
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.