- A
Mean Absolute Error (MAE)
Why wrong: MAE is used for regression tasks to measure average error magnitude, not for classification with imbalanced classes.
- B
F1 score
Correct. F1 score combines precision and recall, making it ideal for evaluating performance on the minority class in imbalanced datasets.
- C
Area Under the Curve (AUC)
Why wrong: AUC measures the model's ability to rank predictions, but F1 is more directly interpretable for the minority class performance.
- D
R-squared
Why wrong: R-squared is a regression metric that indicates the proportion of variance explained; not applicable to binary classification.
Quick Answer
The F1 score is the correct choice because it provides a much more informative evaluation for imbalanced datasets than accuracy does. When 90% of your data is the majority class, a model that simply predicts that class every time will achieve 90% accuracy, masking its complete failure to identify the minority class. The F1 score, as the harmonic mean of precision and recall, directly penalizes both false positives and false negatives, making it the standard metric for assessing performance on the rare positive class. On the Microsoft Azure AI Fundamentals AI-900 exam, this concept tests your understanding of why accuracy is a trap in imbalanced classification scenarios—a common trick question presents high accuracy as a sign of success. To remember this, think of the F1 score as the "balance beam" for rare events: it forces the model to be both precise and sensitive, not just blindly accurate.
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. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. 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 is training a model to predict whether a customer will purchase a product (Yes/No). The dataset contains 90% 'No' and 10% 'Yes'. After training, the model achieves 90% accuracy. Which evaluation metric would be more informative to assess the model's performance on the minority class?
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
F1 score
In this imbalanced dataset (90% 'No', 10% 'Yes'), a model that always predicts 'No' would achieve 90% accuracy, making accuracy a misleading metric. The F1 score is the harmonic mean of precision and recall, specifically designed to evaluate a model's performance on the minority class by balancing false positives and false negatives. It is the most informative metric here because it directly measures how well the model identifies the rare 'Yes' purchases without being inflated by the majority class.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Mean Absolute Error (MAE)
Why it's wrong here
MAE is used for regression tasks to measure average error magnitude, not for classification with imbalanced classes.
- ✓
F1 score
Why this is correct
Correct. F1 score combines precision and recall, making it ideal for evaluating performance on the minority class in imbalanced datasets.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
Area Under the Curve (AUC)
Why it's wrong here
AUC measures the model's ability to rank predictions, but F1 is more directly interpretable for the minority class performance.
- ✗
R-squared
Why it's wrong here
R-squared is a regression metric that indicates the proportion of variance explained; not applicable to binary classification.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates see 90% accuracy and assume the model is performing well, failing to recognize that accuracy is misleading in imbalanced datasets, and they may incorrectly select AUC because it is a common classification metric, but it does not directly penalize poor minority-class performance like the F1 score does.
Detailed technical explanation
How to think about this question
The F1 score is computed as 2 * (precision * recall) / (precision + recall), where precision = TP/(TP+FP) and recall = TP/(TP+FN). In a 90/10 imbalance, a naive model that predicts 'No' for all samples yields precision=0 and recall=0 for the minority class, resulting in an F1 score of 0, which correctly flags poor performance. In contrast, accuracy would be 90%, hiding the model's failure to detect any 'Yes' purchases. This makes F1 essential for scenarios like fraud detection or rare disease diagnosis, where missing the minority class has high cost.
KKey Concepts to Remember
- Read the scenario before looking for a memorised answer.
- Find the constraint that changes the correct option.
- Eliminate answers that are true in general but not in this case.
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
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
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. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. 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.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
- →
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 — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: F1 score — In this imbalanced dataset (90% 'No', 10% 'Yes'), a model that always predicts 'No' would achieve 90% accuracy, making accuracy a misleading metric. The F1 score is the harmonic mean of precision and recall, specifically designed to evaluate a model's performance on the minority class by balancing false positives and false negatives. It is the most informative metric here because it directly measures how well the model identifies the rare 'Yes' purchases without being inflated by the majority class.
What should I do if I get this AI-900 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
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 →
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.