Courseiva
Question 203 of 1,672
ModelingeasyMultiple ChoiceObjective-mapped

MLS-C01 Modeling Practice Question

A data scientist is using Amazon SageMaker to train a model, but the training job fails with an 'Out of memory' error. The instance type is ml.p3.2xlarge. Which action should the data scientist take to resolve the issue?

⚠ Common exam trap

Watch out — candidates often confuse storage-related issues (disk space, data loading) with compute memory (GPU RAM), leading them to select Pipe input mode or Spot instances, which do not address the fundamental memory constraint.

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

Reduce the mini-batch size in the training script.

The 'Out of memory' error on a single ml.p3.2xlarge instance indicates that the GPU memory is insufficient for the current workload. Reducing the mini-batch size directly decreases the memory footprint per training step, allowing the model to fit within the available GPU memory without changing the instance type or incurring additional costs.

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 Pipe input mode.

    Why it's wrong here

    Pipe mode addresses I/O, not memory.

  • Increase the number of instances.

    Why it's wrong here

    Increasing instances does not increase per-instance memory.

  • Reduce the mini-batch size in the training script.

    Why this is correct

    Reducing batch size reduces memory consumption.

  • Use a Spot instance.

    Why it's wrong here

    Spot instances do not affect memory.

Visual reference

Client Recursive Resolver Root DNS (13 root servers) TLD DNS (.com, .org, …) Authoritative example.com query IP addr 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 →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 24, 2026

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.

Loading comments…

Sign in to join the discussion.

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.