exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 5 question 48 discussion

Actual exam question from Microsoft's AZ-400
Question #: 48
Topic #: 5
[All AZ-400 Questions]

DRAG DROP
-

You have a large repository named Repo1 that contains a directory named directory1.

You plan to modify files in directory1.

You need to create a clone of Repo1. The solution must minimize the amount of transferred data.

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.

Show Suggested Answer Hide Answer
Suggested Answer:

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
kdawg96
Highly Voted 1 year, 2 months ago
Correct solution should be: scalar clone (Repo1 is a "large repository", so scalar is more appropriate) git sparse-checkout (to be able to see additional directories beyond the root of the repo since 'scalar clone' without any additional parameters has sparse-checkout enabled to minimize data transferred) Source: https://github.com/microsoft/git/blob/665fcd50013e4847ea0f9522dd6db8ef3de820ad/contrib/scalar/docs/getting-started.md#creating-a-new-scalar-clone
upvoted 22 times
...
SharpZx
Highly Voted 1 year, 2 months ago
First one should be scalar clone. Similar question #33 in Topic 5. 1. scalar clone 2. git sparse-checkout
upvoted 9 times
...
FeriAZ
Most Recent 9 months ago
1. Scalar run: Scalar is a relatively new tool designed to improve working with large Git repositories on platforms like GitHub. The scalar run command is the primary way to interact with Scalar. scalar run acts like a replacement for git clone 2. git sparse-checkout: git sparse-checkout is a built-in Git feature that allows you to selectively download and work with a subset of files and directories from a repository.
upvoted 3 times
...
ozbonny
9 months, 2 weeks ago
scalar sparse-checkout
upvoted 1 times
...
vsvaid
11 months, 3 weeks ago
scalar clone url git sparse-checkout set
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...