Question 64 of 507
Data Preparation for Machine LearninghardMultiple ChoiceObjective-mapped

Quick Answer

The answer is insufficient memory for the data volume, specifically because a single `ml.m5.large` instance provides only 8 GiB of RAM, which cannot handle the 100 GB of CSV files when standard data cleaning operations like pandas load the entire dataset into memory. This mismatch between instance memory and data size forces the operating system to kill the process or causes the job to hang, resulting in a timeout. On the AWS Certified Machine Learning Engineer Associate MLA-C01 exam, this scenario tests your understanding of right-sizing compute resources for SageMaker Processing jobs, often appearing as a trap where candidates overlook memory limits and instead blame network or I/O issues. A key memory tip is the “8 vs 100” rule: if your instance memory in GiB is less than your data size in GB, you will likely hit an out-of-memory timeout.

MLA-C01 Data Preparation for Machine Learning Practice Question

This MLA-C01 practice question tests your understanding of data preparation for machine learning. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. 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.

Exhibit

{
  "ProcessingResources": {
    "ClusterConfig": {
      "InstanceCount": 1,
      "InstanceType": "ml.m5.large",
      "VolumeSizeInGB": 30
    }
  },
  "AppSpecification": {
    "ImageUri": "123456789012.dkr.ecr.us-west-2.amazonaws.com/my-custom-image:latest",
    "ContainerEntrypoint": ["python", "process.py"]
  },
  "RoleArn": "arn:aws:iam::123456789012:role/SageMakerProcessingRole",
  "ProcessingInputs": [
    {
      "InputName": "input-1",
      "S3Input": {
        "S3Uri": "s3://my-bucket/input/data.csv",
        "LocalPath": "/opt/ml/processing/input",
        "S3DataType": "S3Prefix",
        "S3InputMode": "File",
        "S3DataDistributionType": "FullyReplicated",
        "S3CompressionType": "None"
      }
    }
  ],
  "ProcessingOutputConfig": {
    "Outputs": [
      {
        "OutputName": "output-1",
        "S3Output": {
          "S3Uri": "s3://my-bucket/output/",
          "LocalPath": "/opt/ml/processing/output",
          "S3UploadMode": "EndOfJob"
        }
      }
    ]
  }
}

Refer to the exhibit. A SageMaker Processing job configured as above fails with a timeout error. The input data is 100 GB of CSV files. The processing script performs standard data cleaning operations. What is the most likely cause?

Clue words in this question

Noticing these words before you look at the options changes how you read each choice.

  • Clue: "most likely"

    Why it matters: Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.

Question 1hardmultiple choice
Full question →

Exhibit

{
  "ProcessingResources": {
    "ClusterConfig": {
      "InstanceCount": 1,
      "InstanceType": "ml.m5.large",
      "VolumeSizeInGB": 30
    }
  },
  "AppSpecification": {
    "ImageUri": "123456789012.dkr.ecr.us-west-2.amazonaws.com/my-custom-image:latest",
    "ContainerEntrypoint": ["python", "process.py"]
  },
  "RoleArn": "arn:aws:iam::123456789012:role/SageMakerProcessingRole",
  "ProcessingInputs": [
    {
      "InputName": "input-1",
      "S3Input": {
        "S3Uri": "s3://my-bucket/input/data.csv",
        "LocalPath": "/opt/ml/processing/input",
        "S3DataType": "S3Prefix",
        "S3InputMode": "File",
        "S3DataDistributionType": "FullyReplicated",
        "S3CompressionType": "None"
      }
    }
  ],
  "ProcessingOutputConfig": {
    "Outputs": [
      {
        "OutputName": "output-1",
        "S3Output": {
          "S3Uri": "s3://my-bucket/output/",
          "LocalPath": "/opt/ml/processing/output",
          "S3UploadMode": "EndOfJob"
        }
      }
    ]
  }
}

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

The processing job does not have enough memory for the data volume

Option A is correct because the SageMaker Processing job is configured with a single `ml.m5.large` instance, which has 8 GiB of memory. The input data is 100 GB of CSV files, and the processing script performs standard data cleaning operations that typically load the entire dataset into memory (e.g., using pandas). With only 8 GiB of RAM, the instance cannot hold 100 GB of data, causing the job to run out of memory and eventually fail with a timeout error as the OS kills the process or the job hangs.

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.

  • The processing job does not have enough memory for the data volume

    Why this is correct

    ml.m5.large has 8 GB memory; 100 GB data likely causes memory exhaustion and slow disk swapping.

    Clue confirmation

    The clue word "most likely" in the question point toward this answer.

    Related concept

    Read the scenario before looking for a memorised answer.

  • The container entrypoint is missing the full path to the script

    Why it's wrong here

    This would cause a startup error, not a timeout.

  • The S3Input S3CompressionType is set to "None" but the file is compressed

    Why it's wrong here

    This would cause parsing errors, not timeout.

  • The IAM role does not have permission to write to the output bucket

    Why it's wrong here

    Permission errors would appear before processing starts.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates may overlook the memory-to-data ratio and assume a timeout error always indicates a network or permission issue, rather than recognizing that an undersized instance with insufficient RAM for the dataset volume causes the job to stall and eventually time out.

Detailed technical explanation

How to think about this question

SageMaker Processing jobs run on Amazon SageMaker-managed instances, and the `ml.m5.large` instance type provides 2 vCPUs and 8 GiB of memory. For large datasets like 100 GB of CSV, the processing script must use memory-efficient techniques such as chunking (e.g., `pandas.read_csv(chunksize=...)`) or distributed processing with multiple instances. Without these, the job will exhaust memory, and the OS will trigger an OOM (Out-Of-Memory) killer, leading to a timeout as the job hangs or crashes.

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 media company stores terabytes of video archives that are accessed once a year for audit purposes. Moving these objects to a cold storage tier (Azure Archive, S3 Glacier, or Google Nearline) costs a fraction of hot storage. Questions like this test whether you understand storage tiers, access frequency tradeoffs, and retrieval latency requirements.

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.

Related practice questions

Related MLA-C01 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free MLA-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 MLA-C01 question test?

Data Preparation for Machine Learning — This question tests Data Preparation for Machine Learning — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: The processing job does not have enough memory for the data volume — Option A is correct because the SageMaker Processing job is configured with a single `ml.m5.large` instance, which has 8 GiB of memory. The input data is 100 GB of CSV files, and the processing script performs standard data cleaning operations that typically load the entire dataset into memory (e.g., using pandas). With only 8 GiB of RAM, the instance cannot hold 100 GB of data, causing the job to run out of memory and eventually fail with a timeout error as the OS kills the process or the job hangs.

What should I do if I get this MLA-C01 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Are there clue words in this question I should notice?

Yes — watch for: "most likely". Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.

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 →

How Courseiva writes practice questions · Editorial policy

Keep practising

More MLA-C01 practice questions

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 MLA-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 MLA-C01 exam.