- A
Overfitting
Why wrong: Overfitting occurs when a model learns training data too well and fails to generalize, typically resulting in a large gap between training and test accuracy. Here the accuracy is suspiciously high on the test set, but the model is trivial, not overfitted.
- B
Underfitting
Why wrong: Underfitting happens when a model is too simple to capture patterns, leading to low accuracy on both training and test sets. That does not match the 98% accuracy.
- C
Data imbalance
Data imbalance, where one class vastly outnumbers the other, can cause a model to predict the majority class exclusively. Accuracy is misleading in such cases; the model has not learned to identify spam.
- D
Feature scaling error
Why wrong: Feature scaling issues can affect model convergence or performance, but they do not cause a model to output a constant class prediction unless combined with other factors.
Quick Answer
The answer is data imbalance, as the model’s 98% accuracy is misleading because it simply predicts all emails as “not spam,” reflecting the 95% majority class in the dataset. This is a classic symptom of class imbalance in classification models, where the algorithm exploits the skewed distribution rather than learning meaningful patterns to distinguish spam from non-spam. On the Microsoft Azure AI Fundamentals AI-900 exam, this scenario tests your understanding of how accuracy can be a poor metric when classes are imbalanced, often appearing in questions about evaluating model performance. A common trap is to assume high accuracy always means a good model, but the real issue is that the minority class (spam) is ignored entirely. To remember this, think of the “95% trap”: if your accuracy is close to the majority class percentage, suspect imbalance.
AI-900 Practice Question: Describe fundamental principles of machine learning on Azure
This AI-900 practice question tests your understanding of describe fundamental principles of machine learning on azure. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. A key principle to apply: data imbalance occurs when one class significantly outnumbers others in a dataset.. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
A data scientist trains a classification model to predict whether an email is spam or not. The model achieves 98% accuracy on the test set, but upon inspection, it classifies all emails as 'not spam' because the dataset has 95% non-spam emails. What is the most likely issue?
Clue words in this question
Noticing these words before you look at the options changes how you read each choice.
Clue:
"most likely"Why it matters: Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.
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
Data imbalance
The model achieves 98% accuracy by simply predicting all emails as 'not spam', which reflects the 95% majority class in the dataset. This is a classic symptom of class imbalance, where the model learns to exploit the skewed distribution rather than learning meaningful patterns to distinguish spam from non-spam. In Azure Machine Learning, techniques like SMOTE or stratified sampling are used to mitigate this issue.
Key principle: Data imbalance occurs when one class significantly outnumbers others in a dataset.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Overfitting
Why it's wrong here
Overfitting occurs when a model learns training data too well and fails to generalize, typically resulting in a large gap between training and test accuracy. Here the accuracy is suspiciously high on the test set, but the model is trivial, not overfitted.
- ✗
Underfitting
Why it's wrong here
Underfitting happens when a model is too simple to capture patterns, leading to low accuracy on both training and test sets. That does not match the 98% accuracy.
- ✓
Data imbalance
Why this is correct
Data imbalance, where one class vastly outnumbers the other, can cause a model to predict the majority class exclusively. Accuracy is misleading in such cases; the model has not learned to identify spam.
Clue confirmation
The clue word "most likely" in the question point toward this answer.
Related concept
Data imbalance occurs when one class significantly outnumbers others in a dataset.
- ✗
Feature scaling error
Why it's wrong here
Feature scaling issues can affect model convergence or performance, but they do not cause a model to output a constant class prediction unless combined with other factors.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates see 98% accuracy and assume the model is performing well, failing to recognize that accuracy is meaningless when the dataset is highly imbalanced and the model simply predicts the majority class.
Trap categories for this question
Command / output trap
Feature scaling issues can affect model convergence or performance, but they do not cause a model to output a constant class prediction unless combined with other factors.
Detailed technical explanation
How to think about this question
Accuracy is a misleading metric in imbalanced datasets because it can be high even when the model fails to detect the minority class entirely. In Azure ML, the 'accuracy' metric alone is insufficient; instead, metrics like precision, recall, F1-score, or the AUC-ROC curve should be evaluated to assess model performance on each class. Real-world scenarios like fraud detection or medical diagnosis often face severe class imbalance, requiring resampling or cost-sensitive learning.
KKey Concepts to Remember
- Data imbalance occurs when one class significantly outnumbers others in a dataset.
- Accuracy can be a misleading metric for models trained on imbalanced datasets.
- Models on imbalanced data may achieve high accuracy by predicting only the majority class.
- Techniques like oversampling, undersampling, or cost-sensitive learning can mitigate data imbalance.
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Data imbalance occurs when one class significantly outnumbers others in a dataset.
Real-world example
How this comes up in practice
A cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. Data imbalance occurs when one class significantly outnumbers others in a dataset. Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.
What to study next
Got this wrong? Here's your next step.
Review data imbalance occurs when one class significantly outnumbers others in a dataset., then practise related AI-900 questions on the same topic to reinforce the concept.
- →
Describe fundamental principles of machine learning on Azure — study guide chapter
Learn the concepts, then practise the questions
- →
Describe fundamental principles of machine learning on Azure practice questions
Targeted practice on this topic area only
- →
All AI-900 questions
1,020 questions across all exam domains
- →
Microsoft Azure AI Fundamentals AI-900 study guide
Full concept coverage aligned to exam objectives
- →
AI-900 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related AI-900 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Describe Artificial Intelligence workloads and considerations practice questions
Practise AI-900 questions linked to Describe Artificial Intelligence workloads and considerations.
Describe fundamental principles of machine learning on Azure practice questions
Practise AI-900 questions linked to Describe fundamental principles of machine learning on Azure.
Describe features of computer vision workloads on Azure practice questions
Practise AI-900 questions linked to Describe features of computer vision workloads on Azure.
Describe features of Natural Language Processing workloads on Azure practice questions
Practise AI-900 questions linked to Describe features of Natural Language Processing workloads on Azure.
Describe features of generative AI workloads on Azure practice questions
Practise AI-900 questions linked to Describe features of generative AI workloads on Azure.
AI-900 fundamentals practice questions
Practise AI-900 questions linked to AI-900 fundamentals.
AI-900 scenario practice questions
Practise AI-900 questions linked to AI-900 scenario.
AI-900 troubleshooting practice questions
Practise AI-900 questions linked to AI-900 troubleshooting.
Practice this exam
Start a free AI-900 practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this AI-900 question test?
Describe fundamental principles of machine learning on Azure — This question tests Describe fundamental principles of machine learning on Azure — Data imbalance occurs when one class significantly outnumbers others in a dataset..
What is the correct answer to this question?
The correct answer is: Data imbalance — The model achieves 98% accuracy by simply predicting all emails as 'not spam', which reflects the 95% majority class in the dataset. This is a classic symptom of class imbalance, where the model learns to exploit the skewed distribution rather than learning meaningful patterns to distinguish spam from non-spam. In Azure Machine Learning, techniques like SMOTE or stratified sampling are used to mitigate this issue.
What should I do if I get this AI-900 question wrong?
Review data imbalance occurs when one class significantly outnumbers others in a dataset., then practise related AI-900 questions on the same topic to reinforce the concept.
Are there clue words in this question I should notice?
Yes — watch for: "most likely". Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.
What is the key concept behind this question?
Data imbalance occurs when one class significantly outnumbers others in a dataset.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
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. A data scientist trains a classification model to predict whether an email is 'phishing' or 'legitimate'. The model achieves 99% accuracy on the training data but only 68% accuracy on the test data. Which action is most likely to help improve the model's generalization performance?
medium- A.Increase the number of training epochs significantly.
- ✓ B.Apply regularization techniques such as L1 or L2 regularization.
- C.Remove some of the training data to make the dataset smaller.
- D.Add more layers and neurons to the neural network.
Why B: The model's high training accuracy (99%) paired with much lower test accuracy (68%) is a classic sign of overfitting, where the model has memorized the training data rather than learning generalizable patterns. Regularization techniques like L1 (Lasso) or L2 (Ridge) add a penalty to the loss function that discourages overly complex models by shrinking the weights of less important features, directly reducing overfitting and improving generalization on unseen data.
Variation 2. What is 'imbalanced classification' handling using 'SMOTE'?
medium- A.A technique for collecting more real minority class examples from external data sources
- ✓ B.Generating synthetic minority class examples by interpolating between existing examples
- C.Removing majority class examples until all classes have equal representation
- D.Setting model confidence thresholds to classify more examples as the minority class
Why B: SMOTE (Synthetic Minority Over-sampling Technique) is a data augmentation method that creates synthetic examples for the minority class by interpolating between existing minority class instances. It selects a minority example, finds its k-nearest neighbors from the same class, and generates new samples along the line segments connecting the example to those neighbors. This balances the class distribution without duplicating existing data or discarding majority class examples.
Variation 3. A data scientist is training a model to classify customer reviews as positive, negative, or neutral. The dataset contains 10,000 reviews, but only 500 of them are negative. The data scientist wants to ensure the model performs well on the minority class (negative reviews). Which technique should the data scientist consider to address the class imbalance?
medium- A.Increase the learning rate
- B.Add more features to the model
- ✓ C.Use a resampling technique like SMOTE or random oversampling of the minority class
- D.Use L1 regularization (Lasso)
Why C: Option C is correct because resampling techniques like SMOTE (Synthetic Minority Oversampling Technique) or random oversampling directly address class imbalance by generating synthetic samples or duplicating existing samples from the minority class (negative reviews). This balances the training dataset, preventing the model from being biased toward the majority class (positive/neutral reviews) and improving recall for the minority class.
Last reviewed: Jun 11, 2026
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.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.