IAM Deep Diveยท0/78 min
0%
๐The Big Pictureยท5 min readModule 1 of 10
The Big Picture
๐
AWS Identity and Access Management
Before any action happens in AWS โ creating a server, reading a file, sending a message โ IAM decides whether it's allowed.
~75 min total10 modules10 quiz questionsDOP-C02 High priority
What IAM does
Every time you click in the AWS Console, run a CLI command, or a Lambda function calls an AWS API โ that request goes through IAM first. IAM asks three questions:
๐ค
Authentication
Who are you?
Prove identity via password, access key, or temporary token
๐
Authorization
What can you do?
Check attached policies for an explicit Allow or Deny
๐ฏ
Resource scope
On what?
The permission targets specific resources, not everything
The most important rule
DEFAULT = DENY
Every API call starts as denied. You explicitly open what's needed โ not close what isn't.
IAM starts from "no access". If there's no explicit Allow for an action, it's blocked โ this is called an implicit deny. You must actively grant permissions, not actively revoke them.
๐กThe bouncer analogy: IAM is a nightclub with a guest list AND a banned list. Not on the guest list = you're out (implicit deny). On the banned list = still out, even if you're also a guest (explicit deny). The banned list always wins over the guest list.
Why this matters for the exam
IAM appears in nearly every DOP-C02 question โ even CodeDeploy, ECS, and Lambda questions are often IAM questions in disguise. Master IAM and you'll immediately recognise the access control angle in any scenario.
"No credentials in code"โ IAM role
"Cross-account access"โ AssumeRole or resource-based policy
"Least privilege"โ specific actions + specific resources
"Members cannot delete Config rules"โ SCP
"Lambda can't write to S3"โ missing or wrong execution role
"Temporary credentials"โ STS / role assumption