You must clone a 1 TB Azure Repos repository named repo1. You need to be able to search the commit history under the /src directory while minimizing clone time. Which git command should you run?
Choose an answer
Tap an option to check your answer.
Correct answer: git clone --filter=blob:none git@ssh.dev.azure.com:v3/org/Project1/repo1.
Why this is the answer
The correct answer is git clone --filter=blob:none git@ssh.dev.azure.com:v3/org/Project1/repo1. This command uses Git's partial clone feature to download only the necessary tree and commit objects, omitting the actual file contents (blobs). This significantly reduces the amount of data transferred, minimizing clone time, while still allowing you to browse the full commit history and directory structure, including the /src directory. git clone --depth=1 would create a shallow clone, which only downloads the most recent commit. This would prevent you from searching the full commit history, making it incorrect. git clone git@ssh.dev.azure.com.com:v3/org/Project1/repo1 performs a full clone, downloading all history and file contents, which would be very slow for a 1 TB repository. git clone --filter=true:0 is not a valid filter specification for Git and would likely result in an error or unexpected behavior.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed