MLS-C01 Exploratory Data Analysis Practice Question
A data analyst is exploring a dataset with a binary target variable. Which TWO visualizations are most useful for understanding the relationship between a numerical feature and the target?
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
✓
Histogram with overlaid target classes
Options C and D are correct. A histogram with overlaid target classes (C) allows viewing the distribution of the feature for each class, highlighting separability. A box plot grouped by target class (D) shows median, spread, and outliers per class, useful for comparing distributions. Option A (pie chart) is inappropriate for numerical features and binary targets. Option B (bar chart) is for categorical features, not numerical. Option E (scatter plot) requires two numerical variables; here the target is binary, so it would produce overlapping points and is less informative.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Pie chart of the feature
Why it's wrong here
Pie chart shows proportions, not relationship with target.
- ✗
Bar chart of the feature
Why it's wrong here
Bar chart is for categorical features.
- ✓
Histogram with overlaid target classes
Why this is correct
Shows how the feature distribution differs by class.
- ✓
Box plot grouped by target class
Why this is correct
Shows distribution differences between classes.
- ✗
Scatter plot of the feature versus target
Why it's wrong here
Scatter plot requires both variables to be numerical.
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.