MLS-C01 Modeling Practice Question
A data scientist is training a binary classification model on imbalanced data (95% negative, 5% positive). The model achieves 95% accuracy but only 10% recall on the positive class. Which metric should be used to evaluate model performance?
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
With imbalanced data (95% negative, 5% positive), accuracy is high despite poor positive class performance. The F1 score (harmonic mean of precision and recall) is a better metric because it captures both false positives and false negatives. Here, recall is only 10%, so even if precision is high, F1 score will be low, reflecting poor model quality.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
F1 score
Why this is correct
F1 score is the harmonic mean of precision and recall. It is appropriate for imbalanced datasets because it balances both metrics.
- ✗
Accuracy
Why it's wrong here
Accuracy is misleading on imbalanced data because high accuracy can be achieved by simply predicting the majority class.
- ✗
Recall
Why it's wrong here
Recall alone ignores precision. With imbalanced data, recall may be high if the model predicts most positives correctly, but precision could be low.
- ✗
Precision
Why it's wrong here
Precision alone ignores recall. A model could achieve high precision by only predicting positive when highly confident, but miss many positives.
Go deeper
Related to this question
About these practice questions
Courseiva writes every MLS-C01 question from scratch — 1,672 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This MLS-C01 practice question is part of Courseiva's free Amazon Web Services 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 MLS-C01 exam.