Summer Sale Special - Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: xmaspas7

Easiest Solution 2 Pass Your Certification Exams

GH-900 Microsoft GitHub Foundations Free Practice Exam Questions (2026 Updated)

Prepare effectively for your Microsoft GH-900 GitHub Foundations certification with our extensive collection of free, high-quality practice questions. Each question is designed to mirror the actual exam format and objectives, complete with comprehensive answers and detailed explanations. Our materials are regularly updated for 2026, ensuring you have the most current resources to build confidence and succeed on your first attempt.

Page: 1 / 3
Total 144 questions

You need to identify how GitHub Desktop differs from github.com.

Which statement correctly describes GitHub Desktop?

A.

It is available only on Windows operating systems.

B.

It replaces the need to use github.com for repository and workflow management.

C.

It is a self-hosted version of GitHub that runs on a local machine.

D.

It provides a graphical user interface for managing local Git repositories.

E.

It enables native integration with Microsoft Office applications.

If there are multiple README files, which of the following locations will be displayed first?

A.

.github

B.

/src

C.

Root

D.

/docs

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

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

A.

Committed

B.

Modified

C.

Uncommitted

D.

Staged

E.

Tracked

How can a user create a repository template, and what permissions are required?

A.

With Admin permissions, navigate to Repository settings and select Template Repository.

B.

With Maintain permissions, navigate to Organization settings, select the repository, and choose Template Repository.

C.

With Admin permissions, navigate to Organization settings, select the repository, and choose Template Repository.

D.

With Maintain permissions, navigate to Repository settings and select Template Repository.

Which three of the following types of sensitive information can GitHub Secret Scanning detect? Each answer presents a complete solution.

A.

Passwords

B.

SSH private keys

C.

Hardcoded email addresses

D.

Code formatting issues

E.

API keys

F.

Database connection strings

Which of the following GitHub syntax formats is consistent with the associated text?

A.

* This is a heading

B.

This is a link

C.

< !-- This is a comment -- >

D.

This is bolded text

E.

1. This is an ordered list

What is the difference between an organization member and an outside collaborator?

A.

Organization base permissions do not apply to outside collaborators.

B.

Two-factor authentication (2FA) is not required for outside collaborators.

C.

Outside collaborators cannot be given the admin role on a repository.

D.

Outside collaborators do not consume paid licenses.

What qualifier finds issues that mention a certain user?

A.

mentions:

B.

Smentioned:

C.

mentioned:

D.

threads:

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

A.

git branch newBranchName

B.

git checkout newBranchName

C.

git checkout -n newBranchName

D.

git checkout -b newBranchName

Which of the following best describes a Codespace?

A.

A lightweight editing experience that runs entirely in your browser

B.

An AI pair programmer that offers autocomplete-style suggestions

C.

A development environment hosted in the cloud

D.

A Visual Studio Code plug-in to manage local devcontainers

From the Organization settings, which restrictions can organization owners place on GitHub Actions usage?

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

A.

Allow actions that use self-hosted runners.

B.

Allow an action to be run from a Codespace.

C.

Allow specified actions.

D.

Allow actions by Marketplace verified creators.

E.

Allow actions created by GitHub.

Which of the following options can a user do from a discussion post?

A.

Duplicate the discussion

B.

Archive the discussion

C.

Create an issue from the discussion

D.

Add the discussion to README

What happens when a comment is marked as an answer in a GitHub discussion?

A.

The comment is highlighted and labeled as the accepted answer

B.

The comment is pinned to the top of the discussion for visibility

C.

The discussion is automatically archived

D.

The discussion is locked for further comments

Which of the following statements is true regarding the mergeability of draft pull requests?

A.

They cannot be merged, but code owners are automatically requested to review.

B.

They can be merged, but code owners are not automatically requested to review.

C.

They cannot be merged, and code owners are not automatically requested to review.

D.

They can be merged, and code owners are automatically requested to review.

What are the two main reasons why one might fork a repository?

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

A.

To create an issue or open a discussion

B.

To propose changes to the base repository

C.

To create a new repository based on an existing one

D.

To create a new branch to develop a new feature

Which of the following features does GitHub provide to enhance collaboration within teams?

A.

real-time collaboration through pair programming

B.

code review and discussion through issues and pull requests

C.

automated testing and code quality analysis

D.

git repositories hosting and sharing capabilities

Which of the following are available statuses of a pull request?

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

A.

Draft

B.

Closed

C.

Rebasing

D.

Merged

E.

Modified

F.

Open

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

A.

Read

B.

Triage

C.

Maintain

D.

Write

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

Which three of the following can be configured in a dev container for a GitHub Codespace? Each answer presents a complete solution.

A.

The default region for Codespace data storage

B.

Shell preferences and scripts using dotfiles

C.

The inactivity timeout period for the Codespace

D.

Extensions and plugins for the development environment

E.

Programming languages and tools required for the project

Page: 1 / 3
Total 144 questions
Copyright © 2014-2026 Solution2Pass. All Rights Reserved