AWS Certified DevOps Engineer – Professional (DOP-C02) — Question 296

A DevOps engineer deployed multiple AWS accounts by using AWS Control Tower to support different business, technical, and administrative units in a company. A security team needs the DevOps engineer to automate AWS Control Tower guardrails for the company. The guardrails must be applied to all accounts in an OU of the company's organization in AWS Organizations.

The security team needs a solution that has version control and can be reviewed and rolled back if necessary. The security team will maintain the management of the solution in its OU. The security team wants to limit the type of guardrails that are allowed and allow only new guardrails that are approved by the security team.

Which solution will meet these requirements with the MOST operational efficiency?

Answer options

Correct answer: C

Explanation

Option C is correct because using AWS CodeCommit provides the required version control, code review, and rollback capabilities. Defining AWS::ControlTower::EnableControl at the OU level simplifies management, and automating the deployment via AWS CodePipeline triggered by Amazon EventBridge when changes occur in CodeCommit provides the highest operational efficiency. Option A is less efficient because it uses a standalone CodeBuild project instead of a full pipeline, and Option D uses S3 as a source which lacks native, robust version control features like pull requests and branch reviews compared to CodeCommit.