Question 643 of 1,672
MLS-C01 Exploratory Data Analysis Practice Question
During exploratory data analysis, a machine learning engineer finds that a dataset has a significant number of missing values in a categorical feature with 10 levels. Which approach should they take to handle these missing values before modeling?
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
✓
Create a new category labeled 'Missing' for missing values.
Creating a separate 'Missing' category preserves the missingness pattern and avoids data loss or bias from imputation for categorical features. Option A is incorrect because mean imputation is for numerical features, not categorical. Option C is incorrect because dropping all rows with missing values may discard valuable data and reduce sample size. Option D is incorrect because mode imputation may introduce bias if missingness is not random.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Impute missing values with the mean of the feature.
Why it's wrong here
Mean is not meaningful for categorical data.
- ✓
Create a new category labeled 'Missing' for missing values.
Why this is correct
Preserves the missingness pattern and avoids bias.
- ✗
Drop all rows with missing values.
Why it's wrong here
May discard significant data.
- ✗
Impute missing values with the mode of the feature.
Why it's wrong here
Mode imputation can introduce bias if missingness is non-random.
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 20, 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.