nerdexam
Microsoft

AZ-400 · Question #179

Drag and Drop Question You have an Azure Repos repository that contains large PSD files. You need to configure Git LFS to manage all the files. How should you complete the script? To answer, drag the

The correct answer is git lfs install; git lfs track "*.psd"; git add .gitattributes; git commit -m "track *.psd files using Git LFS"; git push. The correct script follows the standard Git LFS setup workflow: 'git lfs install' initializes LFS in the repository, 'git lfs track "*.psd"' registers the PSD file pattern in .gitattributes, 'git add .gitattributes' stages the tracking configuration, 'git commit' saves the config

Submitted by salim_om· Mar 6, 2026Configure source control - specifically setting up Git Large File Storage (LFS) to manage binary and large files in Azure DevOps repositories

Question

Drag and Drop Question You have an Azure Repos repository that contains large PSD files. You need to configure Git LFS to manage all the files. How should you complete the script? To answer, drag the appropriate values to the correct targets. Each value may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content. NOTE: Each correct selection is worth one point. Answer:

Exhibits

AZ-400 question #179 exhibit 1
AZ-400 question #179 exhibit 2

Answer Area

Drag items

git fetchgit lfs config add ".psd"git lfs migrate import --include="*.psd" --everythinggit lfs track "*.psd"git lfs updategit push

Correct arrangement

  • git lfs install
  • git lfs track "*.psd"
  • git add .gitattributes
  • git commit -m "track *.psd files using Git LFS"
  • git push

Explanation

The correct script follows the standard Git LFS setup workflow: 'git lfs install' initializes LFS in the repository, 'git lfs track "*.psd"' registers the PSD file pattern in .gitattributes, 'git add .gitattributes' stages the tracking configuration, 'git commit' saves the configuration, and 'git push' uploads everything to Azure Repos. This sequence ensures LFS tracking is properly configured and persisted in the remote repository before any large files are pushed.

Topics

#Git LFS#Azure Repos#Source Control#Repository Management

Community Discussion

No community discussion yet for this question.

Full AZ-400 Practice