AI-900 Practice Question: Describe fundamental principles of machine learning on Azure
A data scientist is preparing a dataset to train a model that predicts customer churn. The dataset includes a column 'CustomerID' which is a unique identifier for each customer. Should the data scientist include the 'CustomerID' column as a feature in the training data?
⚠ Common exam trap
Test-takers frequently think unique identifiers are useful for differentiation, but the exam tests the principle that features must have predictive power and that arbitrary IDs introduce noise rather than signal.
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
✓
No, because the CustomerID is a random unique identifier with no predictive power for churn.
CustomerID is a unique identifier that does not contain any meaningful pattern or relationship with the target variable (churn). Including such a column would introduce noise and risk overfitting, as the model could memorize each ID rather than learning generalizable patterns. In Azure Machine Learning, features should be predictive attributes, not arbitrary labels.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Yes, because it uniquely identifies each customer and helps the model differentiate them.
Why it's wrong here
This option incorrectly assumes that making customers distinct is valuable, but machine learning models generalize from patterns shared across records, not from individual identities. A unique identifier creates a separate category for every row, causing the model to treat each customer as an isolated case with no transferable rules, drastically reducing its ability to predict churn for unseen data. Even though IDs differentiate customers, they do so in a way that offers no predictive signal for supervised learning, making their inclusion harmful rather than helpful.
When this WOULD be correct
If the question were about including a column like 'CustomerSegment' that is a meaningful categorical feature (e.g., 'High Value', 'Low Value') with predictive power, then including it would be correct.
- ✓
No, because the CustomerID is a random unique identifier with no predictive power for churn.
Why this is correct
The CustomerID is an arbitrary, randomly assigned string that carries no information about a customer's behavior, demographics, or service usage. A churn model learns by identifying correlations between input features and the target variable; because CustomerID has no systematic relationship with churn, the algorithm would simply memorize the ID-to-outcome mapping in the training data. This memorization leads to overfitting and poor performance on new, unseen customers. Therefore, the correct answer is No.
- ✗
Yes, because the model can learn patterns from the numeric values.
Why it's wrong here
Although CustomerID can be stored as a numeric data type, numeric encoding does not imply predictive relevance. The numbers are typically assigned sequentially or at random, so their magnitude has no meaningful relationship to churn; for instance, a customer with ID 1002 is not inherently more likely to churn than one with ID 1001. A model might attempt to fit noise in these arbitrary values, harming generalization, so numeric type alone is an insufficient justification for inclusion.
When this WOULD be correct
If the question were about including a numeric feature like 'CustomerAge' or 'TenureMonths' that has a plausible correlation with churn, then 'Yes, because the model can learn patterns from the numeric values' would be correct, as such features can provide predictive information.
- ✗
No, because the CustomerID column contains too many missing values.
Why it's wrong here
The claim that CustomerID has too many missing values is factually irrelevant to the decision. In well-formed datasets, primary keys are almost always complete, and even if nulls existed, they could be imputed or the column dropped—but the fundamental problem remains that an ID has no predictive association with churn. The recommendation against including CustomerID is based on its lack of informational value, not on data quality issues like missingness, so this rationale does not justify either including or excluding it.
When this WOULD be correct
In a scenario where a dataset contains a column with over 50% missing values and the question asks whether to include it as a feature, the correct answer would be 'No, because the column contains too many missing values' (assuming no imputation strategy is specified).
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.
✓No, because the CustomerID is a random unique identifier with no predictive power for churn.Correct answer▾
Why this is correct
The CustomerID is an arbitrary, randomly assigned string that carries no information about a customer's behavior, demographics, or service usage. A churn model learns by identifying correlations between input features and the target variable; because CustomerID has no systematic relationship with churn, the algorithm would simply memorize the ID-to-outcome mapping in the training data. This memorization leads to overfitting and poor performance on new, unseen customers. Therefore, the correct answer is No.
✗Yes, because it uniquely identifies each customer and helps the model differentiate them.Wrong answer — click to see why▾
Why this is wrong here
CustomerID is a unique identifier with no correlation to churn; including it would cause overfitting as the model would memorize IDs rather than learn generalizable patterns.
★ When this WOULD be the correct answer
If the question were about including a column like 'CustomerSegment' that is a meaningful categorical feature (e.g., 'High Value', 'Low Value') with predictive power, then including it would be correct.
Why candidates choose this
Candidates may think that unique identifiers help the model distinguish between customers, but they fail to recognize that such features do not generalize to new data and harm model performance.
✗Yes, because the model can learn patterns from the numeric values.Wrong answer — click to see why▾
Why this is wrong here
CustomerID is a unique identifier with no inherent relationship to churn; including it would cause overfitting as the model would memorize IDs rather than learn generalizable patterns. Numeric values of IDs are arbitrary and carry no predictive power.
★ When this WOULD be the correct answer
If the question were about including a numeric feature like 'CustomerAge' or 'TenureMonths' that has a plausible correlation with churn, then 'Yes, because the model can learn patterns from the numeric values' would be correct, as such features can provide predictive information.
Why candidates choose this
Candidates may think that any numeric column can be used as a feature, overlooking that unique identifiers are not predictive and can lead to overfitting.
✗No, because the CustomerID column contains too many missing values.Wrong answer — click to see why▾
Why this is wrong here
The question states the dataset includes a 'CustomerID' column, but does not mention missing values. The reason to exclude it is its lack of predictive power, not missing data.
★ When this WOULD be the correct answer
In a scenario where a dataset contains a column with over 50% missing values and the question asks whether to include it as a feature, the correct answer would be 'No, because the column contains too many missing values' (assuming no imputation strategy is specified).
Why candidates choose this
Candidates may recall that columns with many missing values are often excluded from training, and they might incorrectly assume that 'CustomerID' has missing values without reading the question carefully.
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
Feature
A feature is a distinct unit of functionality that delivers value to the user, often managed and tracked throughout the software development lifecycle.
Key term
Overfitting
Overfitting occurs when a machine learning model learns the training data too well, including its noise and outliers, causing it to perform poorly on new, unseen data.
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.