Question 329 of 504
Access ControlshardMultiple ChoiceObjective-mapped

Quick Answer

The answer is denied because the explicit deny overrides any allow. In AWS S3 bucket policies, when an explicit deny statement is applied to a specific principal and action—such as s3:PutObject—it takes absolute precedence over any allow statement, even if those allows come from the same policy, a different policy, or an IAM user permission. This is a foundational principle of AWS IAM evaluation logic: explicit denies are final and cannot be overridden by any other permission. On the Systems Security Certified Practitioner SSCP exam, this concept tests your understanding of policy evaluation order and the critical difference between implicit and explicit denies. A common trap is assuming that a broader allow can rescue a user from a targeted deny, but the exam expects you to recognize that an explicit deny is a hard block. Remember the memory tip: “Explicit deny is the final word—no allow can be heard.”

SSCP Access Controls Practice Question

This SSCP practice question tests your understanding of access controls. 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. The following IAM policy is attached to a user:
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "s3:GetObject",
      "Resource": "arn:aws:s3:::corporate-data/*"
    },
    {
      "Effect": "Deny",
      "Action": "s3:PutObject",
      "Resource": "arn:aws:s3:::corporate-data/*"
    }
  ]
}

Based on the exhibit, if the user attempts to upload (put) a file to the S3 bucket corporate-data, what is the result?

Question 1hardmultiple choice
Full question →

Exhibit

Refer to the exhibit. The following IAM policy is attached to a user:
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "s3:GetObject",
      "Resource": "arn:aws:s3:::corporate-data/*"
    },
    {
      "Effect": "Deny",
      "Action": "s3:PutObject",
      "Resource": "arn:aws:s3:::corporate-data/*"
    }
  ]
}

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

Denied because the explicit deny overrides any allow

The correct answer is B because the bucket policy includes an explicit deny statement that denies s3:PutObject for the user's principal. In AWS IAM and resource-based policies, an explicit deny always overrides any allow, regardless of other permissions. Therefore, even if other statements allow PutObject, the explicit deny blocks the 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.

  • Allowed because the bucket policy likely allows public puts

    Why it's wrong here

    The bucket policy is not shown; this is speculation and not supported by the exhibit.

  • Denied because the explicit deny overrides any allow

    Why this is correct

    The explicit deny for PutObject overrides any potential allows, so the request is denied.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Denied because PutObject is not explicitly allowed

    Why it's wrong here

    While true, the presence of an explicit deny is the definitive reason; however, the answer choice with explicit deny is more precise.

  • Allowed because the policy also allows GetObject

    Why it's wrong here

    GetObject is read-only; PutObject is not allowed by the allow statement.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often assume an explicit allow for PutObject would override a deny, but AWS's explicit deny always wins, making the presence of any deny statement the decisive factor.

Trap categories for this question

  • Command / output trap

    The bucket policy is not shown; this is speculation and not supported by the exhibit.

Detailed technical explanation

How to think about this question

AWS IAM policy evaluation logic follows a default deny, then explicit allow, then explicit deny—where explicit deny is final. This is documented in the AWS IAM policy evaluation model. In real-world scenarios, a common misconfiguration is adding a broad deny (e.g., for all actions) that inadvertently blocks legitimate operations, requiring careful policy structuring with NotAction or condition keys.

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 security analyst at a medium-sized enterprise encounters this scenario during an investigation or architecture review. The correct answer reflects best practice for the specific threat or control described. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Security exam questions test whether you can match controls to threats in context — not just recall definitions.

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

Access Controls — This question tests Access Controls — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Denied because the explicit deny overrides any allow — The correct answer is B because the bucket policy includes an explicit deny statement that denies s3:PutObject for the user's principal. In AWS IAM and resource-based policies, an explicit deny always overrides any allow, regardless of other permissions. Therefore, even if other statements allow PutObject, the explicit deny blocks the upload.

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

Last reviewed: Jun 25, 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 SSCP 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 SSCP exam.