Weekend Sale - 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 (2025 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 2025, ensuring you have the most current resources to build confidence and succeed on your first attempt.

Page: 1 / 2
Total 75 questions

What does a CODEOWNERS file do in a repository?

A.

Restricts who can edit specific files

B.

Requires peer code review for code changes

C.

Defines access permissions for the repository

D.

Sets the reviewers for pull requests automatically

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

What are the defining features of Git?

A.

Distributed version control, open source software, and being designed for handling projects of any size with efficiency

B.

Sequential version control, cloud-based hosting service, and being designed for collaboration on large projects

C.

Low-cost local branching, convenient staging areas, multiple workflows, and being designed for managing small projects

D.

Centralized version control, proprietary software, and being designed for small projects

GitHub Actions workflows can be directly triggered by which of the following events?

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

A.

Adding a comment to a discussion post

B.

Creating a new repository

C.

Committing a change to a local git repository

D.

Pushing to a GitHub repository

E.

Disabling a GitHub runner

F.

Creating an Issue

Which of the following are displayed in the "Pinned Repositories" section of a GitHub user profile?

A.

Repositories with the most recent activity

B.

Repositories that were personally selected to be highlighted

C.

Repositories that are owned by organizations in which the user is a member

D.

Repositories with the highest number of stars

Who can be assigned to an Issue or pull request?

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

A.

Anyone who has an enterprise GitHub account

B.

Anyone who has commented on the Issue or pull request

C.

Anyone who has a personal GitHub account

D.

Anyone with write permissions to the repository

Which of the following information is available by default in a user's GitHub profile?

A.

Personal biography and profile picture

B.

Public Secure Shell Protocol (SSH) keys

C.

A list of the user's private repositories

D.

Email address and password

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

Which of the following is the purpose of a GitHub repository?

A.

To provide a folder that stores project files, including documentation, on your local machine

B.

To provide a version control system designed for small projects, offering simple tools for organizing files on your laptop

C.

To provide a cloud-based hosting service for project documentation, providing a secure and centralized location for file storage

D.

To provide a collaborative space where developers can share and manage code files, track changes, and store revision history

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

What are advantages of GitHub Projects over GitHub Projects Classic?

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

A.

GitHub Projects has multiple layout views.

B.

GitHub Projects has Insights.

C.

GitHub Projects are Copilot enabled.

D.

GitHub Projects can be connected to third-party tools.

From the list of projects for an organization, how can a user identify a GitHub Projects template?

A.

Check the "show template" checkbox.

B.

Use the "is

" filter in the search text box.

C.

Select the Templates tab.

D.

View the contents in the .github/projects folder.

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.

After 30 minutes of inactivity, a GitHub Codespace will:

A.

Be deleted

B.

Commit changes

C.

Restart

D.

Time out

Which of the following can be performed within GitHub Desktop?

A.

Creating and managing issues

B.

Reviewing and approving pull requests

C.

Adding and cloning repositories

D.

Commenting on discussions

E.

Integrating with office suite software

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

A.

.github

B.

/src

C.

Root

D.

/docs

How can a user highlight a post to the top of the Discussions page?

A.

Save the discussion.

B.

Pin the discussion.

C.

Create an issue from the discussion.

D.

Star the discussion.

What are two recommended ways of improving the discoverability of a repository?

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

A.

Register the repository with GitHub search.

B.

Create a README file describing the repository.

C.

Add labels to categorize the repository.

D.

Add topics to classify the repository.

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.

What is the primary purpose of creating a new branch in the GitHub flow?

A.

To create a backup of the main branch

B.

To capture information about an issue

C.

To experiment with new features or fixes

D.

To incorporate changes from a review

Page: 1 / 2
Total 75 questions
Copyright © 2014-2025 Solution2Pass. All Rights Reserved