Question 180
During an operational security assessment at a public-sector technology agency, the team documents this issue: A large repository's file watcher spends minutes indexing unrelated business units. The affected delivery process supports citizen applications and reusable infrastructure; accountability and service availability depend on controlled delivery. Choose TWO statements that provide both the appropriate correction and a meaningful test of its success. (Select TWO.)
Explanation
Correct Answers
Correct corrective action. Use partial clone and sparse-checkout or supported Scalar workflows to reduce download and working-tree cost for large monorepos. The action targets the recorded failure (A large repository's file watcher spends minutes indexing unrelated business units), and is intended to reduce the corresponding risk: Unnecessary object downloads and checkout of unrelated trees prevent productive contribution at enterprise scale.
Correct verification. A new developer checks out a targeted component with required history while repository transfer and disk use are reduced. The measurement or controlled test provides evidence for the issue (A large repository's file watcher spends minutes indexing unrelated business units) and complements the selected corrective action rather than simply repeating a recommendation.
Incorrect Answers
Fresh clones retrieve a small Git history and obtain the correct asset through LFS tracking, including a prior tagged version. The paired controls concern git repository scaling with partial clone, not that measure.
Use repository CODEOWNERS rules with protected branch required code-owner reviews for sensitive paths such as deployment workflows and infrastructure. It is not the complementary risk control for git repository scaling with partial clone.
Use a controlled repository dependency strategy with pinned submodule revisions or versioned packages and documented update procedures. The two-part git repository scaling with partial clone control remains unsatisfied.