Microsoft DevOps Engineer Expert AZ-400 Practice Question

Your Azure Repos Git repository has grown to more than 5 GB because several hundred *.mp4 files were committed months ago. Clone and fetch operations are now slow. You must reduce the repository's size while still keeping the videos available in the history through Git Large File Storage (LFS). The solution should rewrite the existing commits with minimal manual effort and require contributors to take only one clear action afterward. Which approach should you recommend?

  • Run "git lfs migrate import --include='*.mp4' --everything" in a local clone, force-push the rewritten branches and tags, then instruct all contributors to reclone the repository.

  • Add *.mp4 entries to .gitattributes, run "git gc --aggressive" on the server, and ask contributors to pull the latest commits.

  • Create a new repository, enable Git LFS, recommit the mp4 files via LFS, and delete the original repository.

  • Enable Scalar on the current repository to virtualize large files and execute "git maintenance run" on all clients.

Microsoft DevOps Engineer Expert AZ-400
Design and implement a source control strategy
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot