exam questions

Exam 200-901 All Questions

View all questions & answers for the 200-901 exam

Exam 200-901 topic 1 question 10 discussion

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

What is an advantage of a version control system?

  • A. facilitates resolving conflicts when merging code
  • B. ensures that unit tests are written
  • C. prevents over-writing code or configuration files
  • D. forces the practice of trunk-based development
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
TroyMcLure
Highly Voted 4 years, 5 months ago
What's wrong with "C. prevents over-writing code or configuration files"?
upvoted 8 times
cat9105axi
4 years, 5 months ago
I agree on "C"
upvoted 9 times
DenskyDen
4 years, 1 month ago
It should be A.
upvoted 4 times
...
...
blinksink
4 years, 4 months ago
Pulling a branch from a remote repo will overwrite your local working directory, so no it should be A
upvoted 9 times
...
Ihasia
4 years, 1 month ago
Going with A
upvoted 5 times
...
...
Ash_211
Most Recent 7 months, 3 weeks ago
I think its A. You cannot completely prevent over-writing files in Git. It can be rolled back through but you can still overwrite existing files with a commit. So this is not completely preventable. Therefore A. It does facilitate with merging (although in some cases human intervention required if 2 people working on the same file and conflicts are there - git will notify when that's required)
upvoted 4 times
...
designated
7 months, 3 weeks ago
A is correct. [..] If you have a team of developers working on a project, all writing new code or changing previously written code, losing those files could set you back weeks or months. Version control can protect your code by allowing changes to be checked in (through a process known as a code commit) to a hierarchical tree structure of folders with files in them. You often don’t know what a developer might need to change or has changed, but the version control system does. Each check-in is tagged with who made the change and what the person changed within the code. Instead of using inefficient techniques such as file locking, a version control system handles concurrent check-ins, allowing two programmers to commit code at the same time. [..] Another aspect of a version control system is the ability to branch and merge code built independently. This is very useful if you are writing code on a part of an application that could conflict with another part written by another team. Page 170 CCNA DevNet (DEVASC) - 200-901
upvoted 4 times
...
Niki_nik
2 years, 8 months ago
Selected Answer: A
Benefits of version control systems. Using version control software is a best practice for high performing software and DevOps teams. Version control also helps developers move faster and allows software teams to preserve efficiency and agility as the team scales to include more developers.
upvoted 1 times
...
macxsz
2 years, 11 months ago
Selected Answer: A
It should be A
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago