DOP-C02 Security and Compliance Practice Question
A company uses AWS Organizations with multiple accounts. The security team wants to restrict the use of specific instance types across all accounts to reduce costs and enforce compliance. Which approach should be used?
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
✓
Apply a service control policy (SCP) to the root organizational unit to deny the instance types
Service control policies (SCPs) in AWS Organizations allow central control over permissions across all accounts, including the ability to deny specific instance types. This prevents any account from launching the restricted instance types. Option A is incorrect because AWS Config rules can only detect non-compliant resources, not prevent their creation. Option C is incorrect because IAM policies applied within individual accounts can be overridden by account administrators, and managing policies per account is not scalable. Option D is incorrect because AWS CloudFormation templates can enforce instance types only within stacks that use the template, but they do not prevent users from launching instances outside of CloudFormation.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Use AWS Config rules to detect non-compliant instance types
Why it's wrong here
Config rules only detect, not prevent.
- ✓
Apply a service control policy (SCP) to the root organizational unit to deny the instance types
Why this is correct
SCPs can deny actions across all accounts.
- ✗
Create IAM policies in each account to deny the use of the instance types
Why it's wrong here
IAM policies in each account can be changed by account administrators.
- ✗
Use AWS CloudFormation templates to enforce instance type selection
Why it's wrong here
CloudFormation templates can be bypassed by direct API calls.
Go deeper
Related to this question
About these practice questions
Courseiva writes every DOP-C02 question from scratch — 1,013 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This DOP-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 DOP-C02 exam.