Courseiva
ModelinghardMultiple ChoiceObjective-mapped

MLS-C01 Modeling Practice Question

A data scientist is tuning hyperparameters for an XGBoost model on a large dataset using Amazon SageMaker. The training job is taking too long, and they want to speed up the tuning process. Which strategy is most effective?

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

Use Bayesian optimization

Bayesian optimization uses results from previous hyperparameter evaluations to choose the next set, reducing the number of training jobs needed to find optimal hyperparameters. This is especially efficient for large datasets where each training job is expensive. Option B (grid search) is exhaustive and slow for many hyperparameters. Option C (random search) is faster but does not learn from past trials. Option D (reducing max depth) may speed up individual jobs but risks underfitting and does not improve the tuning process itself.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Use Bayesian optimization

    Why this is correct

    Bayesian optimization is more efficient.

  • Use grid search with a fine-grained grid

    Why it's wrong here

    Grid search is exhaustive and slow.

  • Use random search with more iterations

    Why it's wrong here

    Random search is less efficient than Bayesian optimization.

  • Reduce the max depth of trees

    Why it's wrong here

    Reducing max depth may affect model accuracy.

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 →

How Courseiva writes practice questions · Editorial policy

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.