- A
Subsample ratio
Why wrong: Subsample also reduces overfitting but is not among the three selected.
- B
Learning rate (eta)
Lower learning rate reduces overfitting.
- C
Minimum child weight (min_child_weight)
Higher values prevent overfitting.
- D
Gamma (minimum loss reduction)
Higher gamma makes the model more conservative.
- E
Maximum depth (max_depth)
Why wrong: Reducing max depth helps, but not selected.
Quick Answer
The answer is gamma, learning rate (eta), and subsample. Gamma, or minimum loss reduction, directly controls the complexity of a tree by requiring a minimum reduction in loss for a split to occur, which prunes overly specific branches that memorize noise. The learning rate (eta) scales the contribution of each tree, and a lower learning rate forces the model to learn slowly, reducing the influence of any single tree and thereby lowering overfitting risk. Subsampling randomly selects a fraction of training data for each tree, introducing randomness that prevents the model from fitting the training set too perfectly. On the AWS Certified Machine Learning Specialty MLS-C01 exam, this question tests your understanding of how gradient boosting overfitting reduction hyperparameters interact—a common trap is confusing max_depth with gamma, but gamma is the more direct regularization parameter for leaf splits. Remember the mnemonic "GLS" for Gamma, Learning rate, and Subsampling to recall the three key levers against overfitting.
MLS-C01 Modeling Practice Question
This MLS-C01 practice question tests your understanding of modeling. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
A data scientist is tuning a gradient boosting model using Amazon SageMaker Automatic Model Tuning (AMT). Which THREE hyperparameters should the scientist consider tuning to reduce overfitting? (Select THREE.)
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
Learning rate (eta)
Learning rate (eta) controls the contribution of each tree to the ensemble. A lower learning rate forces the model to learn more slowly, requiring more trees but reducing the risk of overfitting by preventing any single tree from having too much influence on the final prediction.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Subsample ratio
Why it's wrong here
Subsample also reduces overfitting but is not among the three selected.
- ✓
Learning rate (eta)
Why this is correct
Lower learning rate reduces overfitting.
Related concept
Read the scenario before looking for a memorised answer.
- ✓
Minimum child weight (min_child_weight)
Why this is correct
Higher values prevent overfitting.
Related concept
Read the scenario before looking for a memorised answer.
- ✓
Gamma (minimum loss reduction)
Why this is correct
Higher gamma makes the model more conservative.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
Maximum depth (max_depth)
Why it's wrong here
Reducing max depth helps, but not selected.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often assume all listed hyperparameters are equally effective for reducing overfitting, but the exam expects knowledge that subsample ratio and maximum depth are also valid regularization parameters, yet the question specifically selects min_child_weight, gamma, and learning rate as the three to focus on.
Detailed technical explanation
How to think about this question
Minimum child weight (min_child_weight) sets the minimum sum of instance weight (hessian) needed in a child node; increasing it forces the algorithm to avoid splits that only capture noise, effectively pruning the tree. Gamma (minimum loss reduction) specifies the minimum reduction in loss required to make a further partition on a leaf node; higher gamma values make the algorithm more conservative, reducing overfitting by preventing splits that offer marginal improvement. Both parameters act as built-in regularization in XGBoost and similar gradient boosting frameworks.
KKey Concepts to Remember
- Read the scenario before looking for a memorised answer.
- Find the constraint that changes the correct option.
- Eliminate answers that are true in general but not in this case.
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
- →
Modeling — study guide chapter
Learn the concepts, then practise the questions
- →
Modeling practice questions
Targeted practice on this topic area only
- →
All MLS-C01 questions
1,755 questions across all exam domains
- →
AWS Certified Machine Learning Specialty MLS-C01 study guide
Full concept coverage aligned to exam objectives
- →
MLS-C01 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related MLS-C01 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Data Engineering practice questions
Practise MLS-C01 questions linked to Data Engineering.
Machine Learning Implementation and Operations practice questions
Practise MLS-C01 questions linked to Machine Learning Implementation and Operations.
Modeling practice questions
Practise MLS-C01 questions linked to Modeling.
Exploratory Data Analysis practice questions
Practise MLS-C01 questions linked to Exploratory Data Analysis.
MLS-C01 fundamentals practice questions
Practise MLS-C01 questions linked to MLS-C01 fundamentals.
MLS-C01 scenario practice questions
Practise MLS-C01 questions linked to MLS-C01 scenario.
MLS-C01 troubleshooting practice questions
Practise MLS-C01 questions linked to MLS-C01 troubleshooting.
Practice this exam
Start a free MLS-C01 practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this MLS-C01 question test?
Modeling — This question tests Modeling — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Learning rate (eta) — Learning rate (eta) controls the contribution of each tree to the ensemble. A lower learning rate forces the model to learn more slowly, requiring more trees but reducing the risk of overfitting by preventing any single tree from having too much influence on the final prediction.
What should I do if I get this MLS-C01 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
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 →
Same concept, more angles
2 more ways this is tested on MLS-C01
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. A data scientist is tuning a gradient boosting model using Amazon SageMaker's Automatic Model Tuning (hyperparameter optimization). The objective metric is validation:auc. After 50 training jobs, the best model still has a validation AUC of only 0.65. The scientist suspects overfitting because the training AUC is 0.99. Which hyperparameter configuration is MOST likely to reduce overfitting?
hard- ✓ A.Increase lambda from 1 to 10
- B.Increase num_round from 100 to 500
- C.Increase max_depth from 6 to 12
- D.Increase subsample from 0.5 to 1.0
Why A: Increasing lambda (L2 regularization) from 1 to 10 adds a stronger penalty on the magnitude of leaf weights in the gradient boosting model. This directly reduces overfitting by discouraging the model from fitting noise in the training data, which is consistent with the observed gap between training AUC (0.99) and validation AUC (0.65). In XGBoost, lambda controls the L2 regularization term on weights, and a higher value forces the model to be simpler and more generalizable.
Variation 2. A data scientist is tuning a gradient boosting model using Amazon SageMaker Automatic Model Tuning. The objective metric is AUC. The training job converges quickly but the final model has low AUC on the validation set. Which hyperparameter should the data scientist adjust to improve validation AUC?
hard- A.Increase the subsample ratio of training data
- ✓ B.Decrease the learning rate and increase the number of rounds
- C.Increase the learning rate
- D.Increase the maximum depth of trees
Why B: Decreasing the learning rate and increasing the number of rounds is the correct approach because a low learning rate forces the model to take smaller steps toward the optimum, reducing overfitting and allowing more trees to contribute to the ensemble. This combination often improves generalization and validation AUC when the training job converges too quickly, indicating that the model is overfitting or underfitting due to aggressive learning.
Keep practising
More MLS-C01 practice questions
- A company is using Amazon Kinesis Data Streams to ingest real-time clickstream data. The data is consumed by a Lambda fu…
- A team is building a data pipeline to process terabytes of log data daily using Amazon EMR. The data arrives in 5-minute…
- A data science team is building a real-time fraud detection system. Transactions are streamed via Amazon Kinesis Data St…
- A company uses Amazon SageMaker to train and deploy machine learning models. The training data is stored in Amazon S3 (P…
- A data engineer is building a data pipeline to process user clickstream data. The data arrives as JSON files in an S3 bu…
- A data engineering team is designing a data lake on AWS for machine learning workloads. The data includes structured, se…
Last reviewed: Jun 24, 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.