INFRASTRUCTURE LEARNINGINFRASTRUCTURE LEARNING
インフラ大全インフラ大全IT INFRASTRUCTURE / LEARNING
Infrastructure learning guide
Find a lesson or lab/

Esc to close · Search terms stay on your device

LEARNING日本語

Topic lessonTopic: Applied GitHub Actions and SQL Server recovery labs

Exercise SCP, RCP and IAM on one synthetic API request

SCPs and RCPs do not grant access. This exercise uses a supported member resource without a separate grant path.

What you will learn

Distinguish a missing grant from a policy denial.

Prerequisite

The cases use fictional inputs.

Start the exercise →

What to predict

SCPs and RCPs do not grant access. This exercise uses a supported member resource without a separate grant path.

From conditions to the decision
From conditions to the decision1: IAM permission grants the request — Align conditions — SCP. 2: SCP — Compare outcomes — RCP. 3: RCP — Verify the decision — Decision123IAM permissiongrants the requestSCPRCPDecisionFrom conditions to the decision1: IAM permission grants the request — Align conditions — SCP. 2: SCP — Compare outcomes — RCP. 3: RCP — Verify the decision — Decision123IAM permissiongrants therequestSCPRCPDecision
  1. IAM permission grants the request → SCPAlign conditions
  2. SCP → RCPCompare outcomes
  3. RCP → DecisionVerify the decision
IAM permission grants the request
Yes / No
SCP
No matching deny / Explicit deny
RCP
No matching deny / Explicit deny
Decision
Distinguish a missing grant from a policy denial.

Compare the cases

Synthetic observations
CaseConditionsDecision
Trial 1IAM permission grants the request Yes, SCP No matching deny, RCP No matching denyAllowed in this exercise under the stated assumptions.
Trial 2IAM permission grants the request Yes, SCP Explicit deny, RCP No matching denyDenied by the SCP in this model. Review the member account control.
Trial 3IAM permission grants the request Yes, SCP No matching deny, RCP Explicit denyDenied by the RCP in this model. Review the control on the resource.
Trial 4IAM permission grants the request No, SCP No matching deny, RCP No matching denyMissing IAM grant. Satisfying a policy limit is not a grant.

Acceptance and limits

The exercise models one candidate grant and two controls. It omits full policy language, exceptions and combined deny analysis.

Read the initial conditions and operational goal.

Change one condition and compare the decision.

Record the model boundary and outstanding checks.

Change a condition

The exercise models one candidate grant and two controls. It omits full policy language, exceptions and combined deny analysis.

Allowed in this exercise under the stated assumptions.

Check your understanding

Choose an option to see the result and explanation.

What happens in trial 1?
Read the answer and reason

Answer: Allowed in this exercise under the stated assumptions. · IAM permission grants the request Yes, SCP No matching deny, RCP No matching deny → Allowed in this exercise under the stated assumptions.

What happens in trial 2?
Read the answer and reason

Answer: Denied by the SCP in this model. Review the member account control. · IAM permission grants the request Yes, SCP Explicit deny, RCP No matching deny → Denied by the SCP in this model. Review the member account control.

What happens in trial 3?
Read the answer and reason

Answer: Denied by the RCP in this model. Review the control on the resource. · IAM permission grants the request Yes, SCP No matching deny, RCP Explicit deny → Denied by the RCP in this model. Review the control on the resource.

Check, then explain in your own words

  1. Read the initial conditions and operational goal.
  2. Change one condition and compare the decision.
  3. Record the model boundary and outstanding checks.
Check your understanding: Distinguish a missing grant from a policy denial.

The exercise models one candidate grant and two controls. It omits full policy language, exceptions and combined deny analysis.

Record the model boundary and outstanding checks.

Sources and conditions checked

The official references used in this lesson are collected here with their scope, conditions and corresponding sections. Independent expert review and live AWS comparison have not been performed.