SAP-C02 Practice Question: Design Solutions for Organizational Complexity
A company has a multi-account environment with a centralized network account that hosts a transit gateway. Application accounts need to connect to the transit gateway. The network team wants to ensure that only authorized accounts can create attachments. Which method should be used?
⚠ Common exam trap
Many exam-takers confuse service control policies (SCPs) with resource-based policies or RAM, thinking that an SCP can selectively allow specific accounts to create attachments, when in fact SCPs only deny or allow permissions at the account level and cannot grant permissions that the account does not already have via IAM or RAM.
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
✓
Use AWS Resource Access Manager (RAM) to share the transit gateway with authorized accounts.
AWS Resource Access Manager (RAM) allows the network account to share the transit gateway with specific application accounts, enabling them to create attachments without granting them ownership or management of the transit gateway itself. This approach ensures that only authorized accounts can create VPC attachments to the shared transit gateway, as the sharing is controlled at the resource level and can be revoked at any time.
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 Direct Connect to connect each application account to the transit gateway.
Why it's wrong here
Direct Connect is for physical connections, not for sharing.
- ✗
Establish VPC peering connections between each application account and the network account.
Why it's wrong here
VPC peering does not use transit gateway attachments.
- ✓
Use AWS Resource Access Manager (RAM) to share the transit gateway with authorized accounts.
Why this is correct
RAM allows sharing of transit gateways with specific accounts.
- ✗
Create an SCP that denies ec2:CreateTransitGatewayVpcAttachment for all accounts except the network account.
Why it's wrong here
SCPs cannot selectively allow based on account; they deny globally.
Go deeper
Related to this question
About these practice questions
Courseiva writes every SAP-C02 question from scratch — 1,660 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 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.