- A
ROC AUC
Why wrong: ROC AUC can be misleading for highly imbalanced data.
- B
Precision-recall curve
Precision-recall curves focus on the positive class and handle imbalance well.
- C
Precision
Why wrong: Precision alone ignores recall.
- D
F1 score
Why wrong: F1 score is a single number that may hide performance issues.
Quick Answer
The answer is the precision-recall curve. In a highly imbalanced classification problem like fraud detection with only 0.1% positive cases, accuracy is a dangerous metric because a model that always predicts the majority class will achieve 99.9% accuracy without actually identifying any fraud. The precision-recall curve focuses exclusively on the positive class by plotting precision (how many predicted positives are correct) against recall (how many actual positives are caught) across different decision thresholds, making it robust to extreme class imbalance. On the AWS Certified Machine Learning Specialty MLS-C01 exam, this concept frequently appears in scenario-based questions where accuracy is a trap—the exam tests your ability to recognize that a high accuracy score can be meaningless when the minority class is critical. A common memory tip: when the positive class is rare, think “precision-recall, not accuracy’s false call.”
MLS-C01 Modeling Practice Question
This MLS-C01 practice question tests your understanding of modeling. 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 company is building a binary classifier to detect fraudulent transactions. The dataset is highly imbalanced with only 0.1% positive cases. The data scientist uses logistic regression and obtains 99.9% accuracy on the test set. Which metric should the data scientist use to evaluate the model's 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
Precision-recall curve
With only 0.1% positive cases, accuracy is misleading because a model that always predicts 'not fraudulent' achieves 99.9% accuracy. The precision-recall curve focuses on the positive class and is robust to extreme class imbalance, showing the trade-off between precision and recall across thresholds. This makes it the best choice for evaluating a binary classifier on highly imbalanced fraud detection data.
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.
- ✗
ROC AUC
Why it's wrong here
ROC AUC can be misleading for highly imbalanced data.
- ✓
Precision-recall curve
Why this is correct
Precision-recall curves focus on the positive class and handle imbalance well.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
Precision
Why it's wrong here
Precision alone ignores recall.
- ✗
F1 score
Why it's wrong here
F1 score is a single number that may hide performance issues.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates see 'ROC AUC' as a standard metric and forget that it can be inflated by a large number of true negatives in imbalanced datasets, making precision-recall the correct choice for evaluating rare event classifiers.
Detailed technical explanation
How to think about this question
The precision-recall curve plots precision (TP/(TP+FP)) against recall (TP/(TP+FN)) for all possible classification thresholds, ignoring true negatives entirely. In fraud detection, where the cost of missing a fraud (false negative) is high, the area under the precision-recall curve (AUPRC) provides a more meaningful summary than ROC AUC because it focuses on the positive class. A real-world scenario is credit card fraud detection, where the model must rank transactions by fraud probability and the business sets a threshold based on acceptable precision-recall trade-offs.
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.
- →
Modeling — study guide chapter
Learn the concepts, then practise the questions
- →
Modeling practice questions
Targeted practice on this topic area only
- →
All MLS-C01 questions
1,755 questions across all exam domains
- →
AWS Certified Machine Learning Specialty MLS-C01 study guide
Full concept coverage aligned to exam objectives
- →
MLS-C01 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related MLS-C01 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Data Engineering practice questions
Practise MLS-C01 questions linked to Data Engineering.
Machine Learning Implementation and Operations practice questions
Practise MLS-C01 questions linked to Machine Learning Implementation and Operations.
Modeling practice questions
Practise MLS-C01 questions linked to Modeling.
Exploratory Data Analysis practice questions
Practise MLS-C01 questions linked to Exploratory Data Analysis.
MLS-C01 fundamentals practice questions
Practise MLS-C01 questions linked to MLS-C01 fundamentals.
MLS-C01 scenario practice questions
Practise MLS-C01 questions linked to MLS-C01 scenario.
MLS-C01 troubleshooting practice questions
Practise MLS-C01 questions linked to MLS-C01 troubleshooting.
Practice this exam
Start a free MLS-C01 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 MLS-C01 question test?
Modeling — This question tests Modeling — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Precision-recall curve — With only 0.1% positive cases, accuracy is misleading because a model that always predicts 'not fraudulent' achieves 99.9% accuracy. The precision-recall curve focuses on the positive class and is robust to extreme class imbalance, showing the trade-off between precision and recall across thresholds. This makes it the best choice for evaluating a binary classifier on highly imbalanced fraud detection data.
What should I do if I get this MLS-C01 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 24, 2026
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.
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.