Microsoft DevOps Engineer Expert AZ-400 Practice Question

You maintain a 130 GB mono-repository hosted in Azure Repos Git. Developers complain that simple commands such as git status and git log become progressively slower a few weeks after cloning, even though local disk space is still sufficient. You decide to use the open-source Scalar tool to keep each developer clone performant without asking engineers to remember periodic maintenance steps. Which action should you perform on every existing clone to achieve this goal?

  • Execute "scalar register" in the root of each local repository.

  • Re-clone the repository by using "scalar clone --single-branch".

  • Increase core.preloadIndex to true and raise pack.windowMemory.

  • Set the configuration value gc.auto to 0 in every clone.

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