# AZ-400 — Question 859

**Type:** hot_area
**Topics:** git, repository_optimization, source_control

## Question

HOTSPOT
-

You use Git for source control.

You need to optimize the performance of a repository. The solution must meet the following requirements:

• Permanently remove all items referenced only in the reflog.
• Remove history that is NOT in any current branch.

How should you complete the command? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

//IMG//

## Correct Answer

_See scenario._

**Reference:** examtopics_top_comment

---
Source: https://hiexam.net/q/microsoft/AZ-400/859  
Practice (tracked): https://hiexam.net/study/AZ-400/practice