Week 1 has laid the foundation of SCS-C03. We drew the big picture with the Shared Responsibility Model and 6 domains (Day 1), mastered IAM building blocks and policy evaluation algorithm (Day 2), dug into Identity/Resource policies, Condition keys, and least-privilege design (Day 3), and covered STS, federation, role chaining, Confused Deputy prevention (Day 4). Separately, each is its topic. But exam scenario questions always bundle two or three together.
One problem tangles implicit Deny, SCP guardrails, cross-account both-sides allowing, and Permissions Boundary simultaneously: "Why is access denied?" A "delegate safely to third parties" question tests Role + trust policy + ExternalId + least privilege all at once. Today we solidify that synthesis through scenario solving. Week 1's one-liner: "Every access decision at AWS reduces to the IAM evaluation algorithm, and a security engineer's job is inputting precise policies into that algorithm."
| Axis | Core |
|---|---|
| Responsibility line | IaaS(EC2) high customer burden, SaaS(S3) low. Data and access control always customer |
| Control types | Preventive(IAM/SCP/SG/KMS) · Detective(CloudTrail/GuardDuty/Config) · Responsive(EventBridge→SSM) |
| 6 domains | Threat detection 14 / Logging 18 / Infrastructure 20 / IAM 16 / Data 18 / Governance 14 |
1. Any explicit Deny? ──▶ Yes → DENY (absolute)
2. Does SCP allow the Action? ──▶ No → DENY
3. Does Permissions Boundary allow? ──▶ No → DENY
4. (cross-account) Both allow? ──▶ Either missing → DENY
5. Any explicit Allow? ──▶ No → implicit DENY
All pass ──▶ ALLOW
| Policy | Attached to | Principal | cross-account |
|---|---|---|---|
| Identity | User/Group/Role | None | Can't work alone |
| Resource | S3/KMS/SQS/Role trust | Required | Works alone |
| SCP | OU/account | — | Org guardrail |
| Permissions Boundary | User/Role | — | Principal ceiling |
BoolIfExists(MFA), aws:SourceArn/SourceAccount(Confused Deputy), use aws:SourceVpc for VPCaws:PrincipalTag == aws:ResourceTag keeps policies constant as scale growsWhen facing IAM problems in exam, consciously decompose by this order:
Bool vs BoolIfExists / missing ExternalId / single control only🎯 Scenario: "Developer has admin, but specific S3 bucket access is denied." Four-step decomposition — admin is explicit Allow (passes step 5). But denied means hitting filters 1-4. Most common: SCP or bucket policy's explicit Deny, or that bucket is KMS-encrypted but key policy doesn't allow developer. "Permissions exist but denied" almost always hits a filter (upper ceiling).
Click a choice to reveal the answer and explanation.
Question 1
Company wants application running on EC2 to access S3. Most security best-practice method is?
Question 2
Account A's CodePipeline deploys to Account B's ECS service; artifacts encrypted with Account A KMS key. For deployment to work, required permission boundaries are?
Question 3
User has `PowerUserAccess`, no SCP or Boundary restrictions, yet `dynamodb:Query` call is denied. Most likely cause?
Question 4
Company wants to safely delegate cross-account S3 bucket access to third-party backup vendor. Most appropriate setup?
Question 5
Security team wants to prevent anyone (admin, root) in all member accounts from disabling CloudTrail and block non-US region use. Most appropriate combo is?
Question 6
A policy intended to block sensitive actions without MFA used `"Bool": {"aws:MultiFactorAuthPresent": "false"}`, unexpectedly blocking service automation calls. Correct fix?
Question 7
Dozens of teams operate resources; policy additions per new team causes explosion. Most scalable least-privilege approach?
Question 8
Thousands of corporate employees need multi-account access. Avoid IAM User-per-account anti-pattern most appropriately how?
Question 9
Account A's role can't read KMS-encrypted S3 object in Account B. S3 bucket and A's IAM policy correctly allow GetObject. Most likely gap?
Question 10
SNS topic policy allows S3 service principal to post events. Block other people's S3 buckets from triggering this topic how?
This week's five — Shared Responsibility Model, policy evaluation algorithm, Identity/Resource policies, Condition and least privilege, STS and federation — are Domain 4 (IAM) core and prerequisite for all other five domains. Next week we enter data protection (KMS, encryption) in-depth; key policies, grants, encryption context there all unlock on these two questions learned here:
Hold these two questions, and next week's KMS key policies, S3 encryption enforcement, Secrets Manager rotation become "this week's IAM thinking applied to data" instead of "separate tools to memorize."