Microsoft DevOps Engineer Expert AZ-400 Practice Question

A 900-MB customer database dump was accidentally committed to the main branch of an Azure Repos Git repository. Multiple feature branches were created after the commit. You must permanently remove the dump from the entire history of all branches, minimize repository size, and ensure future clones cannot download the file. The solution should require the fewest steps and be compatible with any Git hosting service. Which approach should you recommend?

  • Use git filter-repo to delete the dump from all refs, then force-push the rewritten branches and tags.

  • Commit a deletion of the dump in main and merge or cherry-pick that commit into every feature branch.

  • Revert the commit that added the dump and push the revert with --force to all branches.

  • Run git lfs migrate import to convert the dump to Git LFS, then push the changes.

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