Courseiva
Machine Learning Implementation and OperationshardMultiple ChoiceObjective-mapped

MLS-C01 Practice Question: Machine Learning Implementation and Operations

Exhibit

Refer to the exhibit.

```
2024-01-15 10:23:45,123 - sagemaker - INFO - Training job created
2024-01-15 10:23:46,456 - sagemaker - INFO - Starting training...
2024-01-15 10:23:50,789 - root - ERROR - OSError: [Errno 28] No space left on device
```

A training job log shows this error. The training instance is an ml.m5.large with 8 GB EBS storage. The training data is 500 MB, and the model size is expected to be 200 MB. What is the most likely cause?

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 training process is generating large temporary files that fill the instance's local storage

The training job runs on an ml.m5.large instance with only 8 GB of EBS storage. Given that the training data is 500 MB and the model size is 200 MB, there is ample space for those, but the error indicates a lack of storage space. This is most likely caused by temporary files (e.g., checkpoints, logs, or intermediate data) generated during training that fill up the remaining storage. Option A is incorrect because a download issue would show errors like 'Download failed' or 'NoSuchKey', not a storage error. Option B is incorrect because S3 permission issues would result in 'AccessDenied' errors. Option C is incorrect because insufficient RAM would cause a 'MemoryError' or out-of-memory kill, not a storage space error.

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 training data is not fully downloaded from S3 before processing

    Why it's wrong here

    Incorrect. A failed download from S3 would produce errors such as 'Download failed' or 'NoSuchKey', not a storage space error.

  • The S3 bucket does not have write permissions

    Why it's wrong here

    Incorrect. Lack of write permissions on the S3 bucket would result in 'AccessDenied' errors when attempting to save the model.

  • The training instance does not have enough RAM

    Why it's wrong here

    Incorrect. Insufficient RAM would cause a 'MemoryError' or the process to be killed, not a 'no space left on device' error.

  • The training process is generating large temporary files that fill the instance's local storage

    Why this is correct

    Correct. The training process is generating large temporary files that fill the instance's local storage, causing a 'No space left on device' error.

Quick reference

AWS S3 Storage Class Comparison

Storage ClassMin DurationRetrievalUse Case
S3 StandardNoneImmediateFrequently accessed data
S3 Standard-IA30 daysImmediateInfrequent access, rapid retrieval
S3 One Zone-IA30 daysImmediateNon-critical infrequent data
S3 Intelligent-TieringNoneImmediate–hoursUnknown or changing access patterns
S3 Glacier Instant90 daysMillisecondsArchive with instant retrieval
S3 Glacier Flexible90 daysMinutes–hoursArchive, flexible retrieval
S3 Glacier Deep Archive180 daysHoursLong-term compliance archive

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.