- A
Enable public endpoint with TLS and restrict access using a VPN
Why wrong: Public endpoint still leaves the endpoint internet-facing; a VPN is additional but less secure than VPC isolation.
- B
Use SageMaker Model Monitor to detect anomalies in request data
Why wrong: Model Monitor monitors data quality, not encryption or network access.
- C
Create a SageMaker endpoint in a private subnet without an internet gateway, and use AWS PrivateLink
Why wrong: PrivateLink is correct but the endpoint itself can be accessed via PrivateLink without HTTPS; you still need TLS.
- D
Deploy the model endpoint in a VPC with an interface VPC endpoint (AWS PrivateLink) and configure the model to require HTTPS
This ensures traffic stays within the VPC and uses TLS encryption in transit.
Quick Answer
The answer is to deploy the SageMaker endpoint within a VPC using an interface VPC endpoint (AWS PrivateLink) and configure the model to require HTTPS. This is the most secure way to encrypt SageMaker inference and restrict to VPC because PrivateLink keeps all inference traffic entirely within the AWS network, never exposing it to the public internet, while the HTTPS requirement enforces encryption in transit for every request. On the AWS Certified AI Practitioner AIF-C01 exam, this scenario tests your understanding of combining network isolation with transport encryption—a common trap is choosing only VPC deployment without HTTPS, which leaves data unencrypted over the network. Remember the mnemonic “PrivateLink plus HTTPS” to recall that both controls are needed for the most secure configuration.
AIF-C01 Practice Question: Security, Compliance and Governance for AI Solutions
This AIF-C01 practice question tests your understanding of security, compliance and governance for ai solutions. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. 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 financial services company is deploying a fraud detection model using Amazon SageMaker. They need to ensure that inference requests are encrypted in transit and that the model endpoint is only accessible from within a VPC. What is the MOST secure way to achieve this?
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
Deploy the model endpoint in a VPC with an interface VPC endpoint (AWS PrivateLink) and configure the model to require HTTPS
Option D is correct because it combines two critical security controls: deploying the SageMaker endpoint within a VPC using an interface VPC endpoint (AWS PrivateLink) ensures that all traffic stays within the AWS network and never traverses the public internet, while configuring the model to require HTTPS enforces encryption in transit. This architecture eliminates exposure to the internet and meets the requirement for encrypted inference requests and VPC-only access.
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.
- ✗
Enable public endpoint with TLS and restrict access using a VPN
Why it's wrong here
Public endpoint still leaves the endpoint internet-facing; a VPN is additional but less secure than VPC isolation.
- ✗
Use SageMaker Model Monitor to detect anomalies in request data
Why it's wrong here
Model Monitor monitors data quality, not encryption or network access.
- ✗
Create a SageMaker endpoint in a private subnet without an internet gateway, and use AWS PrivateLink
- ✓
Deploy the model endpoint in a VPC with an interface VPC endpoint (AWS PrivateLink) and configure the model to require HTTPS
Why this is correct
This ensures traffic stays within the VPC and uses TLS encryption in transit.
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 confuse 'deploying in a private subnet' with 'making the endpoint accessible within the VPC'—a SageMaker endpoint in a private subnet without an internet gateway or VPC endpoint cannot be reached because the SageMaker service itself needs a network path to invoke the endpoint, and without a VPC endpoint, the endpoint is effectively isolated and unreachable.
Detailed technical explanation
How to think about this question
AWS PrivateLink uses interface VPC endpoints (powered by AWS PrivateLink) to create a private connection between your VPC and supported AWS services, including SageMaker. When you create a SageMaker endpoint with a VPC endpoint, the endpoint's DNS name resolves to private IP addresses within your VPC, and traffic is routed through the AWS network without traversing the internet. Additionally, SageMaker endpoints support HTTPS by default when using the `RealTimeInferenceEndpoint` with a custom model, and you can enforce HTTPS by configuring the endpoint to require TLS (e.g., by using a custom container that listens on HTTPS or by using AWS Certificate Manager).
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.
- →
Security, Compliance and Governance for AI Solutions — study guide chapter
Learn the concepts, then practise the questions
- →
Security, Compliance and Governance for AI Solutions practice questions
Targeted practice on this topic area only
- →
All AIF-C01 questions
500 questions across all exam domains
- →
AWS Certified AI Practitioner AIF-C01 study guide
Full concept coverage aligned to exam objectives
- →
AIF-C01 practice test guide
How to use practice tests most effectively before exam day
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.
Applications of Foundation Models practice questions
Practise AIF-C01 questions linked to Applications of Foundation Models.
Fundamentals of AI and ML practice questions
Practise AIF-C01 questions linked to Fundamentals of AI and ML.
Fundamentals of Generative AI practice questions
Practise AIF-C01 questions linked to Fundamentals of Generative AI.
Guidelines for Responsible AI practice questions
Practise AIF-C01 questions linked to Guidelines for Responsible AI.
Security, Compliance and Governance for AI Solutions practice questions
Practise AIF-C01 questions linked to Security, Compliance and Governance for AI Solutions.
AIF-C01 fundamentals practice questions
Practise AIF-C01 questions linked to AIF-C01 fundamentals.
AIF-C01 scenario practice questions
Practise AIF-C01 questions linked to AIF-C01 scenario.
AIF-C01 troubleshooting practice questions
Practise AIF-C01 questions linked to AIF-C01 troubleshooting.
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?
Security, Compliance and Governance for AI Solutions — This question tests Security, Compliance and Governance for AI Solutions — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Deploy the model endpoint in a VPC with an interface VPC endpoint (AWS PrivateLink) and configure the model to require HTTPS — Option D is correct because it combines two critical security controls: deploying the SageMaker endpoint within a VPC using an interface VPC endpoint (AWS PrivateLink) ensures that all traffic stays within the AWS network and never traverses the public internet, while configuring the model to require HTTPS enforces encryption in transit. This architecture eliminates exposure to the internet and meets the requirement for encrypted inference requests and VPC-only access.
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 →
Last reviewed: Jun 25, 2026
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.
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.