Courseiva

AI-900 Practice Question: Describe fundamental principles of machine learning on Azure

A retail company wants to automatically group its customers into distinct segments based on their purchasing patterns, without having pre-defined categories. The goal is to discover natural groupings in the customer data to tailor marketing campaigns. Which type of machine learning task should the company use?

⚠ Common exam trap

Many exam-takers confuse 'grouping without labels' with classification (which requires labels) or regression (which predicts numbers), but the key differentiator is the absence of pre-defined categories, pointing directly to unsupervised clustering.

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

Unsupervised learning - Clustering

The company wants to discover natural groupings in customer data without pre-defined categories, which is the definition of unsupervised learning. Clustering algorithms (e.g., K-Means, DBSCAN) automatically partition data into segments based on similarity in purchasing patterns, making it the correct choice for this 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.

  • Supervised learning - Classification

    Why it's wrong here

    Classification is a supervised learning task that assigns each data point to one of a predefined set of categories using a labeled training dataset with ground-truth labels. In this retail scenario, there are no existing customer segment labels or known group definitions; the company wants the model to identify segments from the data itself. Without labeled examples to learn from, classification cannot be used to automatically discover customer groups.

    When this WOULD be correct

    If the company had pre-defined customer segments (e.g., 'high spender', 'bargain hunter') and wanted to predict which segment a new customer belongs to based on labeled historical data, then supervised classification would be correct.

  • Unsupervised learning - Clustering

    Why this is correct

    Clustering is an unsupervised learning technique that partitions data points into groups based on feature similarity, such as purchase history, spending amount, or browsing behavior. Algorithms like k-means or DBSCAN automatically discover natural customer segments from the patterns in these features without requiring any labeled examples or predefined outcomes. This directly matches the retail company's goal of grouping customers based on their attributes.

  • Reinforcement learning

    Why it's wrong here

    Reinforcement learning trains an agent to make a sequence of decisions by interacting with an environment and maximizing a cumulative reward signal, commonly applied in robotics, game playing, or dynamic pricing. It is not designed for static grouping tasks because there is no state-transition process or reward for forming customer segments. Grouping customers into clusters is a one-time pattern discovery problem, not a sequential decision-making problem.

    When this WOULD be correct

    A company wants to develop a recommendation system that learns optimal marketing actions (e.g., which discount to offer) by interacting with customers and receiving feedback (e.g., purchase or not) to maximize long-term revenue.

  • Supervised learning - Regression

    Why it's wrong here

    Regression is a supervised learning technique that predicts a continuous numeric value, such as a customer's future spending or product price, by training on labeled datasets. It requires known target values to learn a mapping from features to a number, so it cannot output discrete group assignments or segment memberships. Because the company needs to create distinct customer groups rather than predict a numeric quantity, regression is not applicable to this scenario.

    When this WOULD be correct

    A question asking to predict a continuous value, such as 'predict the annual spending amount for each customer based on their purchase history,' would make supervised regression 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.

Unsupervised learning - ClusteringCorrect answer

Why this is correct

Clustering is an unsupervised learning technique that partitions data points into groups based on feature similarity, such as purchase history, spending amount, or browsing behavior. Algorithms like k-means or DBSCAN automatically discover natural customer segments from the patterns in these features without requiring any labeled examples or predefined outcomes. This directly matches the retail company's goal of grouping customers based on their attributes.

Supervised learning - ClassificationWrong answer — click to see why

Why this is wrong here

The question specifies no pre-defined categories and aims to discover natural groupings, which is unsupervised clustering. Supervised classification requires labeled data with known classes.

★ When this WOULD be the correct answer

If the company had pre-defined customer segments (e.g., 'high spender', 'bargain hunter') and wanted to predict which segment a new customer belongs to based on labeled historical data, then supervised classification would be correct.

Why candidates choose this

Candidates may confuse 'grouping customers' with classification, not realizing that classification requires predefined labels, while clustering discovers unknown groups.

Reinforcement learningWrong answer — click to see why

Why this is wrong here

Reinforcement learning involves an agent learning to make decisions through trial and error to maximize a reward, which is not applicable to grouping customers into segments based on existing data without predefined categories or a reward signal.

★ When this WOULD be the correct answer

A company wants to develop a recommendation system that learns optimal marketing actions (e.g., which discount to offer) by interacting with customers and receiving feedback (e.g., purchase or not) to maximize long-term revenue.

Why candidates choose this

Candidates may confuse clustering with reinforcement learning because both involve 'learning' without explicit labels, but reinforcement learning is about sequential decision-making with rewards, not discovering groupings in static data.

Supervised learning - RegressionWrong answer — click to see why

Why this is wrong here

The goal is to discover natural groupings without predefined categories, which is unsupervised clustering. Regression predicts a continuous numeric value, not customer segments.

★ When this WOULD be the correct answer

A question asking to predict a continuous value, such as 'predict the annual spending amount for each customer based on their purchase history,' would make supervised regression correct.

Why candidates choose this

Candidates may confuse 'grouping' with 'predicting a numeric value' or mistakenly think regression can handle segmentation tasks.

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?”

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 →

How Courseiva writes practice questions · Editorial policy

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.