CertLumen

Microsoft DevOps Engineer Expert (AZ-400) · Section 2 · 13% of the exam

Design a strategy for scaling and optimizing a Git repository, including Scalar and cross-repository sharing

One of the objectives of the Exam AZ-400: Designing and Implementing Microsoft DevOps Solutions exam, in the section “Design and implement a source control strategy”. Here is what it covers, the points to remember and a question to try.

What it covers

Git stores every version of every file forever, so big binaries and huge histories slow everyone down. This lesson covers Git LFS and git-fat, the size limits of Azure Repos and GitHub, Scalar, partial and sparse clones, ways to share code across repositories, and how to configure repository and branch permissions in Azure DevOps and GitHub.

Points to remember

  • Git stores full copies of changed binaries; use Git LFS for large changing binaries, Azure Artifacts for dependencies, never commit build output.
  • LFS replaces files with pointers (version, oid, size); install the LFS client and commit .gitattributes first.
  • Azure Repos LFS: free, no SSH for LFS-tracked repos; LFS objects do not count toward the 5 GB push limit.
  • Azure Repos guidance: repo under 250 GB (aim for 10 GB), files under 100 MB, pushes under 5 GB; Maximum file size policy blocks big files.
  • git-fat is a legacy alternative needing its own rsync or cloud store; Git LFS is the native platform choice.

Try a question

In Azure DevOps, which default group can create branches and tags in a Git repository but cannot edit branch policies or manage permissions?

  1. AContributors
  2. BReaders
  3. CProject Collection Valid Users
  4. DProject Administrators
Show the answer

A. By default Contributors have Contribute, Create branch, Create tag and Manage notes. Edit policies, Manage permissions and repository creation or deletion belong to Project Administrators.

Written for practice in the style of the exam: never a question from the real exam.

In the course

The lesson Large files, repository scaling and permissions teaches this objective (about 45 minutes), and 15 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

← Previous objective · All 86 objectives · Next objective →