exam questions

Exam 200-901 All Questions

View all questions & answers for the 200-901 exam

Exam 200-901 topic 1 question 483 discussion

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

When changes are made to the same file across two branches, which git status is shown when the branches are combined?

  • A. unmerged
  • B. uncommitted
  • C. conflict
  • D. branched
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
herrmann69
9 months, 4 weeks ago
Selected Answer: A
$ git merge master Auto-merging testfile CONFLICT (content): Merge conflict in testfile Automatic merge failed; fix conflicts and then commit the result. $ git status On branch branch1 You have unmerged paths. (fix conflicts and run "git commit") (use "git merge --abort" to abort the merge) Unmerged paths: (use "git add <file>..." to mark resolution) both modified: testfile no changes added to commit (use "git add" and/or "git commit -a") from git status --help: When a merge conflict has occurred and has not yet been resolved, X and Y show the state introduced by each head of the merge, relative to the common ancestor. These paths are said to be unmerged.
upvoted 4 times
...
lmqnam
1 year ago
Selected Answer: A
I choose A. Basic Merge Conflicts in https://git-scm.com/book/en/v2/Git-Branching-Basic-Branching-and-Merging
upvoted 3 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 ...