Your organization wants to implement 'Approval Rules' for pull requests in AWS CodeCommit. They want to ensure that any change to the 'Production' branch requires at least two approvals from a specific IAM group. How can you automate this enforcement?

Direct Answer (Verified)Reviewed by Sunny (Senior Cloud Engineer)

Correct Answer: Create a CodeCommit Approval Rule Template and associate it with the repository

Approval rule templates allow you to define and enforce approval requirements for pull requests automatically across one or more repositories....

📋Part of AWS Certified DevOps Engineer – Professional (DOP-C02) · AWS Certification Practice
Real Exam ScenarioScenario Based

Your organization wants to implement 'Approval Rules' for pull requests in AWS CodeCommit. They want to ensure that any change to the 'Production' branch requires at least two approvals from a specific IAM group. How can you automate this enforcement?

✓ Correct Answer & ExplanationScenario Based

Correct Answer

Create a CodeCommit Approval Rule Template and associate it with the repository

Why This Answer Is Correct

Approval rule templates allow you to define and enforce approval requirements for pull requests automatically across one or more repositories.

📚 What This Question Tests

This question evaluates your knowledge of Scenario Based — a core concept tested in AWS Certified DevOps Engineer – Professional (DOP-C02). Understanding Scenario Based is essential for designing scalable, secure, and cost-effective cloud architectures. Mastery of this topic will help you answer scenario-based questions confidently on exam day.