Courseiva

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

A data scientist trains a model to predict the exact number of cars that will cross a bridge each day for maintenance planning. The model uses historical traffic data as input. Which type of machine learning task is this?

⚠ Common exam trap

Watch out — candidates often confuse predicting a numeric count with classification, mistakenly thinking 'number of cars' is a category, but regression is required for any continuous numeric output.

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

Regression

The model predicts a continuous numerical value (the exact number of cars) based on historical traffic data. Regression is the correct machine learning task for predicting continuous numeric outcomes, such as counts, prices, or temperatures, making option B correct.

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 predicts a discrete class label or category, such as 'heavy', 'medium', or 'light' traffic, rather than a precise numeric count. Assigning a car count to a bucket loses the exact value, so a classification model cannot output the number 247 as a continuous prediction.

  • Regression

    Why this is correct

    Regression predicts a continuous numeric target value, which is exactly what is needed to estimate the exact number of cars. Even though a car count is an integer, regression models such as linear regression or decision tree regression learn a mapping from input features to this numeric quantity and can output a precise estimated value.

  • Clustering

    Why it's wrong here

    Clustering is an unsupervised technique that groups similar data points into clusters based on feature similarity, with no labeled target variable. It discovers hidden structure in unlabeled data but does not produce a numeric prediction for a specific outcome, so it cannot estimate the exact number of cars for a given input.

  • Reinforcement learning

    Why it's wrong here

    Reinforcement learning trains an agent to take sequential actions in an environment to maximize cumulative reward through trial and error. It is designed for decision-making policies, such as controlling traffic signals, not for predicting a continuous numeric value from historical data; predicting car counts is a supervised regression task, not an RL policy.

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.