Courseiva
ModelinghardMultiple ChoiceObjective-mapped

MLS-C01 Modeling Practice Question

A team is deploying a model for fraud detection. The dataset is highly imbalanced (99% legitimate, 1% fraudulent). They trained a logistic regression model and achieved 99% accuracy on the test set. However, the model fails to detect most fraud cases. Which metric should the team focus on to evaluate the model?

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

Recall

For imbalanced datasets, accuracy is misleading because it can be high even if the model misses all fraud cases. Recall (true positive rate) measures the proportion of actual fraud cases correctly identified. Option A (Mean squared error) is for regression tasks, not classification. Option B (Precision) measures the proportion of predicted fraud cases that are actually fraud, but it may be high even if recall is low. Option D (Accuracy) is high (99%) but does not reflect the model's poor performance on the minority class. Therefore, recall is the most appropriate metric.

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.

  • Precision

    Why it's wrong here

    Precision could be high if the model only flags obvious fraud, missing many.

  • Recall

    Why this is correct

    Recall measures the proportion of actual fraud cases correctly identified.

  • Accuracy

    Why it's wrong here

    Accuracy is high due to class imbalance but does not reflect fraud detection.

About these practice questions

One of 1,672 original MLS-C01 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 →

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.