Courseiva
Design Solutions for Organizational ComplexityeasyMultiple ChoiceObjective-mapped

SAP-C02 Practice Question: Design Solutions for Organizational Complexity

A company uses AWS Organizations with several OUs for different environments (dev, test, prod). They want to restrict the use of specific EC2 instance types in the prod OU only. Which approach should they use?

⚠ Common exam trap

It's easy for candidates to confuse SCPs with IAM policies, thinking IAM policies can centrally restrict all accounts in an OU, when in fact SCPs are the only AWS Organizations feature that applies a guardrail across all accounts without requiring per-account configuration.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Attach a service control policy (SCP) to the prod OU that denies ec2:RunInstances for non-approved instance types.

Service control policies (SCPs) are the correct mechanism to centrally restrict permissions across all accounts within an AWS Organizations organizational unit (OU). By attaching an SCP to the prod OU that denies ec2:RunInstances for non-approved instance types, you enforce a guardrail that applies to every principal (including root users) in all accounts under that OU, regardless of IAM policies. This ensures that even if a user or role has an IAM policy allowing all EC2 instances, the SCP will block the non-approved types.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Create a separate AWS account for prod and use an IAM policy on the account.

    Why it's wrong here

    IAM policies cannot be attached to an account; SCPs are used for account-level restrictions.

  • Attach a service control policy (SCP) to the prod OU that denies ec2:RunInstances for non-approved instance types.

    Why this is correct

    SCPs can be applied to OUs to restrict actions in specific accounts.

  • Attach an IAM policy to all users in the prod accounts that denies non-approved instance types.

    Why it's wrong here

    IAM policies apply to users, not to all principals; also, root user is not affected.

  • Use AWS Config to detect non-approved instance types and terminate them.

    Why it's wrong here

    Reactive; instances could be running before detection.

About these practice questions

This SAP-C02 question is part of Courseiva's 1,660-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This SAP-C02 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SAP-C02 exam.