exam questions

Exam 200-901 All Questions

View all questions & answers for the 200-901 exam

Exam 200-901 topic 1 question 20 discussion

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

What is the Git command to delete a local branch named `experiment` without a warning?

  • A. git branch ג€"rm experiment
  • B. git branch ג€"n experiment
  • C. git branch ג€"f experiment
  • D. git branch ג€"D experiment
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
anonymous1966
Highly Voted 1 year, 2 months ago
Question without special chars: What is the Git command to delete a local branch named “experiment” without a warning? A. git branch -rm experiment B. git branch -n experiment C. git branch -f experiment D. git branch -D experiment
upvoted 11 times
...
aplicacion101
Most Recent 6 months, 2 weeks ago
Selected Answer: D
git branch -d experiment -> delete branch, but it exist conflics or problems, it does't git branch -D experiment -> delete branch without confirm or warning. D is correct
upvoted 3 times
...
netlol
7 months, 3 weeks ago
does the -rm and -n even exist? I didn't find those tho
upvoted 1 times
...
macxsz
1 year ago
Selected Answer: D
Its actually -d according to the book, but D is the only one close to it
upvoted 1 times
nospampls
6 months, 1 week ago
D is correct becouse if the "without a warning" part in the question.
upvoted 1 times
...
...
designated
1 year, 3 months ago
git branch -D <branch>
upvoted 1 times
...
nderim
1 year, 4 months ago
D is correct
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 ...