Question 80 of 500
Fundamentals of AI and MLeasyMultiple ChoiceObjective-mapped

Quick Answer

The correct answer is DirectInternetAccess: Enabled. This property configuration on an AWS SageMaker notebook instance grants it the ability to reach the public internet, either through a VPC with a NAT gateway or directly if the instance is not launched inside a VPC, which is essential for downloading packages from external repositories like PyPI or conda. On the AWS Certified AI Practitioner AIF-C01 exam, this question tests your understanding of how SageMaker notebook internet access works within network configurations, often appearing as a scenario where a developer needs to install libraries. A common trap is confusing this with VPC-only settings or security group rules, but remember that without explicitly enabling DirectInternetAccess, the instance remains isolated. Memory tip: think of it as a “direct line” to the outside world—if you want your notebook to reach the internet, you must flip that switch to Enabled.

AIF-C01 Fundamentals of AI and ML Practice Question

This AIF-C01 practice question tests your understanding of fundamentals of ai and ml. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. 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.

```yaml
Resources:
  MyNotebookInstance:
    Type: AWS::SageMaker::NotebookInstance
    Properties:
      InstanceType: ml.t2.medium
      VolumeSizeInGB: 5
      DirectInternetAccess: Enabled
```

Excerpt from an AWS CloudFormation template.

Refer to the exhibit. A developer wants to ensure the notebook instance can access the internet to download packages. Which property configuration ensures this?

Question 1easymultiple choice
Full question →

Exhibit

Refer to the exhibit.

```yaml
Resources:
  MyNotebookInstance:
    Type: AWS::SageMaker::NotebookInstance
    Properties:
      InstanceType: ml.t2.medium
      VolumeSizeInGB: 5
      DirectInternetAccess: Enabled
```

Excerpt from an AWS CloudFormation template.

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

DirectInternetAccess: Enabled

Option A is correct because setting `DirectInternetAccess: Enabled` on an AWS SageMaker notebook instance allows it to access the internet through a VPC with a Network Address Translation (NAT) gateway or via the public internet if the instance is not in a VPC. This configuration is required to download packages from external repositories like PyPI or conda.

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.

  • DirectInternetAccess: Enabled

    Why this is correct

    Setting DirectInternetAccess to Enabled allows the notebook instance to access the internet.

    Related concept

    Read the scenario before looking for a memorised answer.

  • VolumeSizeInGB: 5

    Why it's wrong here

    Volume size only affects storage capacity.

  • InstanceType: ml.t2.medium

    Why it's wrong here

    Instance type determines compute capacity, not internet access.

  • The resource type AWS::SageMaker::NotebookInstance

    Why it's wrong here

    The resource type defines the service, not the configuration for internet access.

Common exam traps

Common exam trap: answer the scenario, not the keyword

AWS often tests the distinction between resource type identifiers and configurable properties, so candidates may mistakenly think that specifying `AWS::SageMaker::NotebookInstance` as the resource type itself enables internet access, rather than recognizing it as a CloudFormation resource declaration.

Detailed technical explanation

How to think about this question

When `DirectInternetAccess` is set to `Enabled`, SageMaker attaches an Elastic Network Interface (ENI) with a public IP to the notebook instance, allowing outbound traffic to the internet via the VPC's internet gateway or NAT gateway. If the instance is in a VPC without a NAT gateway, internet access fails even with this setting enabled, which is a common misconfiguration. In real-world scenarios, this is critical for installing dependencies during model development.

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 company's IT admin needs to give a contractor read-only access to production logs without sharing account credentials. Using role-based access control (RBAC) and temporary scoped permissions — not a permanent shared password — is the correct pattern. Questions like this test whether you can apply least-privilege access across cloud identity services.

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 AIF-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 AIF-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 AIF-C01 question test?

Fundamentals of AI and ML — This question tests Fundamentals of AI and ML — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: DirectInternetAccess: Enabled — Option A is correct because setting `DirectInternetAccess: Enabled` on an AWS SageMaker notebook instance allows it to access the internet through a VPC with a Network Address Translation (NAT) gateway or via the public internet if the instance is not in a VPC. This configuration is required to download packages from external repositories like PyPI or conda.

What should I do if I get this AIF-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 →

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 AIF-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 AIF-C01 exam.