SaveMyCert
Log in
2 of 2 free questions left today·for 5 a day
Security and Compliance

IAM, AWS Organizations, and Compliance Tools for CloudOps (SOA-C03)

24 min readSOA-C03 · Security and ComplianceUpdated

Security and compliance tooling on AWS is the operational layer that controls who can do what: IAM authenticates and authorizes principals, AWS Organizations and service control policies set guardrails across every account, and AWS Config continuously verifies that resources stay compliant. Task 4.1 of the SOA-C03 exam tests this from the operator's seat — enforcing MFA, giving every workload temporary credentials instead of access keys, federating people and pipelines, writing conditions that do what you think, triaging AccessDenied errors layer by layer, proving who did what with CloudTrail, and blocking entire Regions with one policy. The questions are scenario-driven: a requirement such as "no user in any account may create resources outside eu-west-1" expects the right tool at the right layer. This lesson covers skills 4.1.1 through 4.1.5, from IAM features through Trusted Advisor remediation and AWS Config conformance packs.

What you’ll learn

  • Enforce MFA correctly (BoolIfExists, MFA-backed CLI sessions), set the account password policy, and know which users it does not govern.
  • Give EC2, ECS, on-premises and CI/CD workloads temporary credentials with roles, IAM Roles Anywhere and OIDC federation instead of access keys.
  • Write policy conditions (source IP and VPC keys, organization keys, ABAC tags) and permissions boundaries that delegate safely, and predict outcomes with the evaluation logic.
  • Triage AccessDenied errors from the error message and policy layers, and audit access with CloudTrail, the IAM policy simulator, and IAM Access Analyzer.
  • Design multi-account guardrails with AWS Organizations, SCPs, IAM Identity Center and AWS Control Tower, and explain what SCPs can and cannot do.
  • Automate Trusted Advisor remediation and enforce continuous compliance with Region-restriction SCPs, AWS Config remediation, and organization conformance packs.

The 9 parts · about 19 min of reading

  1. Core IAM features in daily operationsStart hereThe password policy covers only IAM user passwords; MFA is enforced with a BoolIfExists deny, and roles replace long-term keys.2 min
  2. Workload credentials beyond EC2ECS task roles serve app code while execution roles pull images; Roles Anywhere and hybrid activations cover on-premises servers.1 min
  3. Federated identity and the two policy familiesPick Identity Center, SAML, Cognito or OIDC by who signs in; across accounts both identity and resource policies must allow.2 min
  4. Policy conditions, permissions boundaries, and evaluation orderCondition keys, ABAC tags, boundaries and session policies narrow access; an explicit deny ends evaluation before any allow counts.3 min
  5. Walkthrough: triaging an AccessDenied errorRead the error, confirm the principal, action and ARN, then check identity allows, explicit denies and the SCP, RCP and boundary gates.2 min
  6. Auditing accessCloudTrail records what happened, the policy simulator tests what would happen, and Access Analyzer reasons about what could happen.3 min
  7. Multi-account securitySCPs and RCPs only cap access, at every level from root to account; Identity Center grants people access and Control Tower adds guardrails.3 min
  8. Remediating Trusted Advisor security checksTrusted Advisor only flags; each check has a specific fix, and automation needs an EventBridge rule in us-east-1 with an acting target.1 min
  9. Enforcing complianceA Region-restriction SCP prevents violations, while AWS Config rules, runbook remediation and conformance packs detect and fix the rest.2 min

Mind map

Password policy covers IAM userpasswords onlyNo MFA setting: enforce with a denypolicyBoolIfExists catches access-key callsget-session-token gives MFA-backed CLIcreds1✓Password policy, MFA,rolesTask role: app code; execution role:ECS agentImage pull or secret fetch failure:execution roleRoles Anywhere: X.509 cert for rolecredsHybrid activation registers a managednode2✓Credentials beyond EC2Identity Center: workforce across manyaccountsCognito identity pool: app users getAWS credsCI OIDC: AssumeRoleWithWebIdentity +sub claimCross-account: identity and resourcepolicySSE-KMS adds key policy to the chain3✓Federation and policyfamiliesSourceIp sees the NAT public addressNegated operators match a missing keyABAC: ResourceTag equals PrincipalTagBoundary caps a user or role, grantsnothingExplicit deny ends evaluation4✓Conditions, boundaries,evaluationError names policy type, explicit orimplicitObject actions need the bucket/* ARNSCPs attach to root, OU or accountonlyRole chaining caps sessions at onehour5✓Triaging AccessDeniedEvent history: 90 days of managementeventsData events like GetObject are off bydefaultSimulator tests requests withoutcalling themAccess Analyzer: external, unused,checks6✓Auditing accessSCPs never grant; allow needed atevery levelNo effect on management account orSLRsRCPs cap access to resources in anaccountPermission set policy needs samename/pathControl Tower: landing zone + AccountFactory7✓Organizations, SCPs,Identity CenterTrusted Advisor flags; you fix eachcheckEvents only on us-east-1 default busTarget Lambda or a runbook, not justSNS8✓Trusted AdvisorremediationDeny when aws:RequestedRegion notapprovedExempt global services with NotActionConfig remediation runs SSM AutomationOrg conformance pack from delegatedadmin9✓Region SCPs and AWSConfigIAM, Organizationsand compliance tools
Mind map

IAM, AWS Organizations, and Compliance Tools for CloudOps (SOA-C03)

Password policy covers IAM userpasswords onlyNo MFA setting: enforce with a denypolicyBoolIfExists catches access-key callsget-session-token gives MFA-backed CLIcreds1✓Password policy, MFA,rolesTask role: app code; execution role:ECS agentImage pull or secret fetch failure:execution roleRoles Anywhere: X.509 cert for rolecredsHybrid activation registers a managednode2✓Credentials beyond EC2Identity Center: workforce across manyaccountsCognito identity pool: app users getAWS credsCI OIDC: AssumeRoleWithWebIdentity +sub claimCross-account: identity and resourcepolicySSE-KMS adds key policy to the chain3✓Federation and policyfamiliesSourceIp sees the NAT public addressNegated operators match a missing keyABAC: ResourceTag equals PrincipalTagBoundary caps a user or role, grantsnothingExplicit deny ends evaluation4✓Conditions, boundaries,evaluationError names policy type, explicit orimplicitObject actions need the bucket/* ARNSCPs attach to root, OU or accountonlyRole chaining caps sessions at onehour5✓Triaging AccessDeniedEvent history: 90 days of managementeventsData events like GetObject are off bydefaultSimulator tests requests withoutcalling themAccess Analyzer: external, unused,checks6✓Auditing accessSCPs never grant; allow needed atevery levelNo effect on management account orSLRsRCPs cap access to resources in anaccountPermission set policy needs samename/pathControl Tower: landing zone + AccountFactory7✓Organizations, SCPs,Identity CenterTrusted Advisor flags; you fix eachcheckEvents only on us-east-1 default busTarget Lambda or a runbook, not justSNS8✓Trusted AdvisorremediationDeny when aws:RequestedRegion notapprovedExempt global services with NotActionConfig remediation runs SSM AutomationOrg conformance pack from delegatedadmin9✓Region SCPs and AWSConfigIAM, Organizationsand compliance tools

How the exam tests this

Task 4.1 questions are scenario triage. Expect an AccessDenied despite a visible allow (find the explicit deny, the SCP gap at some level, the boundary, or the wrong resource ARN), a condition that silently fails open or closed because a key is missing, and a choice between credential mechanisms for a workload (task role vs execution role, Roles Anywhere vs hybrid activation, OIDC trust scoped by sub). Distinguish the auditing tools by the question each answers — CloudTrail for what happened, the policy simulator for what a request would do, Access Analyzer for what policies expose — and know the defaults that trip people up: data events are off, Trusted Advisor events arrive only in us-east-1, and SCPs never touch the management account.

Key takeaways

  1. Only identity and resource policies grant access — SCPs, RCPs, permissions boundaries and session policies can only cap it, and an explicit deny anywhere always wins.
  2. Enforce MFA with a Deny using BoolIfExists on aws:MultiFactorAuthPresent; plain Bool or MultiFactorAuthAge fail open for access-key requests, and CLI users get MFA-backed credentials from sts get-session-token.
  3. Workloads never need stored keys: instance profiles on EC2, the ECS task role (not the execution role) for app calls, IAM Roles Anywhere on premises, and OIDC federation conditioned on the sub claim for CI.
  4. Cross-account access needs an allow on both sides; with SSE-KMS the key policy and the caller's identity policy must also allow the KMS actions.
  5. aws:SourceIp sees the public (NAT) address; VPC keys exist only through VPC endpoints; negated operators match when a key is missing.
  6. Who did it → CloudTrail (event history: 90 days of management events; data events need a trail). Would this policy allow it → IAM policy simulator. What is exposed, reachable internally or unused → IAM Access Analyzer (external, internal and unused access analyzers).
  7. An action must be allowed by SCPs at every level from root to account; SCPs never affect the management account or service-linked roles.
  8. Trusted Advisor events reach EventBridge only in us-east-1; AWS Config remediates through SSM Automation runbooks, and organization conformance packs deploy from a delegated administrator.
0/9
Ready to start

Part 1: Core IAM features in daily operations

The password policy covers only IAM user passwords; MFA is enforced with a BoolIfExists deny, and roles replace long-term keys.

2 min read · 9 parts, about 19 min in allStart lesson

Frequently asked questions

What is the difference between an SCP and an IAM policy?

An IAM policy grants permissions to a specific user, group, or role in one account. A service control policy (SCP) attaches to an AWS Organizations root, OU, or account and sets the maximum permissions available there — it never grants anything. A principal can act only when an IAM policy allows the action and the SCPs at every level from the root down to the account permit it. SCPs do not affect the organization's management account or service-linked roles.

How do I enforce MFA for all IAM users in an AWS account?

The password policy cannot require MFA. Attach an IAM policy that denies every action except the MFA self-management actions when aws:MultiFactorAuthPresent is false, using the BoolIfExists operator. Requests signed with long-term access keys carry no MFA context, so a plain Bool condition (or one on aws:MultiFactorAuthAge) would not match them and the deny would fail open. CLI users then call sts get-session-token with their MFA device serial number and current code to get temporary credentials that carry MFA. Enable MFA on the root user separately and first.

How do I find out who deleted or changed an AWS resource?

Use AWS CloudTrail. Event history, which needs no setup, keeps the last 90 days of management events in each Region; search it for the event name (for example DeleteBucket or AuthorizeSecurityGroupIngress) and read userIdentity, sourceIPAddress and eventTime. For older events, create a trail delivering to Amazon S3. Object-level reads and writes are data events that are not logged by default; enable them on a trail with advanced event selectors before you need them.

Sign up free to mark lessons complete, bookmark topics and track your exam readiness.

Spotted a mistake in this lesson?