CS FundamentalsHardProduct-company placement · Git

A CI job clones a huge repository with git clone --filter=blob:none. Which statement is correct?

  1. A. Only the latest commit is fetched, so git log shows a single commit
  2. B. Large files are skipped and replaced by LFS pointers automatically
  3. C. Nothing is fetched until a sparse-checkout pattern has been configured
  4. D. Full history arrives, but file contents download lazily, e.g. at checkout

Correct answer: D. Full history arrives, but file contents download lazily, e.g. at checkout

A blobless partial clone has full history (commits and trees) but fetches blobs lazily from the remote. That differs from a shallow clone (--depth), which cuts history, and from LFS, which needs explicit tracking.

More Software Engineering, Git and Cloud Basics questions

Exams that ask this topic