mediumMultiple ChoiceObjective-mapped
MLA-C01 Practice Question: An engineer runs: aws sagemaker describe-endpoint…
Exhibit
Refer to the exhibit.
{
"EndpointName": "my-endpoint",
"EndpointConfigName": "my-endpoint-config-v1",
"ProductionVariants": [
{
"VariantName": "v1",
"DeployedImages": [
{
"SpecifiedImage": "123456789012.dkr.ecr.us-west-2.amazonaws.com/my-model:1",
"ResolvedImage": "123456789012.dkr.ecr.us-west-2.amazonaws.com/my-model:1@sha256:abc123"
}
],
"CurrentWeight": 1.0,
"DesiredWeight": 1.0,
"CurrentInstanceCount": 2,
"DesiredInstanceCount": 2
}
],
"EndpointStatus": "InService"
}An engineer runs: aws sagemaker describe-endpoint --endpoint-name my-endpoint and receives the exhibit output. The engineer wants to update the endpoint to use a new model version stored in ECR with tag ':2'. Which step is necessary to perform the update?
⚠ Common exam trap
Test-takers frequently assume endpoint configurations are mutable like a text file, but AWS SageMaker enforces immutability — you must create a new configuration for any change, even a simple image tag update.
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
✓
Create a new endpoint configuration (my-endpoint-config-v2) referencing the new image, then call update-endpoint with the new config name.
SageMaker endpoints are immutable with respect to their configuration; you cannot modify an existing endpoint configuration in place. To update an endpoint to use a new model version, you must create a new endpoint configuration (e.g., my-endpoint-config-v2) that points to the new ECR image tag ':2', then call update-endpoint with the new configuration name. This triggers a zero-downtime deployment where SageMaker gradually shifts traffic to the new variant.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Create a new endpoint configuration (my-endpoint-config-v2) referencing the new image, then call update-endpoint with the new config name.
Why this is correct
Standard process: create new endpoint config, then update endpoint to use it.
- ✗
Modify the existing endpoint configuration (my-endpoint-config-v1) to use the new image, then update the endpoint.
Why it's wrong here
Endpoint configurations are immutable; you cannot modify them after creation.
- ✗
Use the update-endpoint command directly with the new image ARN.
Why it's wrong here
The update-endpoint command only accepts an endpoint config name, not an image ARN directly.
- ✗
Delete the endpoint and recreate it with the new model image.
Why it's wrong here
Deleting the endpoint causes downtime; updating is the correct approach.
Go deeper
Related to this question
About these practice questions
This MLA-C01 question is part of Courseiva's 835-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
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.