Microsoft DevOps Engineer Expert AZ-400 Practice Question

A development team is migrating a four-year-old Git repository that contains roughly 8 GB of Photoshop (PSD) and PNG assets to Azure Repos. During a trial push, the operation is rejected because several objects are larger than 100 MB. The team must preserve the assets in the repository history, reduce clone size, and allow future pushes of the same file types without further rejections or manual steps. Which approach should you recommend?

  • Install git-fat on developer machines so that large files are stored outside Git when the repository is pushed to Azure Repos.

  • Use a sparse checkout to exclude the graphics directory locally, then push the existing repository to Azure Repos.

  • Split the repository with git filter-repo and keep the binary assets only on a separate branch before pushing.

  • Rewrite the repository with git lfs migrate import to convert *.psd and *.png files to LFS pointers, then push to Azure Repos with Git LFS enabled.

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