Courseiva

Clustering in Unsupervised Machine Learning

What is 'clustering' in unsupervised machine learning?

Quick Answer

The correct answer is that clustering in unsupervised machine learning groups similar data points together without predefined labels, based on natural patterns in the data. This is the core definition because clustering algorithms, such as K-Means or DBSCAN, analyze inherent structures like distance or density to form clusters, requiring no labeled training data—unlike supervised learning methods. On the Microsoft Azure AI Fundamentals AI-900 exam, this concept tests your understanding of unsupervised learning's purpose, often appearing in scenarios like customer segmentation or anomaly detection. A common trap is confusing clustering with classification: remember, classification uses labeled data to predict categories, while clustering discovers hidden groupings on its own. To lock it in, use the mnemonic "C-U-NO" for Clustering is Unsupervised and Needs NO labels.

⚠ Common exam trap

Many exam-takers confuse clustering (unsupervised) with classification (supervised), especially when the question mentions 'grouping' data, leading them to choose Option B which describes classification with predefined labels.

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

Grouping similar data points together without predefined labels based on natural patterns

Clustering is an unsupervised learning technique that automatically groups data points based on inherent similarities or patterns in the data, without requiring any pre-existing labels. The algorithm identifies natural structures, such as distance or density relationships, to form clusters. In Azure Machine Learning, clustering is commonly implemented using algorithms like K-Means or DBSCAN for tasks such as customer segmentation or anomaly detection.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Grouping similar data points together without predefined labels based on natural patterns

    Why this is correct

    Clustering is unsupervised — it discovers natural groupings in data (customer segments, document topics) without requiring labels.

  • Classifying data points into predefined categories using labelled training examples

    Why it's wrong here

    Predefined category classification is supervised classification — clustering discovers categories without predefined labels.

  • Grouping Azure compute resources together for distributed training jobs

    Why it's wrong here

    Compute clustering is infrastructure — ML clustering groups data points by similarity for pattern discovery.

  • Organising model training runs into logical groups for experiment tracking

    Why it's wrong here

    Experiment organisation is MLOps — ML clustering is a data analysis technique for grouping similar examples.

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

Same concept, more angles

3 more ways this is tested on AI-900

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. An e-commerce company has a dataset of customer purchase histories with no predefined categories. The data analyst wants to identify natural groupings of customers based on their purchasing behavior to target marketing campaigns. Which type of machine learning should the analyst use?

easy
  • A.Regression
  • B.Classification
  • C.Clustering
  • D.Reinforcement learning

Why C: Clustering is the correct choice because it is an unsupervised learning technique used to discover inherent groupings in data without predefined labels. In this scenario, the analyst wants to identify natural customer segments based on purchase behavior, which aligns perfectly with clustering algorithms like K-Means or DBSCAN that partition data into clusters of similar patterns.

Variation 2. 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?

medium
  • A.Classification
  • B.Regression
  • C.Clustering
  • D.Reinforcement learning

Why C: 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.

Variation 3. 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?

medium
  • A.Classification
  • B.Regression
  • C.Clustering
  • D.Reinforcement learning

Why C: 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.

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.