Free GH-900 Exam Braindumps
GitHub Foundations Questions 25–32 (page: 5)

Updated On: 9-Apr-2026

Which of the following statements most accurately describes who can access a private repository Wiki?

  1. Wikis are only viewable by repository admins.
  2. Wikis can be viewed by the same people who have Read access to the repository.
  3. Wikis will not be visible until shared with a specific user.
  4. Wikis are public regardless of whether you have access to the repository.

Answer(s): B

Explanation:

For private repositories on GitHub, the Wiki is accessible to anyone who has Read access to the repository. This means that if you can view the code and files in the repository, you can also view its Wiki. This makes Wikis a useful tool for documenting projects in a way that is available to all collaborators without requiring special permissions beyond those needed to access the repository itself.



What qualifier finds issues that mention a certain user?

  1. mentions:
  2. Smentioned:
  3. mentioned:
  4. threads:

Answer(s): A

Explanation:

The qualifier mentions: is used in GitHub's search functionality to find issues that mention a certain user. For example, if you want to find all issues where a specific user is mentioned, you would use mentions:username. This helps in tracking where a user has been involved in discussions across issues or pull requests.



Pull requests can only be created between two branches that are:

  1. Authored by the same user.
  2. Authored by different users.
  3. The same.
  4. Different.

Answer(s): D

Explanation:

Pull requests are created to propose changes from one branch to another. These branches must be different; otherwise, there would be no changes to propose. Typically, pull requests are made from a feature or topic branch to a main branch (such as main or master), allowing for code review and integration before the changes are merged.



What are three valid states for a file in a git repository?

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

  1. Committed
  2. Modified
  3. Uncommitted
  4. Staged
  5. Tracked

Answer(s): A,B,D

Explanation:

In a Git repository, a file can be in one of the following three valid states:

Committed: The file is saved in the local repository. It is part of the permanent history of the project.

Modified: The file has been changed but not yet staged or committed. It is in the working directory.

Staged: The file has been marked to be included in the next commit. It is in the staging area, ready to be committed.

These states represent the typical lifecycle of a file as it moves through the process of being edited, reviewed, and saved in Git.



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

  1. To ensure that peer code review occurs before new changes are merged
  2. To define which types of secrets are blocked with push protection
  3. To describe how security vulnerabilities should be responsibly disclosed
  4. To customize the repository's Dependabot configuration

Answer(s): C

Explanation:

The primary purpose of creating a security policy in a GitHub repository is to guide users and contributors on how to report security vulnerabilities in a responsible and secure manner. This policy outlines the preferred method of communication, timelines, and any other pertinent information related to handling security issues.

Security Policy:

Option C is correct because a security policy provides guidelines for responsibly disclosing security vulnerabilities. This helps maintainers respond to and address security concerns promptly and securely, thereby protecting the project and its users.

Incorrect Options:

Option A is incorrect because ensuring peer code review is a best practice for code quality, but it is not the primary purpose of a security policy.

Option B is incorrect because push protection for secrets is managed through repository settings, not the security policy.

Option D is incorrect because customizing Dependabot configuration is related to dependency management, not directly to security policies.


Reference:

GitHub Docs: Adding a Security Policy to Your Repository



What is GitHub?

  1. A proprietary software platform for nurturing creativity in developers and building a technology community
  2. A cloud-based hosting service for version control and collaboration, focused on creating a safe and collaborative environment for developers
  3. A platform that focuses on facilitating the growth and sharing of code, specifically designed for new developers to hone their skills
  4. A centralized version control system designed for nurturing a community of developers and providing access to open source projects

Answer(s): B

Explanation:

GitHub is a cloud-based platform that provides hosting for software development and version control using Git. It offers tools for collaboration, project management, and security to create a safe and productive environment for developers.

GitHub Overview:

Option B is correct because GitHub is primarily known as a cloud-based hosting service for Git repositories, offering a collaborative environment where developers can work together on projects, manage version control, and implement security practices.

Incorrect Options:

Option A is incorrect because GitHub is not proprietary in the sense of being closed off from version control standards; it is widely recognized as an open platform for collaboration.

Option C is incorrect because, while GitHub is accessible to new developers, it is designed for developers of all skill levels and not specifically tailored for beginners.

Option D is incorrect because GitHub is not a centralized version control system; it supports Git, which is distributed.


Reference:

GitHub Docs: About GitHub



Which of the following can be performed within GitHub Desktop?

  1. Creating and managing issues
  2. Reviewing and approving pull requests
  3. Adding and cloning repositories
  4. Commenting on discussions
  5. Integrating with office suite software

Answer(s): C

Explanation:

GitHub Desktop is a graphical interface that allows users to interact with GitHub repositories. It simplifies certain Git operations without the need for command-line usage.

GitHub Desktop Capabilities:

Option C is correct because GitHub Desktop allows users to add local repositories to their GitHub account, clone repositories from GitHub to their local machine, and manage repositories effectively.

Incorrect Options:

Option A is incorrect because GitHub Desktop does not support creating or managing issues directly; this is done through the GitHub web interface.

Option B is incorrect because reviewing and approving pull requests is also managed through the GitHub web interface.

Option D is incorrect because commenting on discussions is done on the GitHub platform, not through GitHub Desktop.

Option E is incorrect because GitHub Desktop does not integrate with office suite software.


Reference:

GitHub Docs: GitHub Desktop Documentation



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

  1. Advanced tools and insights in private repositories.
  2. Authentication with SAML single sign-on and increased GitHub Actions minutes.
  3. Expanded storage and priority support.
  4. Increased GitHub Actions minutes and additional GitHub Packages storage.

Answer(s): B

Explanation:

GitHub Teams, as part of GitHub's paid plans, offers additional features and capabilities compared to GitHub Free, particularly for organizations.

GitHub Teams Benefits:

Option B is correct because GitHub Teams provides advanced security features like SAML single sign- on for secure authentication, as well as increased minutes for running GitHub Actions, which are essential for continuous integration and deployment workflows.

Incorrect Options:

Option A is incorrect because private repositories and advanced tools are features available, but the key differentiator in this context is the SAML SSO and additional GitHub Actions minutes.

Option C is incorrect because while expanded storage and priority support are valuable, SAML SSO and increased GitHub Actions minutes are more central to the differences between GitHub Free and GitHub Teams.

Option D is partially correct, but since the question asks for the best reason, Option B provides the most critical features that differentiate GitHub Teams from GitHub Free.


Reference:

GitHub Docs: About GitHub Teams



Viewing page 5 of 11
Viewing questions 33 - 40 out of 187 questions


Post your Comments and Discuss Microsoft GH-900 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!