Courseiva
ModelingeasyMultiple ChoiceObjective-mapped

MLS-C01 Modeling Practice Question

A data scientist is training a binary classification model and wants to evaluate its performance using a metric that is robust to class imbalance. Which metric should be used?

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

The F1 score is the harmonic mean of precision and recall and is robust to class imbalance because it considers both false positives and false negatives. Accuracy can be misleading with imbalanced classes.

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 squared error

    Why it's wrong here

    MSE is for regression, not classification.

  • Area under the ROC curve (AUC)

    Why it's wrong here

    AUC is also robust but is not the only metric; F1 is more direct for imbalanced datasets.

  • F1 score

    Why this is correct

    F1 score balances precision and recall and is robust to class imbalance.

  • Accuracy

    Why it's wrong here

    Accuracy can be high even if the model ignores the minority class.

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 →

How Courseiva writes practice questions · Editorial policy

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.