CS FundamentalsHardProduct-company placement

A company debates a monorepo (all services in one repository) against one repository per service. Which statement is the strongest argument FOR the monorepo?

  1. A. It removes the need for code review, because all the code is visible to all
  2. B. It makes repository permissions finer-grained, separately for each service
  3. C. A library and all its callers can change together in one atomic commit
  4. D. Builds are always faster, because each service then has less code to compile

Correct answer: C. A library and all its callers can change together in one atomic commit

Atomic cross-project changes and one version of shared code are the main monorepo benefits. The costs are tooling for scale (selective builds, sparse checkout) and coarser access control, so faster builds and finer permissions are not its strengths.

More Software Engineering, Git and Cloud Basics questions

Exams that ask this topic