Branch Protection for Security Quiz

5 questions Pass: 70% +25 pts (50 with Pro)

Quiz covering Vulnerability Management

What you'll be asked

  1. What is the primary purpose of enabling branch protection rules on a main development branch?
  2. Which of the following settings is considered a best practice for securing a production branch?
  3. Why should 'Restrict pushes' or 'Require signed commits' be enabled in branch protection?
  4. In a secure CI/CD workflow, why is it important to 'Require status checks to pass before merging'?
  5. When configuring branch protection, what is the security risk of allowing 'Bypass pull request requirements' for administrators?

Answers and explanations come after you submit.