AIF-C01 Fundamentals of AI and ML Practice 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.Refer to the exhibit. A developer wants to ensure the notebook instance can access the internet to download packages. Which property configuration ensures this?
⚠ Common exam trap
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.
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
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.
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.
- ✗
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.
Visual reference
Go deeper
Related to this question
About these practice questions
Courseiva writes every AIF-C01 question from scratch — 619 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 →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
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.