Courseiva
Machine Learning Implementation and OperationshardMultiple SelectObjective-mapped

MLS-C01 Practice Question: Machine Learning Implementation and Operations

A data scientist is using SageMaker to train a model. The training job needs to access data in an S3 bucket in a different AWS account. The data scientist has set up proper S3 bucket policies and IAM roles. Which THREE steps are necessary to allow SageMaker to access the cross-account S3 bucket? (Select THREE.)

⚠ Common exam trap

Many exam-takers confuse VPC endpoints or KMS encryption as mandatory for cross-account access, when in fact the core requirement is proper IAM role chaining and bucket policy configuration.

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

Configure the S3 bucket policy to grant access to the SageMaker execution role ARN from the training account

The S3 bucket policy in the data account must explicitly grant the SageMaker execution role ARN from the training account the necessary permissions (e.g., s3:GetObject, s3:ListBucket). This is the foundational step for cross-account access, as S3 bucket policies are resource-based policies that can specify principals from other AWS accounts.

Answer analysis

Option-by-option breakdown

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

  • Configure the S3 bucket policy to grant access to the SageMaker execution role ARN from the training account

    Why this is correct

    Bucket policy must allow cross-account access.

  • Create a VPC endpoint for S3 in the training account

    Why it's wrong here

    VPC endpoints are for private connectivity, not cross-account access.

  • Create an IAM role in the data account with permissions to read from the S3 bucket

    Why this is correct

    The role in the data account grants S3 access.

  • Use an AWS KMS key to encrypt the data in transit

    Why it's wrong here

    KMS is for encryption at rest, not required for cross-account access.

  • Configure the SageMaker execution role in the training account to assume the IAM role in the data account

    Why this is correct

    The training role must have sts:AssumeRole permission.

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

Courseiva writes every MLS-C01 question from scratch — 1,672 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 →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This MLS-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 MLS-C01 exam.