Courseiva
ModelingmediumMultiple ChoiceObjective-mapped

MLS-C01 Modeling Practice Question

Exhibit

Refer to the exhibit.
```
{
  "ModelName": "my-model",
  "PrimaryContainer": {
    "Image": "382416733822.dkr.ecr.us-east-1.amazonaws.com/linear-learner:1",
    "ModelDataUrl": "s3://my-bucket/model.tar.gz",
    "Environment": {
      "SAGEMAKER_CONTAINER_LOG_LEVEL": "20",
      "SAGEMAKER_REGION": "us-east-1"
    }
  },
  "ExecutionRoleArn": "arn:aws:iam::123456789012:role/SageMakerRole"
}
```

Refer to the exhibit. A data scientist creates a SageMaker model using the configuration above. When deploying the model to an endpoint, the endpoint status remains 'Creating' for a long time and then fails. 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 IAM role lacks permission to pull the Docker image from ECR

The image URI points to an ECR repository in account 382416733822, which is not the customer's account. SageMaker expects the image to be in the same account or accessible via cross-account permissions. This URI is likely the AWS account for built-in algorithms, but if the region or repository is incorrect, it may fail. The most likely issue is that the image does not exist in that account or the role lacks permissions to pull it.

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 S3 model artifact does not exist

    Why it's wrong here

    The error would be different and occur earlier.

  • The environment variable SAGEMAKER_REGION is incorrect

    Why it's wrong here

    It matches the region; this would not cause a failure.

  • The model name is already in use

    Why it's wrong here

    Model names must be unique; error would be immediate.

  • The IAM role lacks permission to pull the Docker image from ECR

    Why this is correct

    The image is in a different account; the role needs ecr:GetDownloadUrlForLayer and BatchGetImage permissions.

About these practice questions

One of 1,672 original MLS-C01 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.