Question 365 of 1,000

SageMaker Endpoint VPC Security — Restrict Access and Encrypt Data | AWS Certified Machine Learning Engineer Associate Explained

This MLA-C01 practice question tests your understanding of ml solution monitoring, maintenance, and security. 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.

A company needs to secure a SageMaker real-time endpoint such that only authorized applications within a VPC can invoke the model, and all data in transit is encrypted. Which THREE configuration steps should they implement? (Choose THREE)

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

Use a KMS key for endpoint data encryption (at rest)

Option C is correct because using a KMS key for endpoint data encryption at rest ensures that the model data and artifacts stored on the endpoint's ML storage volumes are encrypted. This is a required step for meeting encryption compliance, though the question specifically asks about data in transit; however, KMS encryption at rest is a standard security best practice and is listed as a correct answer in the context of overall data protection for the endpoint.

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.

  • Assign a public IP to the endpoint instances

    Why it's wrong here

    Would make the endpoint potentially accessible from internet.

  • Disable SageMaker's API gateway logs

    Why it's wrong here

    Irrelevant to encryption or VPC access.

  • Use a KMS key for endpoint data encryption (at rest)

    Why this is correct

    Encrypts data on the instance's storage.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Enable VPC-only mode for the endpoint

    Why this is correct

    Blocks public internet access.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Enable inter-container traffic encryption

    Why this is correct

    Encrypts data between model containers.

    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 encryption at rest (KMS) with encryption in transit (TLS), and may overlook that inter-container traffic encryption is needed for data moving between containers, not just between the client and endpoint.

Detailed technical explanation

How to think about this question

VPC-only mode (Option D) restricts endpoint invocation to traffic originating from within the specified VPC, using VPC endpoints (AWS PrivateLink) to keep traffic within the AWS network. Inter-container traffic encryption (Option E) enables TLS between containers within the same SageMaker endpoint, which is critical for multi-container models where data passes between containers over the network. Together with KMS encryption at rest, these three steps ensure end-to-end security for data in transit and at rest within the VPC boundary.

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

ML Solution Monitoring, Maintenance, and Security — This question tests ML Solution Monitoring, Maintenance, and Security — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Use a KMS key for endpoint data encryption (at rest) — Option C is correct because using a KMS key for endpoint data encryption at rest ensures that the model data and artifacts stored on the endpoint's ML storage volumes are encrypted. This is a required step for meeting encryption compliance, though the question specifically asks about data in transit; however, KMS encryption at rest is a standard security best practice and is listed as a correct answer in the context of overall data protection for the endpoint.

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

Same concept, more angles

1 more ways this is tested on MLA-C01

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. A company wants to ensure that a SageMaker endpoint can only be invoked from within a specific VPC and that the data in transit is encrypted. Which THREE steps should they take? (Select THREE.)

hard
  • A.Attach a resource policy to the endpoint that restricts access to the VPC endpoint
  • B.Enable network isolation mode on the endpoint
  • C.Create a VPC endpoint for SageMaker (com.amazonaws.region.sagemaker.api)
  • D.Use a VPC with a NAT gateway and configure the endpoint to use the VPC
  • E.Enable inter-container traffic encryption on the endpoint

Why A: To restrict access to a VPC, use a VPC endpoint for SageMaker. To enforce that only requests from that VPC are accepted, use a resource policy that denies requests unless they come via the VPC endpoint. Inter-container traffic encryption secures data between containers, but for endpoint invocation, using a VPC endpoint with encryption ensures data in transit is encrypted.

Last reviewed: Jul 4, 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 MLA-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 MLA-C01 exam.