AI-900 Practice Question: Describe fundamental principles of machine learning on Azure
A data scientist is building a machine learning model to predict whether a credit card transaction is fraudulent or legitimate. The dataset contains 100,000 historical transactions, each labeled as 'fraudulent' or 'legitimate'. Which type of machine learning task should the data scientist use in Azure Machine Learning?
⚠ Common exam trap
Many candidates confuse binary classification with multi-class classification, mistakenly thinking that 'fraudulent' and 'legitimate' are two separate classes requiring multi-class logic, when in fact binary classification is explicitly designed for exactly two outcomes.
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
✓
Binary classification
Binary classification is the correct choice because the prediction task involves distinguishing between exactly two mutually exclusive classes: 'fraudulent' and 'legitimate'. In Azure Machine Learning, binary classification algorithms (e.g., Two-Class Logistic Regression, Two-Class Boosted Decision Tree) are designed to output a probability score for one of two labels, making them ideal for this fraud detection 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.
- ✗
Regression
Why it's wrong here
Regression is inappropriate because it outputs a continuous numeric value, such as a transaction amount or a real-valued risk score. The fraud-detection objective is to assign a categorical label, not to estimate a quantity on an unbounded scale. While some classifiers output probabilities, those probabilities are then thresholds to produce a class, which is still a classification workflow. Predicting a continuous outcome directly would not map cleanly to the two desired categories.
When this WOULD be correct
A regression task would be correct if the question asked to predict a continuous value, such as the dollar amount of a fraudulent transaction.
- ✓
Binary classification
Why this is correct
Binary classification is the correct choice because the model predicts one of exactly two discrete outcomes: fraudulent or legitimate. This is a supervised learning problem since every training example includes a known label. Algorithms such as logistic regression, decision trees, or boosted ensembles can learn a decision boundary that separates these two classes. The binary nature of the target variable is the defining characteristic.
- ✗
Multi-class classification
Why it's wrong here
Multi-class classification would be required if the target variable had three or more distinct categories, such as fraud type A, type B, and legitimate. Here the prediction task involves only a binary outcome, so the additional complexity of multi-class algorithms is unnecessary. Even if a model like a neural network with a softmax output could technically handle two classes, standard binary classification is the standard and most efficient framing. The number of mutually exclusive classes is exactly two, not more.
When this WOULD be correct
A dataset contains transactions labeled as 'low risk', 'medium risk', 'high risk', and 'fraudulent' (four categories). The goal is to predict the risk category of a new transaction.
- ✗
Clustering
Why it's wrong here
Clustering is an unsupervised learning technique that identifies natural groupings within unlabeled data based on feature similarity. The fraud-detection dataset includes labeled examples, so the correct approach is supervised classification that leverages these labels to establish a mapping from features to outcomes. Clustering would ignore the ground-truth labels and would instead partition transactions into clusters that may or may not align with fraud status. Without labels, there is no way to guide the model toward the specific fraudulent versus legitimate decision boundary.
When this WOULD be correct
A data scientist has a dataset of credit card transactions without labels and wants to identify groups of similar transactions to detect unusual patterns. Clustering would be used to segment transactions into clusters, where outliers may indicate fraud.
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.
✓Binary classificationCorrect answer▾
Why this is correct
Binary classification is the correct choice because the model predicts one of exactly two discrete outcomes: fraudulent or legitimate. This is a supervised learning problem since every training example includes a known label. Algorithms such as logistic regression, decision trees, or boosted ensembles can learn a decision boundary that separates these two classes. The binary nature of the target variable is the defining characteristic.
✗RegressionWrong answer — click to see why▾
Why this is wrong here
Regression predicts a continuous numeric value, but fraud detection requires predicting a discrete category (fraudulent or legitimate).
★ When this WOULD be the correct answer
A regression task would be correct if the question asked to predict a continuous value, such as the dollar amount of a fraudulent transaction.
Why candidates choose this
Candidates may confuse regression with classification, thinking that predicting a numeric label (e.g., 0 or 1) is regression, not classification.
✗Multi-class classificationWrong answer — click to see why▾
Why this is wrong here
Multi-class classification is used for predicting more than two classes, but here the task is binary (fraudulent vs. legitimate), so it is not appropriate.
★ When this WOULD be the correct answer
A dataset contains transactions labeled as 'low risk', 'medium risk', 'high risk', and 'fraudulent' (four categories). The goal is to predict the risk category of a new transaction.
Why candidates choose this
Candidates may confuse multi-class with binary classification, thinking that any categorical prediction with more than one class is multi-class, or they may overlook the fact that only two outcomes exist.
✗ClusteringWrong answer — click to see why▾
Why this is wrong here
Clustering is an unsupervised learning task used to group unlabeled data, but the dataset has labeled transactions ('fraudulent' or 'legitimate'), so supervised learning is required.
★ When this WOULD be the correct answer
A data scientist has a dataset of credit card transactions without labels and wants to identify groups of similar transactions to detect unusual patterns. Clustering would be used to segment transactions into clusters, where outliers may indicate fraud.
Why candidates choose this
Candidates may think clustering can detect fraud by grouping similar transactions, overlooking that the question specifies labeled data, which requires supervised classification.
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?”
Go deeper
Related to this question
Learn chapter
Machine Learning Core Concepts
Key term
Model
In IT and AI, a model is a trained mathematical representation that learns patterns from data to make predictions or decisions.
Key term
Regression
Regression is a type of machine learning algorithm that predicts a continuous numeric output based on input data, used to model relationships between variables.
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 →
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.