The answer is `iam:PassRole`. This permission is missing because when SageMaker launches a training job, it must be allowed to pass the IAM role you specify in the job configuration to the underlying compute resources; without `iam:PassRole`, SageMaker cannot assume that role to access S3 buckets or other services, which directly causes the access denied error. On the AWS Certified Machine Learning Specialty MLS-C01 exam, this concept frequently appears in scenario-based questions where a training job fails despite the role having full S3 access—the trap is that candidates focus on data permissions instead of the service’s ability to assume the role. Remember that SageMaker itself is the actor that needs permission to pass, not just use, the role. A simple memory tip: “Pass the role to pass the exam”—if SageMaker can’t pass the role, it can’t proceed.
MLS-C01 Modeling Practice Question
This MLS-C01 practice question tests your understanding of modeling. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
A data scientist is using an IAM role with the policy shown in the exhibit to train a model in SageMaker. The training job fails with a permissions error. What is the missing permission?
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
iam:PassRole
The training job fails because SageMaker needs to assume the IAM role specified in the training job configuration to access resources like S3 buckets. The `iam:PassRole` permission is required to allow the SageMaker service to pass that role to the training job. Without it, SageMaker cannot assume the role and thus cannot perform actions such as reading training data from S3.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
✗
sagemaker:InvokeEndpoint
Why it's wrong here
InvokeEndpoint is for inference, not training.
✗
sagemaker:DescribeTrainingJob
Why it's wrong here
DescribeTrainingJob is for monitoring, not required for creation.
✗
s3:ListBucket
Why it's wrong here
GetObject is sufficient for reading training data.
✓
iam:PassRole
Why this is correct
SageMaker requires iam:PassRole to use the execution role.
Related concept
Read the scenario before looking for a memorised answer.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often focus on S3 or SageMaker-specific actions (like `s3:GetObject` or `sagemaker:CreateTrainingJob`) and overlook the prerequisite `iam:PassRole` permission, which is required for SageMaker to assume the role on behalf of the user.
Detailed technical explanation
How to think about this question
Under the hood, when SageMaker creates a training job, it calls the `iam:PassRole` API to verify that the caller has permission to pass the specified role to the SageMaker service. The role's trust policy must also allow `sagemaker.amazonaws.com` as a trusted entity. Without `iam:PassRole`, the API call fails immediately with an access denied error, even before any S3 or SageMaker actions are attempted. In real-world scenarios, this is a common misconfiguration when using cross-account roles or roles with restrictive trust policies.
KKey Concepts to Remember
Read the scenario before looking for a memorised answer.
Find the constraint that changes the correct option.
Eliminate answers that are true in general but not in this case.
TExam Day Tips
→Watch for words such as best, first, most likely and least administrative effort.
→Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A media company stores terabytes of video archives that are accessed once a year for audit purposes. Moving these objects to a cold storage tier (Azure Archive, S3 Glacier, or Google Nearline) costs a fraction of hot storage. Questions like this test whether you understand storage tiers, access frequency tradeoffs, and retrieval latency requirements.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
Modeling — This question tests Modeling — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: iam:PassRole — The training job fails because SageMaker needs to assume the IAM role specified in the training job configuration to access resources like S3 buckets. The `iam:PassRole` permission is required to allow the SageMaker service to pass that role to the training job. Without it, SageMaker cannot assume the role and thus cannot perform actions such as reading training data from S3.
What should I do if I get this MLS-C01 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
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 →
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. Refer to the exhibit. A data scientist wants to use SageMaker to train a model using data stored in 'my-bucket'. The training job fails with an access denied error. What is the MOST likely cause?
hard
A.The bucket uses AWS KMS key encryption instead of AES256
B.The bucket name in the policy does not match the actual bucket name
✓ C.The training job is not requesting server-side encryption with AES256
D.The bucket is publicly accessible but the IAM role lacks permissions
Why C: Option C is correct because SageMaker training jobs require server-side encryption with AES256 when the S3 bucket uses default encryption with AES256. If the training job does not explicitly request SSE-S3 (AES256) in its S3 data source configuration, the S3 service denies access, resulting in an 'access denied' error even if the IAM role has full S3 permissions.
Variation 2. Refer to the exhibit. A data scientist is trying to run a SageMaker training job using a script that reads data from the S3 bucket 'my-bucket' and writes the model artifact to the same bucket. The training job fails with an access denied error. What is the likely cause?
medium
✓ A.The IAM role does not have permission to write to the S3 bucket for the model artifact
B.The IAM role does not have sagemaker:CreateModel permission
C.The IAM role does not have s3:ListBucket permission
D.The IAM role does not have ec2:DescribeInstances permission
Why A: The training job fails with an access denied error because the IAM role used by SageMaker lacks the s3:PutObject permission (or equivalent write access) for the S3 bucket 'my-bucket'. While the script reads data from the bucket, writing the model artifact requires explicit write permissions on the same bucket. Without this, SageMaker cannot upload the model artifact, causing the job to fail.
Last reviewed: Jun 24, 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.
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.
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.
Sign in to join the discussion.