AWS DevOps Engineer Professional Practice Test

Disable ads (and more) with a membership for a one time $2.99 payment

Prepare for the AWS DevOps Engineer Professional Test. Enhance your skills with flashcards and multiple-choice questions, each offering hints and explanations. Become exam-ready!

Practice this question and more.


How do you implement an AWS Config rule across multiple accounts effectively?

  1. Deploy rules using AWS Management Console

  2. Use on-premise management tools

  3. Utilize CloudFormation StackSets for deployment

  4. Create a self-managed solution for configuration

The correct answer is: Utilize CloudFormation StackSets for deployment

Utilizing CloudFormation StackSets for deployment is an effective method for implementing an AWS Config rule across multiple accounts because StackSets allow you to deploy CloudFormation templates to multiple AWS accounts and regions in a single operation. This feature is particularly beneficial in managing and enforcing consistent configurations across various environments, ensuring that the same rules are applied uniformly without the need for manual intervention in each account. By employing StackSets, you can define your desired configuration through a CloudFormation template, which may contain the necessary definitions for your AWS Config rules. Once the StackSet is created, it provisions the configuration across all targeted accounts and regions, simplifying the management process and enhancing compliance and governance. This approach automates the deployment process, reduces human error, and ensures that any updates to the rules can be efficiently propagated across all accounts. In contrast, manually deploying rules through the AWS Management Console may lead to inconsistencies and requires ongoing manual effort as accounts scale or change. Using on-premises management tools or creating a self-managed solution for configuration would introduce additional complexity and potential inefficiencies compared to the streamlined capabilities provided by StackSets in AWS CloudFormation.