Courseiva
Question 1,211 of 1,672
ModelinghardMultiple ChoiceObjective-mapped

MLS-C01 Modeling Practice Question

A machine learning team is using Amazon SageMaker to train a model using a custom Docker container. The training job fails with an error: 'Unable to write to /opt/ml/model'. The container does not have root access. 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 container process does not have write permission to /opt/ml/model

SageMaker expects training containers to write the model artifact to /opt/ml/model. The container process must have write permissions to that directory. Root access is not required; the container runs with the 'sagemaker' user. The directory may not exist or permissions are wrong. The error indicates a write issue, likely permissions.

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 /opt/ml/model directory does not exist in the container

    Why it's wrong here

    SageMaker creates the directory, but if the container overrides it, it may not exist. However, the error is 'unable to write', not 'no such file'.

  • The container is using an unsupported operating system

    Why it's wrong here

    SageMaker supports many OS, but the error is specific to write access.

  • The container does not have internet access

    Why it's wrong here

    Internet access is not required to write to /opt/ml/model.

  • The container process does not have write permission to /opt/ml/model

    Why this is correct

    The process user lacks write permissions to the directory.

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 20, 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.