Question 214 of 504
Cloud Security OperationshardMultiple ChoiceObjective-mapped

Quick Answer

The correct answer is that the user can upload objects only if they specify server-side encryption with AES256, because the IAM policy condition forces SSE-S3 encryption on every S3 upload. This works by using a `Deny` effect in the `Condition` block that checks the `s3:x-amz-server-side-encryption` header; if the header is missing or set to any value other than `AES256`, the `s3:PutObject` request is denied, overriding any broader `Allow` permissions. On the Certified Cloud Security Professional CCSP exam, this scenario tests your understanding of how IAM policy conditions enforce encryption at rest, often appearing as a trick where a seemingly permissive policy is actually restrictive due to a `Deny` condition. A common trap is confusing `Allow` with `Deny` logic—remember that a `Deny` always wins, even if an `Allow` exists for the same action. Memory tip: “Deny the header, deny the upload” — if the encryption header isn’t exactly `AES256`, the request is blocked.

CCSP Cloud Security Operations Practice Question

This CCSP practice question tests your understanding of cloud security 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.

Exhibit

Refer to the exhibit.

```
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "s3:PutObject",
      "Resource": "arn:aws:s3:::my-bucket/*",
      "Condition": {
        "StringEquals": {
          "s3:x-amz-server-side-encryption": "AES256"
        }
      }
    }
  ]
}
```

Refer to the exhibit. A security engineer has attached the above IAM policy to a user. What is the effect of this policy?

Question 1hardmultiple choice
Full question →

Exhibit

Refer to the exhibit.

```
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "s3:PutObject",
      "Resource": "arn:aws:s3:::my-bucket/*",
      "Condition": {
        "StringEquals": {
          "s3:x-amz-server-side-encryption": "AES256"
        }
      }
    }
  ]
}
```

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

The user can upload objects only if they specify server-side encryption with AES256.

Option D is correct because the IAM policy uses a `Condition` block with `s3:x-amz-server-side-encryption` set to `AES256`. This condition ensures that any `s3:PutObject` request must include the `x-amz-server-side-encryption` header with the value `AES256`. Without this header or with a different encryption value, the request is denied. The `Deny` effect overrides any `Allow` that might exist, so the user is forced to specify SSE-S3 (AES-256) encryption on every upload.

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.

  • The user can upload objects only to the my-bucket bucket with no restrictions.

    Why it's wrong here

    The condition restricts encryption.

  • The user can upload objects only if they use customer-managed KMS keys.

    Why it's wrong here

    The condition specifies AES256, not KMS.

  • The user is denied from uploading objects without encryption.

    Why it's wrong here

    The policy is an allow, not a deny; without encryption, the action is not allowed, but that does not mean denied explicitly.

  • The user can upload objects only if they specify server-side encryption with AES256.

    Why this is correct

    The condition requires s3:x-amz-server-side-encryption to be AES256.

    Related concept

    Read the scenario before looking for a memorised answer.

Common exam traps

Common exam trap: answer the scenario, not the keyword

ISC2 often tests the distinction between SSE-S3 (`AES256`) and SSE-KMS (`aws:kms`), and the trap here is that candidates mistakenly think the policy allows any encryption or that it only blocks unencrypted uploads, when in fact it mandates a specific encryption type.

Detailed technical explanation

How to think about this question

The `s3:x-amz-server-side-encryption` condition key evaluates the `x-amz-server-side-encryption` header in the PUT request. Valid values are `AES256` (SSE-S3) and `aws:kms` (SSE-KMS). By using a `Deny` with `StringNotEquals`, the policy blocks any request where the header is not exactly `AES256`, effectively prohibiting unencrypted uploads and uploads using SSE-KMS. This is a common pattern to enforce a specific encryption standard across an S3 bucket, and it works even if the user has an explicit `Allow` for `s3:PutObject` from another policy.

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 developer is choosing between AES-256 (symmetric) and RSA-2048 (asymmetric) for encrypting a large file that will be sent to a partner. Symmetric encryption is fast but requires key exchange; asymmetric is slower but solves the key distribution problem. A hybrid approach — encrypt the file with AES, encrypt the AES key with RSA — is standard. Questions like this test whether you understand when each approach applies.

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 CCSP 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 CCSP 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 CCSP question test?

Cloud Security Operations — This question tests Cloud Security Operations — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: The user can upload objects only if they specify server-side encryption with AES256. — Option D is correct because the IAM policy uses a `Condition` block with `s3:x-amz-server-side-encryption` set to `AES256`. This condition ensures that any `s3:PutObject` request must include the `x-amz-server-side-encryption` header with the value `AES256`. Without this header or with a different encryption value, the request is denied. The `Deny` effect overrides any `Allow` that might exist, so the user is forced to specify SSE-S3 (AES-256) encryption on every upload.

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

2 more ways this is tested on CCSP

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. Refer to the exhibit. A cloud security analyst is reviewing an S3 bucket policy. The bucket contains sensitive data and must only be accessible over HTTPS from the internal network (10.0.0.0/24). Which of the following correctly describes the behavior of this policy?

hard
  • A.Requests from 10.0.0.0/24 over HTTPS are allowed; all other requests are denied.
  • B.Requests from 10.0.0.0/24 over HTTP are allowed because the Allow statement matches.
  • C.The policy is invalid because it combines Allow and Deny statements.
  • D.All requests from 10.0.0.0/24 are denied because the Deny statement applies to all actions.

Why A: The policy uses an explicit Deny for any request that is not using HTTPS (i.e., aws:SecureTransport is false) or does not originate from the 10.0.0.0/24 IP range. This Deny overrides the Allow statement, ensuring that only requests meeting both conditions (source IP 10.0.0.0/24 AND HTTPS) are permitted. Requests from 10.0.0.0/24 over HTTPS satisfy the Allow and are not caught by the Deny, so they are allowed; all other requests are denied.

Variation 2. Refer to the exhibit. A cloud security analyst reviews the bucket policy for example-bucket. Based on the policy, which of the following is true?

hard
  • A.Requests from IP 192.0.2.10 over HTTPS are allowed.
  • B.Access is denied because the Principal is set to "*", which is insecure.
  • C.Requests from IP 192.0.2.10 over HTTP are allowed because the deny statement only applies when SecureTransport is false.
  • D.Any IP address can perform GetObject requests if they use HTTPS.

Why A: Option A is correct because the bucket policy includes an explicit Allow statement granting s3:GetObject to all principals (Principal: "*") from the IP address 192.0.2.10, and the condition "Bool": {"aws:SecureTransport": "true"} ensures that only HTTPS requests are allowed. Since the request originates from the specified IP and uses HTTPS, it satisfies both the Allow condition and is not blocked by the Deny statement, which only denies requests when SecureTransport is false (i.e., HTTP). Thus, the request is permitted.

Last reviewed: Jun 30, 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 CCSP practice question is part of Courseiva's free ISC2 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 CCSP exam.