Free 701-100 Exam Braindumps (page: 4)

Page 3 of 16

The file index.php, which is being maintained in a git repository, was changed locally and contains an error. If the error has not been committed to the repository yet, which of the following git commands reverts the local copy of index.php to the latest committed version in the current branch?

  1. git lastver – index.php
  2. git revert – index.php
  3. git checkout – index.php
  4. git clean – index.php
  5. git repair – index.php

Answer(s): B


Reference:

https://git-scm.com/docs/git-revert



Which of the following statements are true about Jenkins? (Choose two correct answers.)

  1. Jenkins is specific to Java based applications.
  2. Jenkins can delegate tasks to slave nodes.
  3. Jenkins only works on local files and cannot use SCM repositories.
  4. Jenkins’ functionality is determined by plugins.
  5. Jenkins includes a series of integrated testing suites.

Answer(s): B,E



Which of the following information is contained in the output of git status? (Choose three correct answers.)

  1. Changed files that will not be part of the next commit.
  2. Locked files which cannot be edited until the lock is released.
  3. Changed files that will be part of the next commit.
  4. Unchanged files which have not been edited locally.
  5. Untracked files which are not subject to version control.

Answer(s): C,D,E



What happens when a merge conflict occurs in git? (Choose two correct answers.)

  1. The conflicting files remain unchanged in the local repository.
  2. Conflict markers are added to the files.
  3. A new branch containing the remote changes is created.
  4. The affected files are flagged as conflicting.
  5. The newest version is placed in the local repository.

Answer(s): D,E






Post your Comments and Discuss LPI 701-100 exam with other Community members:

701-100 Discussions & Posts