AWS Certified Developer Associate DVA-C02 Practice Question
A development team is working on a new feature in a project hosted in AWS CodeCommit. They want to ensure that any changes pushed to the master branch have been reviewed and approved by at least two team members before being merged. Which feature in CodeCommit can they utilize to enforce this requirement?
Requiring a pre-signed commit policy on the master branch
Implementing stage locking on the master branch
Configuring a pull request approval rule in CodeCommit for the master branch
Pull request approvals are a feature in AWS CodeCommit that teams can use to enforce code review policies. By requiring a certain number of approvals before changes can be merged into a particular branch, like the master branch, teams can ensure that multiple team members have reviewed the changes. Branch protections in other services, such as GitHub, may offer similar functionality but are not the correct answer here because the scenario specifically involves AWS CodeCommit. The pre-signed commit policy is not applicable here, as it is not a feature of AWS CodeCommit. Lastly, the concept of 'stage locking' does not directly apply to Git-based version control systems and thus is incorrect in this context.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What are AWS CodeCommit pull request approval rules?
Open an interactive chat with Bash
What is the difference between pull request approval rules and branch protections?
Open an interactive chat with Bash
Why is a pre-signed commit policy not applicable to this scenario?
Open an interactive chat with Bash
AWS Certified Developer Associate DVA-C02
Deployment
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .