Easy1 markMultiple Choice
Domain 1.4: Multi-Account EnvironmentMulti-AccountOrganizationsSCP

AWS SAP-C02 · Question 17 · Domain 1.4: Multi-Account Environment

In an AWS Organizations setup, the management account needs to ensure that no member account can launch EC2 instances outside of the us-east-1 and eu-west-1 regions. How should this be enforced?

Answer options:

A.

Use AWS IAM policies attached to all users in the member accounts.

B.

Create a Service Control Policy (SCP) denying the ec2:RunInstances action with a condition restricting the aws:RequestedRegion.

C.

Use AWS Config rules to terminate instances launched in unauthorized regions.

D.

Configure VPC endpoints to only allow traffic to authorized regions.

How to approach this question

Look for the preventative control mechanism in AWS Organizations.

Full Answer

B.Create a Service Control Policy (SCP) denying the ec2:RunInstances action with a condition restricting the aws:RequestedRegion.✓ Correct
Service Control Policies (SCPs) are used in AWS Organizations to enforce preventative guardrails, such as restricting the regions where resources can be deployed.

Common mistakes

Using IAM policies, which do not provide organizational-level enforcement.

Practice the full AWS Solutions Architect Professional SAP-C02 Practice Exam 6

75 questions · hints · full answers · grading

More questions from this exam