Two concepts show up in almost every AWS certification exam (CLF-C02, SAA-C03, SCS-C03) and cloud security interview: the Shared Responsibility Model and IAM policy evaluation order .
Here is a practical breakdown from our interactive lesson on BytePatterns :
1. Security of the Cloud vs. Security in the Cloud
AWS secures the cloud itself: physical facilities, hardware, networking, and the virtualization layer.
You secure what you put in it: your data, guest OS patches, security group / firewall rules, encryption settings, and IAM (who can call which API).
2. IAM Policy Evaluation: Deny Beats Everything
When a principal makes an API request in AWS, IAM evaluates every applicable policy in a strict order:
Default Deny: Everything is denied unless explicitly allowed.
Explicit Allow: At least one policy must explicitly allow the action and resource.
Explicit Deny: If any applicable policy contains an explicit Deny , it overrides every Allow β no exceptions.
3.β¦