Courseiva

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

A retail company wants to automatically group customers into segments based on their purchasing history, age, and location without using any predefined labels. The goal is to identify distinct customer profiles for targeted marketing campaigns. Which type of machine learning approach should they use?

⚠ Common exam trap

It's easy for candidates to confuse clustering (unsupervised) with classification (supervised), mistakenly thinking that grouping customers always requires predefined labels like 'high value' or 'low value'.

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

Unsupervised learning is the correct approach because the company wants to group customers into segments without predefined labels. The algorithm will discover natural patterns and clusters in the data (purchasing history, age, location) on its own, which is the core characteristic of unsupervised learning.

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

    Why it's wrong here

    Supervised learning would be appropriate only if the company already had a labeled training set where each customer is tagged with a known segment (e.g., 'high-value', 'at-risk'). In this scenario, the goal is to find segments that are not predefined; there are no output labels to learn from. A supervised classifier cannot be trained without such ground-truth labels, so it is unsuitable for this unsupervised discovery task.

    When this WOULD be correct

    A supervised learning approach would be correct if the company had a dataset of customers already labeled with segment categories (e.g., 'high value', 'budget') and wanted to train a model to predict the segment for new customers based on their features.

  • Unsupervised learning

    Why this is correct

    Unsupervised learning is correct because the retail company seeks to discover natural groupings (clusters) in customer data without pre-existing labels. Clustering algorithms such as K-means, DBSCAN, or hierarchical clustering partition customers based on feature similarity (e.g., purchase history, demographics, browsing behavior), allowing the model to reveal hidden segments. Unlike supervised approaches, no ground-truth segment assignments are needed to train the model; the algorithm itself infers the structure from the data.

  • Reinforcement learning

    Why it's wrong here

    Reinforcement learning trains an agent to take sequences of actions in an environment to maximize cumulative rewards, typically through trial-and-error interactions. Customer segmentation is a one-time grouping of static records, with no notion of states, actions, or reward signals that would guide an agent's learning. Without a defined environment and rewards that measure segmentation quality, reinforcement learning cannot be applied to produce customer segments.

    When this WOULD be correct

    A question where an AI system must learn to optimize marketing campaign decisions (e.g., which ad to show) through trial and error based on customer responses, without labeled data but with a reward signal (e.g., click-through rate).

  • Regression

    Why it's wrong here

    Regression is a supervised learning technique used to predict a continuous numerical output, such as price, revenue, or age, from labeled training examples. The retail problem is not about predicting a numeric value; it requires partitioning customers into discrete, unknown groups. Since regression requires actual numeric target values to learn a mapping from inputs to outputs, it cannot identify segment memberships that are not provided in the data.

    When this WOULD be correct

    A question asking: 'A company wants to predict the future sales amount based on historical data and advertising spend. Which type of machine learning should they use?' — Regression would be correct for predicting a continuous value.

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 learningCorrect answer

Why this is correct

Unsupervised learning is correct because the retail company seeks to discover natural groupings (clusters) in customer data without pre-existing labels. Clustering algorithms such as K-means, DBSCAN, or hierarchical clustering partition customers based on feature similarity (e.g., purchase history, demographics, browsing behavior), allowing the model to reveal hidden segments. Unlike supervised approaches, no ground-truth segment assignments are needed to train the model; the algorithm itself infers the structure from the data.

Supervised learningWrong answer — click to see why

Why this is wrong here

The question specifies no predefined labels, which means the model must discover patterns without labeled data. Supervised learning requires labeled training data to map inputs to known outputs, so it cannot be used here.

★ When this WOULD be the correct answer

A supervised learning approach would be correct if the company had a dataset of customers already labeled with segment categories (e.g., 'high value', 'budget') and wanted to train a model to predict the segment for new customers based on their features.

Why candidates choose this

Candidates may associate customer segmentation with classification tasks and assume that labeled segments are available, overlooking the explicit statement that no predefined labels exist.

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 cumulative reward, which is not applicable to grouping customers into segments without predefined labels.

★ When this WOULD be the correct answer

A question where an AI system must learn to optimize marketing campaign decisions (e.g., which ad to show) through trial and error based on customer responses, without labeled data but with a reward signal (e.g., click-through rate).

Why candidates choose this

Candidates may confuse reinforcement learning with unsupervised learning because both can handle unlabeled data, but they overlook that reinforcement learning requires a reward-based feedback loop, not just pattern discovery.

RegressionWrong answer — click to see why

Why this is wrong here

Regression is a supervised learning technique used to predict continuous numerical values, not to group data into segments without labels. The question requires unsupervised learning for clustering customers.

★ When this WOULD be the correct answer

A question asking: 'A company wants to predict the future sales amount based on historical data and advertising spend. Which type of machine learning should they use?' — Regression would be correct for predicting a continuous value.

Why candidates choose this

Candidates may confuse regression with clustering because both involve numerical data, or they might think 'grouping' implies a numerical output like a segment ID.

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

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 →

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.