MLS-C01 Modeling Practice Question
A data scientist is training a random forest classifier on Amazon SageMaker and wants to reduce overfitting. Which TWO actions should the scientist take? (Choose TWO.)
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
✓
Limit the maximum depth of trees
To reduce overfitting in a random forest, limit the maximum depth of trees (Option D) to prevent them from growing too deep and capturing noise. Increasing the number of trees (Option E) reduces the variance of the ensemble, lowering overfitting risk. Option A is incorrect because increasing the number of features considered per split can increase tree correlation and overfitting. Option B is incorrect because increasing maximum depth makes trees more complex and prone to overfitting. Option C is incorrect because decreasing the number of trees increases variance, which can worsen overfitting.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Increase the number of features considered per split
Why it's wrong here
More features increase tree correlation and overfitting.
- ✗
Increase the maximum depth of trees
Why it's wrong here
Deeper trees overfit more.
- ✗
Decrease the number of trees
Why it's wrong here
Fewer trees increase variance.
- ✓
Limit the maximum depth of trees
Why this is correct
Shallow trees reduce overfitting.
- ✓
Increase the number of trees
Why this is correct
More trees reduce variance.
Go deeper
Related to this question
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 →
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.