exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 5 question 27 discussion

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

DRAG DROP
-

You have a GitHub repository that contains the code for an app named App1.

App1 depends on a library of functions from a repository at https://github.com/contoso/afeed.

You need to keep a clone of the afeed repository as a subdirectory of the App1 repository.

How should you complete the Git command? 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
prodev1995
Highly Voted 1 year, 11 months ago
The correct solution is : git submodule add Please check the following link : https://git-scm.com/book/en/v2/Git-Tools-Submodules
upvoted 50 times
...
crymo99
Highly Voted 1 year, 11 months ago
I think this should be : git submodule add ...
upvoted 9 times
memoor
1 year, 11 months ago
To add a new submodule you use the git submodule add command with the absolute or relative URL of the project you would like to start tracking
upvoted 3 times
...
...
Rabi3
Most Recent 3 weeks, 3 days ago
The correct solution is : git submodule add
upvoted 1 times
...
Thameur01
1 month, 3 weeks ago
git submodule add
upvoted 1 times
...
AnishGS
9 months, 3 weeks ago
git submodule add https://github.com/contoso/afeed.git path/to/afeed
upvoted 2 times
...
vsvaid
1 year ago
correct solution git submodule add
upvoted 1 times
...
flafernan
1 year, 4 months ago
the correct command: git submodule add https://github.com/contoso/afeed afeed
upvoted 3 times
...
zellck
1 year, 7 months ago
1. submodule add https://git-scm.com/book/en/v2/Git-Tools-Submodules Let’s start by adding an existing Git repository as a submodule of the repository that we’re working on. To add a new submodule you use the git submodule add command with the absolute or relative URL of the project you would like to start tracking.
upvoted 6 times
...
mrg998
1 year, 11 months ago
its git submodule add - look here https://git-scm.com/book/en/v2/Git-Tools-Submodules
upvoted 3 times
...
Wengatz
1 year, 11 months ago
"git clone branch" is not a valid git command. I believe the correct answer is "git submodule add" https://git-scm.com/book/en/v2/Git-Tools-Submodules
upvoted 8 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 ...