Courseiva
Machine Learning Implementation and OperationseasyMultiple ChoiceObjective-mapped

MLS-C01 Practice Question: Machine Learning Implementation and Operations

A startup is using SageMaker to train a model using the built-in XGBoost algorithm. The training job runs successfully but the resulting model performs poorly on the test data. The data scientist suspects overfitting. The training data is relatively small (10,000 rows). Which action should be taken to reduce overfitting?

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

Decrease the number of trees (num_round) to 50

Overfitting occurs when the model learns noise in the training data. Decreasing the number of trees (num_round) reduces model complexity, which helps prevent overfitting, especially with a small dataset (10,000 rows). Option B (increasing learning rate) can cause the model to converge too quickly to a suboptimal solution, potentially increasing overfitting. Option C (increasing trees) increases complexity and overfitting. Option D (larger instance) does not affect overfitting as it only changes compute resources.

Answer analysis

Option-by-option breakdown

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

  • Decrease the number of trees (num_round) to 50

    Why this is correct

    Fewer trees reduce overfitting.

  • Increase the learning rate to 0.3

    Why it's wrong here

    Higher learning rate may cause overfitting or instability.

  • Increase the number of trees (num_round) to 500

    Why it's wrong here

    More trees increase overfitting.

  • Use a larger instance type

    Why it's wrong here

    Does not affect overfitting.

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.