Microsoft DevOps Engineer Expert (AZ-400) · Section 4 · 13% of the exam
Design and implement permissions and roles in GitHub
One of the objectives of the Exam AZ-400: Designing and Implementing Microsoft DevOps Solutions exam, in the section “Develop a security and compliance plan”. Here is what it covers, the points to remember and a question to try.
What it covers
Authentication says who you are; authorization says what you may do. This lesson covers GitHub organization and repository roles, outside collaborators, Azure DevOps security groups and permission states, access levels such as Stakeholder, and how to structure Azure DevOps projects and teams.
Points to remember
- GitHub repository roles from least to most: Read, Triage, Write, Maintain, Admin; custom repository roles need GitHub Enterprise Cloud.
- An outside collaborator is not an organization member and is granted specific repositories; use teams for members.
- GitHub also has the security manager organization role for viewing and managing alerts without full ownership.
- Azure DevOps authorization = security groups/permissions plus access levels; both are required.
- Key groups: Project Collection Administrators, Project Administrators, Contributors, Readers; Deny beats Allow, Not set is an implicit deny.
Try a question
Contoso has 12 product teams and plans Azure DevOps. Only the payments product handles regulated data and must have pipelines, service connections and repositories that other teams cannot reach. Other teams share a common backlog hierarchy. Which structure is best?
- AOne project for the regular teams with a team per product, plus a separate project for payments
- BA separate project for every team, so that each team has its own pipelines and its own repositories
- CA single project for everything, using teams as the security boundary
- DOne organization per team, linked by the same Entra tenant
Show the answer
A. Microsoft recommends fewer projects and using teams, area paths and permissions inside them, creating separate projects only for hard isolation, different process or different security needs.
Written for practice in the style of the exam: never a question from the real exam.
In the course
The lesson Permissions, roles, access levels and projects teaches this objective (about 50 minutes), and 9 practice questions test it. The course has lessons, exam-style questions, timed practice exams and an AI tutor for every objective, and a pass prediction that tells you when you're ready to book.
More in this section
- Choose between Microsoft Entra service principals and managed identities for Azure resources (system-assigned and user-assigned)
- Implement and manage GitHub authentication, including GitHub Apps, GITHUB_TOKEN, and personal access tokens
- Implement and manage Azure DevOps service connections and personal access tokens
- Design and implement permissions and security groups in Azure DevOps
- Recommend appropriate access levels, including stakeholder access in Azure DevOps and outside collaborator access in GitHub
- Configure projects and teams in Azure DevOps
- Implement and manage secrets, keys, and certificates by using Azure Key Vault
- Implement and manage secrets and secretless authentication (for example, workload identity federation/OpenID Connect) in GitHub Actions and Azure Pipelines
- Design and implement a strategy for managing sensitive files during deployment, including Azure Pipelines secure files
- Design pipelines to prevent leakage of sensitive information
- Design a strategy for security and compliance scanning, including dependency, code, secret, and licensing scanning
- Configure Microsoft Defender for Cloud DevOps Security