How to Automatically Deploy Baseline Resources to New AWS Accounts Using CloudFormation StackSets
A company manages multiple AWS accounts under AWS Organizations. The SysOps administrator needs to deploy a baseline set of AWS Config rules and an Amazon SNS topic to each account in the organization. The deployment must be centrally managed from the management account and automatically applied to any new member account added in the future. Which solution should the administrator use?
Quick Answer
The correct solution is to create an AWS CloudFormation StackSet with the template containing the AWS Config rules and SNS topic, then configure the StackSet to deploy to the organization and enable automatic deployment to new accounts. This works because StackSets allow you to centrally manage infrastructure across multiple accounts and Regions from a single management account, and when you enable automatic deployment for an organization or organizational unit, any new member account added to AWS Organizations is automatically targeted by the StackSet. On the SOA-C02 exam, this scenario tests your understanding of how to enforce governance at scale without manual intervention, and a common trap is choosing Service Catalog or a simple CloudFormation stack, which lack the automatic targeting of new accounts. Remember the key phrase: StackSets + Organizations + automatic deployment = hands-off baseline compliance.
⚠ Common exam trap
It's easy for candidates to confuse Service Control Policies (SCPs) with resource enforcement, not realizing that SCPs only control permissions and cannot create or configure resources like AWS Config rules or SNS topics.
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 an AWS CloudFormation StackSet with the template containing the AWS Config rules and SNS topic. Configure the StackSet to deploy to the organization and enable automatic deployment to new accounts.
AWS CloudFormation StackSets can be deployed to an entire AWS Organizations organization or organizational units (OUs), and they support automatic deployment to new accounts added to the organization. By creating a StackSet with a template that defines the AWS Config rules and SNS topic, and enabling automatic deployment, the administrator ensures that every current and future member account receives the baseline configuration without manual intervention.
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 AWS CloudFormation StackSet with the template containing the AWS Config rules and SNS topic. Configure the StackSet to deploy to the organization and enable automatic deployment to new accounts.
Why this is correct
StackSets deploy a single CloudFormation template across every account in AWS Organizations from the management account, and the automatic deployment setting propagates it to accounts added later. This satisfies both the central management and future-account constraints without per-account scripting.
- ✗
Use AWS Service Catalog to create a product that bundles the AWS Config rules and SNS topic. Grant each account access to launch the product.
Why it's wrong here
Service Catalog requires each account to launch the product manually, so new member accounts receive nothing automatically. It tempts as a governed, centrally curated catalogue, and suits self-service provisioning by approved users, but the stem demands automatic application on account creation.
- ✗
Configure AWS Config conformance packs in the management account and use AWS Resource Access Manager to share them with member accounts.
Why it's wrong here
Conformance packs are deployable artefacts, not shareable resources; RAM shares resources such as subnets and License Manager configurations, not Config rules. It tempts because conformance packs bundle Config rules, but central deployment needs a StackSet targeting the organization.
- ✗
Create an AWS Organizations Service Control Policy (SCP) that enforces the creation of AWS Config rules and SNS topics in every account.
Why it's wrong here
SCPs only define permission guardrails; they cannot create AWS Config rules or SNS topics. They tempt as the obvious central Organizations control, and suit restricting services or actions across accounts, but deployment requires a StackSet with service-managed permissions.
Go deeper
Related to this question
About these practice questions
This SOA-C02 question is part of Courseiva's 1,169-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 →
Same concept, more angles
6 more ways this is tested on SOA-C02
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. A company has a multi-account AWS environment using AWS Organizations. The SysOps Administrator needs to deploy a standardized set of baseline resources (VPC, subnets, security groups, and an S3 bucket for logs) into each new member account as soon as the account is created. The administrator wants to automate this process using AWS CloudFormation and ensure that the baseline resources are deployed without manual intervention. The organization uses AWS CloudTrail and AWS Config for governance. What solution should the administrator implement?
hard- ✓ A.Use AWS CloudFormation StackSets with automatic deployment to accounts in the organization.
- B.Create an AWS Config rule that triggers an AWS Lambda function to deploy the baseline resources when a new account is created.
- C.Store the CloudFormation template in Amazon S3 and use S3 event notifications to trigger a Lambda function that deploys the stack into the new account.
- D.Use AWS Service Catalog to create a portfolio with the baseline products and grant access to the organization.
Why A: AWS CloudFormation StackSets with automatic deployment is purpose-built for this scenario: it deploys a single template across multiple accounts in an AWS Organization and can automatically push the stack to new member accounts as they are added. The 'automatic deployment' setting enables StackSets to target the entire OU or organization, so new accounts inherit the baseline resources without manual intervention. This directly satisfies the requirement to deploy VPC, subnets, security groups, and an S3 log bucket into each new account automatically.
Variation 2. A company has multiple AWS accounts managed under AWS Organizations. The SysOps administrator needs to deploy a common AWS CloudFormation template to all accounts in a specific organizational unit (OU), ensuring consistent security group configurations across the organization. Which AWS service should the administrator use to perform this deployment?
medium- ✓ A.AWS CloudFormation StackSets
- B.AWS CodePipeline with cross-account actions
- C.AWS Service Catalog portfolio
- D.AWS Systems Manager Automation
Why A: AWS CloudFormation StackSets extends the functionality of CloudFormation by allowing you to deploy a common template across multiple accounts and regions from a single management account. In this scenario, the administrator can target the specific organizational unit (OU) within AWS Organizations, ensuring consistent security group configurations are applied to all member accounts without manual intervention.
Variation 3. A company uses AWS Organizations with multiple member accounts. The SysOps administrator needs to deploy a common AWS CloudFormation template that creates an IAM role across all member accounts in the organization. Which AWS service should be used to deploy this template across accounts?
medium- ✓ A.AWS CloudFormation StackSets
- B.AWS CodePipeline with cross-account deployment actions
- C.AWS CloudFormation cross-stack references
- D.AWS Service Catalog
Why A: AWS CloudFormation StackSets is the correct service because it extends CloudFormation functionality to deploy templates across multiple accounts and regions from a single management account. StackSets uses a self-managed or service-managed permission model, and with AWS Organizations, it can automatically deploy to all member accounts in the organization or specified organizational units (OUs), making it ideal for deploying a common IAM role across all accounts.
Variation 4. A SysOps administrator is tasked with automating the deployment of an application across multiple AWS accounts. Which AWS service should be used to orchestrate the deployment across accounts?
easy- A.AWS CodeDeploy
- ✓ B.AWS CloudFormation StackSets
- C.AWS Service Catalog
- D.AWS Systems Manager
Why B: AWS CloudFormation StackSets allows a single CloudFormation template to be deployed across multiple AWS accounts and regions from a central administrator account. It is purpose-built for cross-account orchestration, using a service-managed or self-managed permission model to push stacks to target OUs or accounts. This makes it the correct service for automating multi-account deployments.
Variation 5. A SysOps administrator needs to deploy a CloudFormation stack across multiple AWS accounts in an organization using AWS Organizations. The administrator wants to use a single template and a single deployment operation. Which AWS service should be used to centrally manage the deployment?
easy- A.AWS Systems Manager
- B.AWS OpsWorks Stacks
- C.AWS CodePipeline
- ✓ D.AWS CloudFormation StackSets
Why D: AWS CloudFormation StackSets allows you to deploy a single CloudFormation template across multiple AWS accounts and regions with a single operation. It is designed for centralized management of stacks in an organization, leveraging AWS Organizations for automatic deployment to member accounts. This meets the requirement of using one template and one deployment operation across multiple accounts.
Variation 6. A SysOps administrator needs to deploy the same AWS CloudFormation template across multiple AWS accounts and Regions in a single operation. The administrator wants to manage the deployment from a single management account. Which AWS service should the administrator use?
medium- A.AWS CodeDeploy
- B.AWS Elastic Beanstalk
- ✓ C.AWS CloudFormation StackSets
- D.AWS Service Catalog
Why C: AWS CloudFormation StackSets extends the functionality of CloudFormation by allowing you to deploy the same template across multiple accounts and Regions from a single management account. StackSets uses a self-managed or service-managed permission model to create, update, and delete stacks across target accounts in a single operation, making it the correct choice for this multi-account, multi-Region deployment requirement.
You might also like
Similar SOA-C02 questions
- A SysOps administrator is troubleshooting a failed AWS CloudFormation stack creation. The stack includes an Amazon RDS D…
- A company uses AWS CodePipeline to automate its software release process. The pipeline includes a source stage (Amazon S…
- A SysOps administrator is creating a CloudFormation template to provision an Amazon S3 bucket with versioning enabled an…
- A company uses AWS CodeDeploy to deploy an application to an Auto Scaling group. The deployment strategy is set to CodeD…
- A company runs a critical web application on a fleet of EC2 instances behind an Application Load Balancer (ALB) across m…
Written by Johnson Ajibi, MSc IT Security
Security Systems Architect · founder of Courseiva
This SOA-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 SOA-C02 exam.