GH-900 Practice Test

GH-900 Practice Test practice questions, page 2 of 6, with answer review and explanations.

Question 6

What is the difference between Git and GitHub?

  1. Git is a command-line tool for tracking file changes, while GitHub is a platform for collaborating on Git repositories.
  2. Git and GitHub are different names for the same tool that is used for version control and collaboration.
  3. Git is a cloud-based hosting service, while GitHub is a distributed version control system.
  4. Git is a centralized version control system, while GitHub is a cloud-based collaboration platform

Question 7

What type of operations has Git been optimized for?

  1. local file manipulation and offline work
  2. remote collaboration and real-time editing
  3. cloud-based operations and synchronization
  4. web development and browser-based coding

Question 8

Which version control system is GitHub built on top of?

  1. Subversion
  2. Mercurial
  3. Git
  4. Perforce

Question 9

What command should you type to create and switch over to a new branch?

  1. git checkout -n newBranchName
  2. git checkout -b newBranchName
  3. git checkout newBranchName
  4. git branch newBranchName

Question 10

The difference between GitHub Enterprise Server (GHES) and GitHub Enterprise Cloud is that GHES:

  1. includes authentication with SAML single sign-on and access provisioning with SAML or SCIM.
  2. can be deployed on both Windows and Linux.
  3. cannot enable rate limiting.
  4. is a self-hosted solution that allows organizations to have full control over their infrastructure.