200-901 exam dumps

200-901 practice question 22 of 204

Cisco DevNet Associate. Associate level, Cisco. Free question with the correct answer and a full explanation.

200-901 Question 22

Single answer

You are working on a Python automation project hosted in a Git repository. Your team requests you to create a local copy of the repository on your system to contribute to the project. Which Git command should you use to accomplish this?

  1. A
  2. B
  3. C
  4. D
Show answer and explanation

Correct answer: B

Explanation

'git clone' is the appropriate command to create a local copy of a remote Git repository. It clones all the files, branches, and commit history from the remote repository to your local machine, enabling you to work on the project locally.

  • A. Incorrect.

    This is incorrect because 'git copy' is not a valid Git command.

  • B. Correct.

    This is correct because 'git clone' is the command used to create a local copy of a remote repository.

  • C. Incorrect.

    This is incorrect because 'git init' initializes a new, empty repository and does not fetch an existing repository.

  • D. Incorrect.

    This is incorrect because 'git fetch' only retrieves changes from a remote repository but does not create a local copy of the repository.

Timed practice exam

Take a 200-901 practice test under exam conditions

75 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam