Courseiva
Exploratory Data AnalysishardMultiple ChoiceObjective-mapped

MLS-C01 Exploratory Data Analysis Practice Question

A data scientist is analyzing a dataset with many categorical features. The target variable is binary. Which statistical test should be used to assess the association between each categorical 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

Chi-squared test of independence

The Chi-squared test of independence is the appropriate test to assess association between two categorical variables. Here, both the features (categorical) and the target (binary, which is categorical) are categorical, making the Chi-squared test the correct choice. Option A (Pearson correlation) is for continuous variables, not categorical. Option C (ANOVA) compares means across groups for a continuous target, but our target is binary (categorical). Option D (Kolmogorov-Smirnov test) compares distributions of continuous variables, not categorical. Therefore, B is correct.

Answer analysis

Option-by-option breakdown

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

  • Pearson correlation coefficient

    Why it's wrong here

    Pearson is for continuous variables.

  • Chi-squared test of independence

    Why this is correct

    Chi-squared tests association between categorical variables.

  • ANOVA

    Why it's wrong here

    ANOVA compares means across groups for continuous target.

  • Kolmogorov-Smirnov test

    Why it's wrong here

    KS test compares distributions of continuous variables.

About these practice questions

This MLS-C01 question is part of Courseiva's 1,672-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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.