MLA-C01 Data Preparation for Machine Learning Practice Question
A data scientist is preparing a dataset for a linear regression model. The dataset has a few missing values in a numerical feature with a normal distribution and no outliers. Which imputation method is most appropriate?
⚠ Common exam trap
Many candidates confuse the median with the mean for normal distributions, but the median is actually less efficient and can lead to biased variance estimates, while the mean is the maximum likelihood estimator for normally distributed data with no outliers.
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
✓
Impute with mean
For a numerical feature with a normal distribution and no outliers, the mean is the most appropriate imputation method because it preserves the central tendency of the data without introducing bias. In linear regression, mean imputation maintains the expected value of the feature, which is critical for unbiased coefficient estimates when data are missing completely at random (MCAR).
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 with mode
Why it's wrong here
Mode is for categorical variables, not numerical.
- ✓
Impute with mean
Why this is correct
Mean is appropriate for normally distributed numerical data without outliers.
- ✗
Impute with median
Why it's wrong here
Median is robust to outliers, but not necessary here and may introduce bias.
- ✗
Drop rows with missing values
Why it's wrong here
Dropping rows reduces dataset size and may bias the model.
Go deeper
Related to this question
About these practice questions
Courseiva writes every MLA-C01 question from scratch — 835 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 MLA-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 MLA-C01 exam.