MicrosoftMicrosoft
AZ-400 · Question #528
AZ-400 Question #528: Real Exam Question with Answer & Explanation
Sign in or unlock AZ-400 to reveal the answer and full explanation for question #528. The question stem and answer options stay visible for context.
Submitted by rohit_dlh· Mar 6, 2026Design and implement source control
Question
You manage source control by using GitHub. You have a file named Data.txt that contains sensitive data. A user pushes Data.txt to a repository. You need to purge the file from the repository. Which two commands can you use? Each correct answer presents a complete solution. NOTE: Each correct solution is worth one point.
Options
- Agit checkout
- Bgit checkout
- Cbfg --delete-files data.txt
- Dgit rm data.txt
- Egit filter-repo --invert-paths --path data.txt
- Fgit revert -edit data.txt
Unlock AZ-400 to see the answer
You've previewed enough free AZ-400 questions. Unlock AZ-400 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.