Question 1,010 of 1,755
ModelingeasyMultiple ChoiceObjective-mapped

Quick Answer

The answer is `sagemaker:CreatePresignedNotebookInstanceUrl`. This permission is required because when a SageMaker notebook instance starts, it must generate a presigned URL to allow the user to access the Jupyter interface through the AWS console; without this specific IAM action, the notebook fails to launch with the error that the role lacks necessary permissions. On the AWS Certified Machine Learning Specialty MLS-C01 exam, this scenario tests your understanding of how SageMaker’s IAM permissions differ from general S3 or EC2 actions—a common trap is adding broad `sagemaker:*` or `sagemaker:CreateNotebookInstance` instead of the precise URL-generation permission. The key insight is that the presigned URL is a separate API call made at runtime, not during instance creation. Memory tip: think “Presigned = Permission to Present the Notebook,” linking the word “Presigned” directly to the required action name.

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.

Exhibit

Refer to the exhibit.

resource "aws_sagemaker_notebook_instance" "my_notebook" {
  name          = "my-notebook"
  role_arn      = aws_iam_role.notebook_role.arn
  instance_type = "ml.t2.medium"
  lifecycle_config_name = aws_sagemaker_notebook_instance_lifecycle_configuration.my_config.name
}

Refer to the exhibit. A data scientist creates a SageMaker notebook instance using this Terraform configuration. The notebook fails to start. The logs indicate 'The IAM role does not have the necessary permissions'. Which addition to the IAM role policy is MOST likely needed?

Clue words in this question

Noticing these words before you look at the options changes how you read each choice.

  • Clue: "most likely"

    Why it matters: Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.

Question 1easymultiple choice
Full question →

Exhibit

Refer to the exhibit.

resource "aws_sagemaker_notebook_instance" "my_notebook" {
  name          = "my-notebook"
  role_arn      = aws_iam_role.notebook_role.arn
  instance_type = "ml.t2.medium"
  lifecycle_config_name = aws_sagemaker_notebook_instance_lifecycle_configuration.my_config.name
}

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

sagemaker:CreatePresignedNotebookInstanceUrl

The SageMaker notebook instance requires the `sagemaker:CreatePresignedNotebookInstanceUrl` permission to generate a presigned URL, which is used to access the notebook's Jupyter interface. Without this permission, the notebook fails to start because the IAM role cannot create the necessary URL for the user to connect, as indicated by the 'The IAM role does not have the necessary permissions' log error.

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.

  • cloudwatch:PutMetricData

    Why it's wrong here

    For logging, not startup.

  • s3:GetObject on the notebook bucket

    Why it's wrong here

    Not needed for starting the notebook.

  • sagemaker:CreatePresignedNotebookInstanceUrl

    Why this is correct

    Required for notebook access.

    Clue confirmation

    The clue word "most likely" in the question point toward this answer.

    Related concept

    Read the scenario before looking for a memorised answer.

  • sagemaker:CreateTrainingJob

    Why it's wrong here

    Not required for notebook startup.

Common exam traps

Common exam trap: answer the scenario, not the keyword

AWS often tests the specific permission required for notebook instance access, and the trap here is that candidates confuse general SageMaker permissions (like training or S3 access) with the precise `CreatePresignedNotebookInstanceUrl` action needed for the notebook to start.

Detailed technical explanation

How to think about this question

When a SageMaker notebook instance is created, the service uses the IAM role to call `CreatePresignedNotebookInstanceUrl` to generate a time-limited URL that authenticates the user to the Jupyter server. This URL is essential for the initial connection; without it, the notebook instance remains in a 'Pending' state and fails to become 'InService'. In real-world scenarios, this permission is often missed when attaching a minimal IAM policy, leading to startup failures that are misdiagnosed as network or resource issues.

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.

Related practice questions

Related MLS-C01 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free MLS-C01 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this MLS-C01 question test?

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: sagemaker:CreatePresignedNotebookInstanceUrl — The SageMaker notebook instance requires the `sagemaker:CreatePresignedNotebookInstanceUrl` permission to generate a presigned URL, which is used to access the notebook's Jupyter interface. Without this permission, the notebook fails to start because the IAM role cannot create the necessary URL for the user to connect, as indicated by the 'The IAM role does not have the necessary permissions' log error.

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.

Are there clue words in this question I should notice?

Yes — watch for: "most likely". Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.

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 →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 30, 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.