Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Databricks Machine Learning Associate Exam - Topic 2 Question 45 Discussion

Posted by Darell on Jun 19, 2026 at 04:04 PM

In which of the following situations is it preferable to impute missing feature values with their median value over the mean value?

Suggested Answer: C

Imputing missing values with the median is often preferred over the mean in scenarios where the data contains a lot of extreme outliers. The median is a more robust measure of central tendency in such cases, as it is not as heavily influenced by outliers as the mean. Using the median ensures that the imputed values are more representative of the typical data point, thus preserving the integrity of the dataset's distribution. The other options are not specifically relevant to the question of handling outliers in numerical data. Reference:

Data Imputation Techniques (Dealing with Outliers).


Get Premium Databricks Machine Learning Associate Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
12 comments · newest first
CH
Charisse 2 months ago
I’m not sure. What about A? Categorical features need modes, right?
TR
Trinidad 2 months ago
Agreed, C makes sense. Median is more robust.
AV
Avery 3 months ago
I think C is the best choice. Outliers can skew the mean.
FR
Franklyn 3 months ago
A and B don’t make sense for imputation at all.
NI
Nicolette 3 months ago
Median is great for outliers, totally agree with C!
ED
Edgar 3 months ago
Wait, why would you use median for categorical features?
EL
Eleonora 3 months ago
I disagree, mean can be better in some cases.
LO
Lorriane 3 months ago
C is definitely the right choice!
CO
Cordelia 4 months ago
I feel like the median is generally a safer choice for skewed distributions, but I’m not confident about the other options.
ZO
Zona 4 months ago
I practiced a similar question, and I think the median is preferable when the data has outliers, which makes me lean towards option C.
BL
Blondell 4 months ago
I’m not entirely sure, but I think imputing with the mean can skew the data if there are outliers, so maybe C is the right choice?
CH
Chuck 4 months ago
I remember discussing that the median is less affected by outliers, so I think it might be better when there are extreme outliers.
0/2000 characters

Save Cancel