Courseiva
Exploratory Data AnalysiseasyMultiple SelectObjective-mapped

MLS-C01 Exploratory Data Analysis Practice Question

A data scientist is analyzing a dataset with a mix of numerical and categorical features. The target variable is binary. The data scientist wants to visualize the distribution of a numerical feature across the two target classes. Which TWO visualization techniques are appropriate? (Choose 2.)

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

Overlapping histograms with transparency

Correct answers are options C and D. Option C (Overlapping histograms with transparency) is appropriate because it allows comparing the distribution of a numerical feature across two classes by overlaying histograms, making it easy to see shape, central tendency, and spread. Option D (Side-by-side boxplots) is appropriate because it succinctly displays median, quartiles, and outliers for each class, facilitating comparison. Option A (Heatmap of the correlation matrix) is not suitable as it visualizes correlations between features, not distribution of a single feature across classes. Option B (Stacked bar chart of the feature binned) is intended for categorical data, not numerical distributions. Option E (Scatter plot with color-coded classes) requires two numerical variables and is used to show relationships, not distribution of a single numerical feature.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Heatmap of the correlation matrix

    Why it's wrong here

    Heatmaps show correlations, not distributions.

  • Stacked bar chart of the feature binned

    Why it's wrong here

    Bar charts are for categorical features.

  • Overlapping histograms with transparency

    Why this is correct

    Histograms show distribution shapes; transparency allows comparison.

  • Side-by-side boxplots

    Why this is correct

    Boxplots compare distributions across categories.

  • Scatter plot with color-coded classes

    Why it's wrong here

    Scatter plots need two numerical variables.

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.