Microsoft DevOps Engineer Expert AZ-400 Practice Question
Your GitHub Enterprise Cloud organization hosts dozens of repositories. You need to create a reusable team that can create and edit branch protection rules and also add and rotate GitHub Actions repository secrets. The team must be prevented from changing repository visibility, deleting repositories, or managing collaborators. Which built-in repository role should you assign to the team to meet these requirements while following the principle of least privilege?
The maintain role is designed for advanced repository management without granting destructive or high-risk capabilities. Users with maintain permissions can manage branch protection rules, repository secrets, tags, and releases, but cannot delete or transfer the repository, change its visibility, or manage collaborator access. Write permission cannot modify branch protection or secrets, triage is limited to triage tasks, and admin exceeds the required scope by including full destructive and visibility-changing rights. Therefore, maintain is the minimal role that satisfies the scenario.
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.
Can you explain what branch protection rules are in GitHub?
Open an interactive chat with Bash
What are GitHub Actions repository secrets, and why are they important?
Open an interactive chat with Bash
What does 'principle of least privilege' mean in the context of GitHub roles?
Open an interactive chat with Bash
What is a GitHub repository role?
Open an interactive chat with Bash
What are branch protection rules?
Open an interactive chat with Bash
How does the 'Maintain' role differ from the 'Admin' role?
Open an interactive chat with Bash
Microsoft DevOps Engineer Expert AZ-400
Develop a security and compliance plan
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 .