GH-900 Practice Test Questions

74 Questions


A distributed version control system is best described as a system that:


A. Relies on a central server to store the entire project history and allows developers to check out files for editing.


B. Stores project files on a cloud-based server and allows multiple developers to collaborate on the same codebase simultaneously.


C. Ensures each developer has their own local copy of the entire code repository, including the complete project history and metadata.


D. Requires developers to manually track and manage different versions of their files using naming conventions and manual backups.





C.
  Ensures each developer has their own local copy of the entire code repository, including the complete project history and metadata.

Which of the following best describes GitHub flow


A. A branching model that uses feature branches and multiple primary branches


B. A strategy where separate branches are created for each release, and pull requests are used to collaborate on and approve releases


C. A lightweight workflow that allows for safe experimentation with new ideas and collaboration on projects through branching, pull requests, and merging


D. A strict workflow that enforces a linear development process with all changes made directly on the main branch





C.
  A lightweight workflow that allows for safe experimentation with new ideas and collaboration on projects through branching, pull requests, and merging

Workflows can reference actions in:

(Each correct answer presents a complete solution. Choose three.)


A. Any public repository.


B. The same repository as your workflow file.


C. GitHub Packages.


D. An enterprise marketplace


E. A published Docker container image on Docker Hub.





A.
  Any public repository.

B.
  The same repository as your workflow file.

F.
  

What is the primary purpose of creating a security policy in a repository?


A. To ensure that peer code review occurs before new changes are merged


B. To define which types of secrets are blocked with push protection


C. To describe how security vulnerabilities should be responsibly disclosed


D. To customize the repository's Dependabot configuration





C.
  To describe how security vulnerabilities should be responsibly disclosed

Which of the following steps are part of the Codespaces lifecycle?

(Each answer presents a complete solution. Choose three.)


A. Commit


B. Clone


C. Rebuild


D. Rollback


E. Delete


F. Create


G. Install





C.
  Rebuild

E.
  Delete

F.
  Create

What is the minimum access needed to contribute to a repository?


A. Read


B. Triage


C. Maintain


D. D. Write





D.
  D. Write

Which of the following can be performed within GitHub Mobile?


A. Utilizing the mobile device as a self-hosted runner


B. Managing enterprise and organization settings


C. Chat with other GitHub Mobile users via voice calling


D. Forking and cloning repositories


E. Managing notifications from github.com





E.
  Managing notifications from github.com

Which of the following is a primary goal of GitHub's community?


A. Exclusively supporting experienced developers


B. Creating a competitive environment for developers


C. Facilitating collaboration and creativity


D. Enforcing strict code quality standards





C.
  Facilitating collaboration and creativity

When using Organizations, GitHub Teams is better than GitHub Free because it offers:


A. Advanced tools and insights in private repositories.


B. Authentication with SAML single sign-on and increased GitHub Actions minutes.


C. Expanded storage and priority support.


D. Increased GitHub Actions minutes and additional GitHub Packages storage.





B.
  Authentication with SAML single sign-on and increased GitHub Actions minutes.

Which of the following are advantages of saved replies?

(Each correct answer presents part of the solution. Choose two.)


A. Saved replies are tied to a GitHub user's personal account.


B. Saved replies are allocated at the enterprise level for all users.


C. Saved replies allow you to create a reusable response to issues and pull requests.


D. Saved replies will send auto notifications when a user is tagged to an issue.





A.
  Saved replies are tied to a GitHub user's personal account.

C.
  Saved replies allow you to create a reusable response to issues and pull requests.

What are some scenarios that can automatically subscribe you to conversations on GitHub?

(Each answer presents a complete solution. Choose three.)


A. Pushing a commit to the default branch


B. Being added as a repo admin


C. Opening a pull request or issue


D. Commenting on a thread


E. Being assigned to an issue or pull request





C.
  Opening a pull request or issue

D.
  Commenting on a thread

E.
  Being assigned to an issue or pull request

An employee needs to find all issues within organization “Avocado" containing text "404 error" and a "guacamole" label. Which of the following steps would be best to search for these results?


A. Enter query org:Avocado is:issue label:guacamole "404 error" in the search bar.


B. Go to "Avocado" organization. Select Issues under a repository. Filter issues with a "guacamole" label.


C. Enter query org:Avocado label:guacamole "404 error" in the search bar. Select "Issues" in the Filter by section.


D. Go to the Avocado organization settings. Select Repository defaults under Repository. Scroll to Repository labels and select the 'guacamole' label.





A.
  Enter query org:Avocado is:issue label:guacamole "404 error" in the search bar.


Page 2 out of 7 Pages
Previous