Skip to content

Design and implement a source control strategy Questions

Practice questions for Design and implement a source control strategy topic in Microsoft Certified: DevOps Engineer Expert. 24 questions covering this domain.

24 questions9 easy11 medium4 hard
Q1
medium

A product team needs a branch dedicated to release stabilization while continuing new work on main. When a hotfix is made in the release branch, what ...

Q2
easy

Which GitHub protected branch rule can directly prevent a merge until a deployment succeeds?

Q3
medium

A DevOps engineer wants a branching model that keeps integration friction low and encourages pull requests into a protected main branch after short-li...

Q4
hard

A platform team is building a long-lived integration that should use short-lived credentials and operate independently of a user account. Which GitHub...

Q5
medium

A team wants pull requests into a critical branch to require peer review, linked work items, a passing build, and restricted merge behavior. Which Azu...

Q6
easy

Which type of Git tag does the Azure Repos web portal create when you create a tag in the browser interface?

Q7
medium

A platform team needs an automation identity that can authenticate to multiple GitHub repositories without using a developer's personal access token. ...

Q8
hard

A team adopts trunk-based development on a monorepo and must still be able to ship work-in-progress code to production safely. Which practice does Mic...

Q9
medium

A repository owner wants specific reviewers automatically requested whenever files in a given folder change. Which file controls this behavior?

Q10
easy

What is the primary purpose of Git Large File Storage (Git LFS)?

Q11
medium

A team wants Azure Repos build validation results on a pull request to expire after 12 hours so that stale builds no longer satisfy the policy. Which ...

Q12
easy

Which two long-lived branches define the GitFlow branching model?

Q13
medium

A developer accidentally committed a file containing a database password directly to a public GitHub repository. The file has since been removed from ...

Q14
medium

A team is evaluating how to manage extremely large Git repositories (multiple GBs of history) that cause slow clones. Which Microsoft-documented tool ...

Q15
hard

A monorepo contains 15 microservices. The team wants CI pipelines to trigger only when files relevant to a specific microservice change, not on every ...

Q16
easy

Which feature in GitHub allows an organization to define standard repository configurations such as default branch protection rules and required files...

Q17
easy

Which Git command removes a file from the index and the working tree so that it is no longer tracked?

Q18
medium

An Azure Repos branch policy requires a minimum of two reviewers, but a senior engineer sometimes needs to bypass the policy for hotfixes. How can the...

Q19
hard

A growing organization is considering whether to use a monorepo or a multi-repo strategy for 30 microservices. The team values independent versioning ...

Q20
easy

Which Azure Repos permission level allows a user to read repository contents, clone, and fetch, but not push commits?

Sign in to see all 24 questions

Create a free account to browse all questions — completely free during our launch phase.