The correct answer is that the training job can write output objects only if server-side encryption with SSE-S3 is used. This is because the IAM policy for encrypted S3 training data includes a Deny statement on the s3:PutObject action with a condition requiring s3:x-amz-server-side-encryption to equal AES256, which is the encryption algorithm for SSE-S3. Any PutObject request that does not specify SSE-S3 encryption is explicitly blocked, while GetObject is allowed without any encryption requirement, making the Deny the decisive factor. On the AWS Certified Machine Learning Specialty MLS-C01 exam, this scenario tests your understanding of how IAM policy evaluation logic works—specifically that an explicit Deny overrides any Allow, and that conditional Deny statements are a common trap for candidates who overlook the condition. A useful memory tip is “Deny with a condition is still a Deny; if the condition isn’t met, the action is blocked.”
MLS-C01 Practice Question: Machine Learning Implementation and Operations
This MLS-C01 practice question tests your understanding of machine learning implementation and operations. 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.
Refer to the exhibit. A SageMaker training job uses an IAM role with this policy. The training job writes output to s3://my-bucket/output/. Which statement about the policy is true?
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The training job can write output objects only if server-side encryption with SSE-S3 is used
Option C is correct because the Deny statement blocks PutObject without SSE-S3 (AES256). Option A is wrong because Deny with condition allows PutObject when condition is met. Option B is wrong because Deny overrides Allow. Option D is wrong because GetObject is allowed without encryption requirement.
Key principle: ACLs process entries top to bottom and stop at the first match. Entry order and interface direction matter as much as the permit or deny statement.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
✗
The Allow statement allows all PutObject requests regardless of encryption
Why it's wrong here
Deny overrides Allow.
✓
The training job can write output objects only if server-side encryption with SSE-S3 is used
Why this is correct
Deny requires AES256 encryption.
Related concept
Standard ACLs match source addresses.
✗
The Deny statement blocks all PutObject requests
Why it's wrong here
Only blocks if encryption is not AES256.
✗
The GetObject permission requires the object to be encrypted with SSE-S3
Why it's wrong here
No encryption condition on GetObject.
Common exam traps
Common exam trap: ACLs stop at the first match
ACLs are processed top to bottom. The first matching entry wins, and an implicit deny usually exists at the end.
Detailed technical explanation
How to think about this question
ACL questions test precision: source, destination, protocol, port and direction. A generally correct ACL can still fail if it is applied on the wrong interface or in the wrong direction.
KKey Concepts to Remember
Standard ACLs match source addresses.
Extended ACLs can match source, destination, protocol and ports.
The first matching ACL entry is used.
There is usually an implicit deny at the end.
TExam Day Tips
→Check inbound versus outbound direction.
→Read the ACL from top to bottom.
→Look for a broader permit or deny above the intended line.
Key takeaway
ACLs process entries top to bottom and stop at the first match. Entry order and interface direction matter as much as the permit or deny statement.
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.
Review ACL processing order, placement rules (standard near destination, extended near source), and inbound vs outbound direction. Study wildcard masks and implicit deny. Then practise related MLS-C01 ACL questions on filtering logic and placement.
Machine Learning Implementation and Operations — This question tests Machine Learning Implementation and Operations — Standard ACLs match source addresses..
What is the correct answer to this question?
The correct answer is: The training job can write output objects only if server-side encryption with SSE-S3 is used — Option C is correct because the Deny statement blocks PutObject without SSE-S3 (AES256). Option A is wrong because Deny with condition allows PutObject when condition is met. Option B is wrong because Deny overrides Allow. Option D is wrong because GetObject is allowed without encryption requirement.
What should I do if I get this MLS-C01 question wrong?
Review ACL processing order, placement rules (standard near destination, extended near source), and inbound vs outbound direction. Study wildcard masks and implicit deny. Then practise related MLS-C01 ACL questions on filtering logic and placement.
What is the key concept behind this question?
Standard ACLs match source addresses.
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 →
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 machine learning team is using SageMaker to train a model. They want to ensure that the training data is encrypted at rest in the S3 bucket and that the data is also encrypted during transit. Which configuration should they use?
medium
A.Use client-side encryption and transfer data via HTTP
✓ B.Use SSE-S3 encryption on the S3 bucket and enforce HTTPS
C.Use SSE-KMS encryption on the S3 bucket and disable HTTP
D.Use SSE-C encryption on the S3 bucket and HTTPS
E.Use no encryption on S3 but use HTTPS
Why B: Option D is correct because SSE-S3 encrypts data at rest, and HTTPS ensures encryption in transit. Option A (SSE-KMS) also works but requires KMS keys. Option B (client-side encryption) is not managed by SageMaker. Option C (SSE-C) requires customer keys. Option E (HTTP) is not encrypted.
Variation 2. A machine learning team is using SageMaker to train a model. The training data is stored in an S3 bucket encrypted with AWS KMS. The training job fails with an 'AccessDenied' error. Which IAM permission is MOST likely missing from the SageMaker execution role?
medium
A.s3:GetObject
B.s3:ListBucket
✓ C.kms:Decrypt
D.kms:GenerateDataKey
Why C: SageMaker needs kms:Decrypt permission to read encrypted data from S3. The s3:GetObject permission is also needed, but the error specifically for encrypted data often points to missing KMS permissions. s3:ListBucket is for listing, not reading. kms:GenerateDataKey is for writing. kms:Encrypt is for writing encrypted data.
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.
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.
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.