AWS Certified Solutions Architect Professional SAP-C02 Practice Question

A company uses AWS Organizations to manage hundreds of AWS accounts. The security team wants to enforce a standardized set of secure configurations for Amazon S3 buckets across all existing and future accounts within specific Organizational Units (OUs). The solution must centrally manage the deployment of these configurations, automatically apply them to new accounts added to the OUs, and provide a mechanism to detect deviations from the deployed baseline. Which Infrastructure as Code (IaC) approach is the most effective and scalable for meeting these requirements?

  • Use AWS CloudFormation StackSets with service-managed permissions. Define the standard S3 bucket configuration in a template and create a stack set that targets specific OUs with automatic deployment enabled. Periodically run drift detection on the stack set to identify unauthorized changes.

  • Deploy an AWS Config rule and an associated SSM Automation remediation document to all accounts. The rule will detect S3 buckets that do not conform to the standard, and the remediation action will automatically modify the bucket configuration to be compliant.

  • Write an AWS Lambda function in the management account that uses the AWS SDK to create the standard S3 buckets in all member accounts. Schedule the function to run periodically to check for and revert any configuration changes.

  • Establish a CI/CD pipeline that iterates through a list of all member accounts and executes an aws cloudformation deploy command in each account using a standard template. Manually update the account list and re-run the pipeline when new accounts are created.

AWS Certified Solutions Architect Professional SAP-C02
Design for New Solutions
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot