Summer Sale - Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 65percent

Welcome To DumpsPedia

GH-900 Sample Questions Answers

Questions 4

Where can a user manually link a pull request to an issue?

Options:

A.

in the comment section of the issue

B.

in the right sidebar of the pull request, under " Assignees "

C.

in the right sidebar of the pull request, under " Development "

D.

in the description of the issue

Buy Now
Questions 5

Which of the following is a restriction for Enterprise Managed Users (EMUs)?

Options:

A.

Organization base permissions cannot be applied.

B.

Users cannot create public repositories.

C.

Each GitHub team must be linked to an identity provider group.

D.

Custom repository roles are not available.

Buy Now
Questions 6

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

Options:

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

Buy Now
Questions 7

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

Options:

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.

Buy Now
Questions 8

What are primary benefits of using GitHub issues templates?

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

Options:

A.

To automatically label or assign newly created issues

B.

To provide an easy-to-fill-out form for creating new issues

C.

To easily coerce existing issues into a standard format

D.

To automatically create new branches when issues are created

Buy Now
Questions 9

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?

Options:

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.

Buy Now
Questions 10

In GitHub flow, what is the primary operation when a pull request is approved?

Options:

A.

A release issue is created.

B.

A git tag is created.

C.

The feature branch is merged.

D.

The changes are deployed.

Buy Now
Questions 11

Workflows can reference actions in:

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

Options:

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.

Buy Now
Questions 12

In GitHub, why is it recommended to deploy from your feature branch before merging into the main branch?

Options:

A.

To directly deploy changes from the main branch without any intermediate testing

B.

To speed up the process of merging changes into the main branch

C.

To avoid the need for testing changes in production

D.

To ensure the changes are verified and validated in a production environment

Buy Now
Questions 13

After 30 minutes of inactivity, a GitHub Codespace will:

Options:

A.

Be deleted

B.

Commit changes

C.

Restart

D.

Time out

Buy Now
Questions 14

Which of the following is the best description of a Git commit?

Options:

A.

a snapshot of the entire repository at a specific point in time, capturing the state of all files in the project

B.

a record of the most recent changes made by a developer in Git

C.

a series of changes made to a file, or set of files, in Git

D.

a log message that describes the purpose of the changes made to the files in a Git repository

Buy Now
Questions 15

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

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

Options:

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

Buy Now
Questions 16

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

Options:

A.

Passwords

B.

SSH private keys

C.

Hardcoded email addresses

D.

Code formatting issues

E.

API keys

F.

Database connection strings

Buy Now
Questions 17

Which Insights feature allows users to view repository activity including: pull requests, issues, and commit history?

Options:

A.

Traffic

B.

Activity overview

C.

Pulse

D.

Code frequency

Buy Now
Questions 18

What happens when you link an issue to a pull request?

Options:

A.

A reference to the pull request is added to the issue ' s timeline

B.

The issue is locked for further comments

C.

The pull request is automatically approved

D.

The pull request is added to the repository ' s project board

E.

The issue is automatically closed when the pull request is merged

Buy Now
Questions 19

Which three files can a user automatically add while creating a new repository?

Options:

A.

README, -git, and DOCS

B.

LICENSE, .git, and README

C.

README, .gitignore, and LICENSE

D.

LICENSE, DOCS, and .gitignore

Buy Now
Questions 20

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

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

Options:

A.

Draft

B.

Closed

C.

Rebasing

D.

Merged

E.

Modified

F.

Open

Buy Now
Questions 21

Which mechanisms can you use to personalize Codespaces for your account? (Each correct answer presents part of the solution. Choose two.)

Options:

A.

devcontainer

B.

dotfiles

C.

settings sync

D.

operating system

E.

branch protections

F.

IDE plug-ins

Buy Now
Questions 22

Which of the following best describes GitHub flow?

Options:

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

Buy Now
Questions 23

What qualifier finds issues that mention a certain user?

Options:

A.

mentions:

B.

Smentioned:

C.

mentioned:

D.

threads:

Buy Now
Questions 24

New open source contributors can receive funding from GitHub sponsors:

Options:

A.

Using PayPal as a payment processor.

B.

Equal to 95% of the contribution value.

C.

By including GitHub matching funds.

D.

After setting up a sponsored developer profile.

Buy Now
Questions 25

How is github.dev different than Codespaces?

Options:

A.

Extensions in the Visual Studio Code Marketplace are supported by github.dev.

B.

Codespaces is available within the web browser.

C.

A free monthly quota for personal accounts is provided by github.dev.

D.

Codespaces provides terminal access.

Buy Now
Questions 26

Which of the following are advantages of saved replies?

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

Options:

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.

Buy Now
Questions 27

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

Options:

A.

Duplicate the discussion

B.

Archive the discussion

C.

Create an issue from the discussion

D.

Add the discussion to README

Buy Now
Questions 28

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

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

Options:

A.

Committed

B.

Modified

C.

Uncommitted

D.

Staged

E.

Tracked

Buy Now
Questions 29

How are commits related to pull requests?

Options:

A.

Commits are made on a branch that can have a linked pull request.

B.

Commits can only be made after a pull request is created.

C.

Commits can only be made before a pull request is created.

D.

Commits are made on a pull request that can have a linked branch.

Buy Now
Questions 30

How can a user resume an existing Codespace that is bound to a repository? (Each correct answer presents a complete solution. Choose two.)

Options:

A.

Use the git CLI with the codespace parameter (e.g., " git codespace code -web " ).

B.

Browse to the repository in GitHub.com, press the comma V key and select Resume this codespace.

C.

Open https://github.com/codespaces in the browser, select the repository, and then select the existing Codespace.

D.

Browse to the repository in GitHub.com and press the period " . " key.

Buy Now
Questions 31

Which of the following best describes a Codespace?

Options:

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

Buy Now
Questions 32

What is the correct way to automatically close an issue when a pull request is merged?

Options:

A.

Assign the issue to the PR author

B.

Mention the issue in a comment after merging

C.

Use a keyword reference like Fixes #42 in the pull request description

D.

Add the issue number to the PR title

Buy Now
Questions 33

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

Options:

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.

Buy Now
Questions 34

What does a CODEOWNERS file do in a repository?

Options:

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

Buy Now
Questions 35

Which of the following statements most accurately describes secret gists?

Options:

A.

Anyone with the URL for the gist can view the gist.

B.

Secret gists require GitHub Enterprise.

C.

Anyone can see the gist from the gist Discover page.

D.

Users with assigned access can view the gist.

Buy Now
Questions 36

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

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

Options:

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.

Buy Now
Questions 37

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

Options:

A.

Read

B.

Triage

C.

Maintain

D.

Write

Buy Now
Questions 38

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

Options:

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.

Buy Now
Questions 39

What is a primary goal of InnerSource that differentiates it from open source?

Options:

A.

To enforce strict repository rulesets for all contributors.

B.

To provide internal visibility and reduce friction for employees working on company projects.

C.

To make all company projects public for external contributions.

D.

To eliminate the need for pull requests in collaborative projects.

Buy Now
Questions 40

While maintaining the gist history, which of the following is the most efficient way to create a public gist based on another user ' s gist?

Options:

A.

Fork the gist.

B.

Create a new gist and copy the content from the existing gist.

C.

Clone the gist.

D.

Request to be added to the existing gist.

Buy Now
Questions 41

Which of the following is NOT a component of a pull request?

Options:

A.

Compare branch

B.

Pull request description

C.

Repository visibility settings

D.

Base branch

Buy Now
Questions 42

Which three of the following metrics can be tracked using repository insights? Each answer presents a complete solution.

Options:

A.

Pull request activity

B.

Contributions over time

C.

Team synchronization status

D.

Security vulnerabilities in dependencies

E.

Repository visibility settings

F.

Issue resolution rates

Buy Now
Questions 43

As a GitHub user, where in the UI can you configure two-factor authentication (2FA) to further secure your account?

Options:

A.

Profile - > Account - > 2FA

B.

Repository Settings - > Secrets and Variables - > 2FA

C.

Organization Settings - > Authentication Security - > 2FA

D.

Settings - > Password and Authentication - > 2FA

Buy Now
Exam Code: GH-900
Exam Name: GitHub Foundations
Last Update: Jul 16, 2026
Questions: 144

PDF + Testing Engine

$59.99 $171.4

Testing Engine

$44.99 $128.55

PDF (Q&A)

$49.99 $142.82