Courseiva
mediumMultiple ChoiceObjective-mapped

MLA-C01 Practice Question: A team used the above config to create an endpoint

Network Topology
aws sagemaker create-endpoint-configendpoint-config-name my-configproduction-variants VariantName=variant1Refer to the exhibit.```"ModelName": "my-model","PrimaryContainer": {"Image": "763104351884.dkr.ecr.us-west-2.amazonaws.com/pytorch-inference:1.8.1-cpu-py36-ubuntu16.04","ModelDataUrl": "s3://my-bucket/model.tar.gz"},"ExecutionRoleArn": "arn:aws:iam::123456789012:role/SageMakerRole"And a CLI command:

A team used the above config to create an endpoint. However, the endpoint fails to invoke because of a "ModelError". What is the most likely cause?

⚠ Common exam trap

AWS often tests the distinction between errors that occur during model creation (e.g., invalid S3 URI, missing file) versus errors that occur at invocation time (ModelError), leading candidates to incorrectly choose Option C when the actual cause is a permissions issue that prevents the model from being loaded.

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 does not have permission to access the S3 bucket.

The most likely cause of a ModelError when invoking a SageMaker endpoint is that the IAM role associated with the endpoint does not have the necessary permissions to access the S3 bucket containing the model artifacts. SageMaker downloads the model data from S3 during endpoint creation, and if the role lacks s3:GetObject permission on the bucket, the model fails to load, resulting in a ModelError.

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 instance type is not available in the region.

    Why it's wrong here

    Instance unavailability would cause an insufficient capacity error.

  • The IAM role does not have permission to access the S3 bucket.

    Why this is correct

    Without s3:GetObject, the endpoint cannot load the model artifact.

  • The model data URL points to a non-existent file.

    Why it's wrong here

    Missing file would cause a file not found error, not ModelError.

  • The ECR image URI is incorrect for the region.

    Why it's wrong here

    An incorrect image URI typically results in an image not found error, not ModelError.

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 MLA-C01 question from scratch — 835 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 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.