Question 1,192 of 1,755
Exploratory Data AnalysishardMultiple ChoiceObjective-mapped

MLS-C01 KMS encryption for S3 Practice Question

This MLS-C01 practice question tests your understanding of exploratory data analysis. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. A key principle to apply: kMS encryption for S3. 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.

Exhibit

Refer to the exhibit.

```
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": "s3:PutObject",
            "Resource": "arn:aws:s3:::my-bucket/*"
        }
    ]
}
```

A data scientist creates the above IAM policy and attaches it to a role used by an Amazon SageMaker notebook instance. When trying to save a file to the S3 bucket, the operation fails. What is the missing permission?

Exhibit

Refer to the exhibit.

```
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": "s3:PutObject",
            "Resource": "arn:aws:s3:::my-bucket/*"
        }
    ]
}
```

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

kms:GenerateDataKey

The correct answer is C (kms:GenerateDataKey) because the S3 bucket is likely encrypted with a KMS key. When SageMaker writes an object to an encrypted bucket, it needs permission to call kms:GenerateDataKey to generate a data key for encryption. Option A (kms:Decrypt) is for decryption, not encryption. Option B (s3:ListBucket) allows listing objects, not writing. Option D (s3:GetObject) allows reading objects, not writing. The error when saving indicates missing encryption permissions.

Key principle: KMS encryption for S3

Answer analysis

Option-by-option breakdown

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

  • kms:Decrypt

    Why it's wrong here

    Decrypt is for reading encrypted objects.

  • s3:ListBucket

    Why it's wrong here

    ListBucket is for listing objects, not writing.

  • kms:GenerateDataKey

    Why this is correct

    If the bucket uses SSE-KMS, PutObject requires kms:GenerateDataKey to encrypt the object.

    Related concept

    KMS encryption for S3

  • s3:GetObject

    Why it's wrong here

    GetObject is for reading.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The missing permission is often kms:GenerateDataKey for writing to KMS-encrypted buckets, not s3:PutObject which is already granted.

Detailed technical explanation

How to think about this question

Treat this as a scenario question. Identify the problem, the constraint, and the best action. Then compare each option against those facts.

KKey Concepts to Remember

  • KMS encryption for S3
  • Required permissions for writing to S3
  • Common misstep

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

KMS encryption for S3

Real-world example

How this comes up in practice

A startup's cloud architect reviews their monthly bill and notices costs are higher than expected for a long-running batch job. Switching from on-demand instances to Reserved Instances — or using Spot/Preemptible VMs — can reduce compute costs by up to 72 %. Questions like this test whether you understand the tradeoffs between commitment, flexibility, and cost across cloud pricing models.

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

What to study next

Got this wrong? Here's your next step.

Review kMS encryption for S3, then practise related MLS-C01 questions on the same topic to reinforce the concept.

Related practice questions

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

Exploratory Data Analysis — This question tests Exploratory Data Analysis — KMS encryption for S3.

What is the correct answer to this question?

The correct answer is: kms:GenerateDataKey — The correct answer is C (kms:GenerateDataKey) because the S3 bucket is likely encrypted with a KMS key. When SageMaker writes an object to an encrypted bucket, it needs permission to call kms:GenerateDataKey to generate a data key for encryption. Option A (kms:Decrypt) is for decryption, not encryption. Option B (s3:ListBucket) allows listing objects, not writing. Option D (s3:GetObject) allows reading objects, not writing. The error when saving indicates missing encryption permissions.

What should I do if I get this MLS-C01 question wrong?

Review kMS encryption for S3, then practise related MLS-C01 questions on the same topic to reinforce the concept.

What is the key concept behind this question?

KMS encryption for S3

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

Keep practising

More MLS-C01 practice questions

Last reviewed: Jun 20, 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 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.