Case 0283DB · Cloud · L5 Expert

AWS Policy Evaluation Logic

Practise as: Deep diveLevel: L5 Expert
  1. 01 Context
  2. 02 Mechanism
  3. 03 Lessons
What a strong answer covers

Try it out loud first. Then check yourself:

  1. One request can meet identity, resource, boundary, session, SCP and RCP policies; misreading them causes outages and holes
  2. An explicit deny in any applicable policy wins; with no allow at all, the default is implicit deny
  3. SCPs, RCPs, permission boundaries and session policies only cap permissions; they never grant anything
  4. Cross-account needs both sides: the caller identity policy and the resource policy in the other account must allow
  5. SCPs skip the management account and service-linked roles; validate with the policy simulator and Access Analyzer

If the interviewer pushes back

  • A role in account A has s3:* and the bucket in account B has no bucket policy. Can it read? What changes in the same account?

More Cloud cards

All Cloud cards →

cardosec draws a security topic and gives you a clock: explain it out loud with no notes, then see what you covered and what you missed. Free during early access.

Reviewed 2026-10-09