Courseiva

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

A hospital has a dataset with historical patient records, each labeled as either 'readmitted within 30 days' or 'not readmitted'. The hospital wants to train a model to predict which current patients are likely to be readmitted. Which type of machine learning task is this?

⚠ Common exam trap

Many candidates confuse regression with classification when the target variable is a binary outcome, mistakenly thinking 'readmitted or not' is a numeric value rather than a categorical label.

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

Supervised classification

This is a supervised classification task because the dataset contains labeled historical patient records (readmitted or not readmitted), and the goal is to predict a discrete category (binary outcome) for new patients. In Azure Machine Learning, this would use a classification algorithm like logistic regression or decision tree to assign each patient to one of the two classes.

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 regression

    Why it's wrong here

    Supervised regression is incorrect because the target variable is a discrete category, not a continuous numeric quantity. Regression would predict a value like length of hospital stay or blood pressure, whereas readmission status is a binary class. Even if a regressor could be thresholded into two groups, doing so would be poorly calibrated and would not optimize classification metrics such as F1-score, so it is not the right framework for this labeled categorical outcome.

    When this WOULD be correct

    If the hospital wanted to predict the number of days until readmission (a continuous value), then supervised regression would be the correct task.

  • Supervised classification

    Why this is correct

    Supervised classification is appropriate because each patient record includes a known outcome label: either 'readmitted' or 'not readmitted' within a specified timeframe. The algorithm learns a decision boundary from historical features (demographics, diagnoses, lab values) to predict the categorical target for new patients. Common algorithms include logistic regression, random forests, and gradient-boosted trees, and the model is evaluated with metrics such as accuracy, precision, recall, and AUC-ROC.

  • Unsupervised clustering

    Why it's wrong here

    Unsupervised clustering is wrong because it assumes the data has no ground-truth labels and seeks to discover hidden structures or patient subgroups on its own. This dataset does have labels (readmitted or not), so the learning problem is supervised. Using k-means or hierarchical clustering here would ignore those known outcomes and cannot directly output a model that predicts readmission status from a new patient's features.

    When this WOULD be correct

    If the hospital had unlabeled patient records and wanted to discover natural groupings (e.g., patient segments with similar readmission risk patterns) without predefined categories, unsupervised clustering would be correct.

  • Reinforcement learning

    Why it's wrong here

    Reinforcement learning is not applicable because it trains an agent to take sequential actions in an environment and learn from delayed rewards or penalties. A historical patient dataset is static and passive: there is no action at each record, no environment state transition, and no reward signal based on choosing a policy. Readmission prediction is a one-shot pattern-recognition task, not an interactive decision-making process.

    When this WOULD be correct

    A hospital wants to train a model that dynamically adjusts treatment plans for patients to minimize readmission rates over time, where the model receives feedback (reward) based on patient outcomes after each decision.

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.

Supervised classificationCorrect answer

Why this is correct

Supervised classification is appropriate because each patient record includes a known outcome label: either 'readmitted' or 'not readmitted' within a specified timeframe. The algorithm learns a decision boundary from historical features (demographics, diagnoses, lab values) to predict the categorical target for new patients. Common algorithms include logistic regression, random forests, and gradient-boosted trees, and the model is evaluated with metrics such as accuracy, precision, recall, and AUC-ROC.

Supervised regressionWrong answer — click to see why

Why this is wrong here

The task involves predicting a categorical label ('readmitted' or 'not'), not a continuous numeric value. Regression is for predicting continuous outcomes, so it is incorrect here.

★ When this WOULD be the correct answer

If the hospital wanted to predict the number of days until readmission (a continuous value), then supervised regression would be the correct task.

Why candidates choose this

Candidates may confuse 'predicting readmission' with predicting a numeric risk score or duration, mistakenly thinking regression applies to any prediction task.

Unsupervised clusteringWrong answer — click to see why

Why this is wrong here

The dataset has labeled outcomes (readmitted or not), making it a supervised learning problem, not unsupervised. Clustering is used when no labels exist.

★ When this WOULD be the correct answer

If the hospital had unlabeled patient records and wanted to discover natural groupings (e.g., patient segments with similar readmission risk patterns) without predefined categories, unsupervised clustering would be correct.

Why candidates choose this

Candidates may confuse clustering with classification because both involve grouping data, but clustering does not use predefined labels.

Reinforcement learningWrong answer — click to see why

Why this is wrong here

Reinforcement learning involves an agent learning through trial-and-error interactions with an environment to maximize cumulative reward, which does not apply to predicting readmission from labeled historical data.

★ When this WOULD be the correct answer

A hospital wants to train a model that dynamically adjusts treatment plans for patients to minimize readmission rates over time, where the model receives feedback (reward) based on patient outcomes after each decision.

Why candidates choose this

Candidates may confuse reinforcement learning with any scenario involving sequential decisions or long-term outcomes, mistakenly thinking that predicting readmission involves a sequence of actions.

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.