Courseiva
hardMultiple Choice

CCSP Practice Question: A cloud application uses an IAM role with the…

A cloud application uses an IAM role with the policy "Action: s3:*" and "Resource: *". Which principle is violated?

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

✓

Least privilege

The policy grants full access to all S3 actions on all resources, violating the principle of least privilege. Wildcard permissions like s3:* and *:* are over-permissive.

Answer analysis

Option-by-option breakdown

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

  • ✗

    Defense in depth

    Why it's wrong here

    Defense in depth layers multiple independent controls; the flaw here is one over-permissive policy granting every S3 action on every resource, which violates least privilege. It is tempting because layered security is sound practice, and defense in depth would be correct where a single control failure must be caught by another safeguard.

  • ✗

    Fail secure

    Why it's wrong here

    Fail secure keeps systems in a safe state when they fail; the policy itself is the problem, granting s3:* on all resources rather than least privilege. It is tempting because fail-secure design matters for availability, and would be correct where a component failure must deny access rather than permit it.

  • ✗

    Separation of duties

    Why it's wrong here

    Separation of duties divides conflicting tasks among different identities; a single role holding s3:* across all resources breaches least privilege instead. It is tempting because broad permissions do concentrate power, and separation of duties would be correct where one person could both authorise and execute a sensitive transaction.

  • ✓

    Least privilege

    Why this is correct

    Granting `s3:*` on `*` lets the role perform every S3 operation against every bucket, including deletion and policy changes. Least privilege requires permissions scoped to only the actions and resources the application genuinely needs, so this wildcard policy directly violates that constraint.

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

This CCSP question is part of Courseiva's 934-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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 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.