🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: CI/CD with GitHub Actions: all 10 questions

Quiz: CI/CD with GitHub Actions · Question 9 of 10

What do branch protection rules on main give a team?

What do branch protection rules on main give a team?

  1. A.Faster laptops
  2. B.Free CI minutes
  3. C.Automatic code generation
  4. D.Nobody can push untested or unreviewed code straight to main
Answer & explanation

Correct answer: Nobody can push untested or unreviewed code straight to main

Requiring a PR, passing CI and a review blocks risky direct pushes.

Can you get the rest right without peeking?

Take the timed Quiz: CI/CD with GitHub Actions quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →