ANS-C01 Network Security, Compliance and Governance Practice Question
A company is designing a multi-account AWS environment using AWS Organizations. They want to restrict the use of certain instance types across all accounts. Which approach should they use to enforce this policy?
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
✓
Create a service control policy (SCP) that denies the ec2:RunInstances action for noncompliant instance types and attach it to the root organizational unit.
Service control policies (SCPs) in AWS Organizations can be used to restrict the use of specific instance types across all member accounts from a central location. Option B is correct. IAM policies are account-specific and cannot be applied across all accounts from a central location. AWS Config can detect noncompliant instances but cannot prevent them from being launched. AWS CloudTrail is for auditing, not enforcement.
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 an IAM policy that denies the ec2:RunInstances action for noncompliant instance types and attach it to each IAM user.
Why it's wrong here
IAM policies cannot be applied across all accounts from a central location; they must be attached to each user or role in each account.
- ✓
Create a service control policy (SCP) that denies the ec2:RunInstances action for noncompliant instance types and attach it to the root organizational unit.
Why this is correct
SCPs can be applied to organizational units to restrict actions across accounts.
- ✗
Set up AWS Config rules to detect noncompliant instances and trigger an AWS Lambda function to terminate them.
Why it's wrong here
AWS Config can detect but cannot prevent the launch; it is reactive.
- ✗
Use AWS CloudTrail to monitor ec2:RunInstances events and send alerts.
Why it's wrong here
CloudTrail only records events, it does not enforce restrictions.
Go deeper
Related to this question
About these practice questions
This ANS-C01 question is part of Courseiva's 1,621-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 →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This ANS-C01 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 ANS-C01 exam.