exam questions

Exam 200-901 All Questions

View all questions & answers for the 200-901 exam

Exam 200-901 topic 1 question 496 discussion

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

A developer is working on a new feature and finds an old piece of code that must be discussed. The developer wants to find the original coders for the code to discuss the issue. Which Git command annotates the listing of the source file with the author that created or last edited a line?

  • A. cat filename | git diff
  • B. git log
  • C. git blame filename
  • D. git reflog
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
sawdog20
7 months, 3 weeks ago
Selected Answer: C
The 'git blame' command shows the revision and author information attached to each line in a given file. This helps in tracking down who last modified each line of code, making it useful for understanding the history of changes and discussing issues related to specific lines with the original coders.
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 ...