Courseiva
mediumMultiple SelectObjective-mapped

MLA-C01 Practice Question: Secure access to a SageMaker real-time endpoint

A company wants to secure access to a SageMaker real-time endpoint. Which TWO actions should be taken? (Select two.)

⚠ Common exam trap

Watch out — candidates often confuse sts:AssumeRole with direct invocation permissions, or think that AWS WAF can be applied to any AWS service endpoint, when in fact SageMaker endpoints are not supported by WAF.

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

Attach a resource-based policy to the endpoint.

SageMaker real-time endpoints support resource-based policies, which allow you to control access at the endpoint level by specifying which IAM principals can invoke the endpoint. This is similar to how you attach a policy to an S3 bucket or an SQS queue, providing granular access control without requiring the caller to assume a role.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Use an IAM role with sts:AssumeRole for invocation.

    Why it's wrong here

    Invocation typically uses IAM permissions on the user/role directly, not sts:AssumeRole.

  • Attach a resource-based policy to the endpoint.

    Why this is correct

    Resource-based policies on SageMaker endpoints allow you to specify which IAM principals can invoke the endpoint.

  • Enable AWS WAF on the endpoint.

    Why it's wrong here

    AWS WAF is not supported directly on SageMaker endpoints.

  • Use AWS CloudTrail to log all invocations.

    Why it's wrong here

    CloudTrail provides auditing, not access control.

  • Configure the endpoint to be private within a VPC and use VPC endpoints.

    Why this is correct

    Placing the endpoint in a private subnet and using VPC endpoints reduces exposure to the public internet.

Quick reference

AWS S3 Storage Class Comparison

Storage ClassMin DurationRetrievalUse Case
S3 StandardNoneImmediateFrequently accessed data
S3 Standard-IA30 daysImmediateInfrequent access, rapid retrieval
S3 One Zone-IA30 daysImmediateNon-critical infrequent data
S3 Intelligent-TieringNoneImmediate–hoursUnknown or changing access patterns
S3 Glacier Instant90 daysMillisecondsArchive with instant retrieval
S3 Glacier Flexible90 daysMinutes–hoursArchive, flexible retrieval
S3 Glacier Deep Archive180 daysHoursLong-term compliance archive

About these practice questions

One of 835 original MLA-C01 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

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.