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 Class | Min Duration | Retrieval | Use Case |
|---|---|---|---|
| S3 Standard | None | Immediate | Frequently accessed data |
| S3 Standard-IA | 30 days | Immediate | Infrequent access, rapid retrieval |
| S3 One Zone-IA | 30 days | Immediate | Non-critical infrequent data |
| S3 Intelligent-Tiering | None | Immediate–hours | Unknown or changing access patterns |
| S3 Glacier Instant | 90 days | Milliseconds | Archive with instant retrieval |
| S3 Glacier Flexible | 90 days | Minutes–hours | Archive, flexible retrieval |
| S3 Glacier Deep Archive | 180 days | Hours | Long-term compliance archive |
Go deeper
Related to this question
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 →
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.