exam questions

Exam 200-901 All Questions

View all questions & answers for the 200-901 exam

Exam 200-901 topic 1 question 503 discussion

Actual exam question from Cisco's 200-901
Question #: 503
Topic #: 1
[All 200-901 Questions]

A developer is working on an existing feature that needs enhancing. The primary production branch for the application is ‘prim4a3b8c6d80374’ and the branch for working on the feature is ‘feat145678909’. The developer needs to create a clone of the single branch used for the feature that only has commits included in the current line of history. Which Git command must be used?

  • A. git clone [url] - -feat145678909 - -single-branch
  • B. git clone [url] - -branch feat145678909 - -single
  • C. git clone [url] - -single-branch feat145678909
  • D. git clone [url] - -branch feat145678909 - -single-branch
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
aurang
8 months, 4 weeks ago
Selected Answer: D
--branch feat145678909 specifies the branch to be cloned. --single-branch option ensures that only the specified branch is cloned, along with its history.
upvoted 1 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 ...