Summer Sale Limited Time Flat 70% Discount offer - Ends in 0d 00h 00m 00s - Coupon code: 70spcl

Microsoft GH-900 GitHub Foundations Exam Practice Test

Page: 1 / 14
Total 144 questions

GitHub Foundations Questions and Answers

Question 1

Which of the following are characteristics of GitHub Teams? (Each answer presents a complete solution. Choose two.)

Options:

A.

Team visibility can be visible or secret.

B.

Teams can be nested.

C.

Teams has a maximum size of 100 users.

D.

Teams requires access to at least one repository.

Question 2

What happens when you assign multiple collaborators to an issue or pull request?

Options:

A.

The issue or pull request is automatically marked as “In Progress.”

B.

The issue or pull request is locked for editing by others.

C.

Only the first collaborator is notified.

D.

All assigned collaborators are notified and share responsibility.

Question 3

How can a user choose to receive ongoing updates about a specific activity on GitHub.com?

Options:

A.

By automatically watching all repositories you have push access to

B.

By upgrading from a free to a paid account

C.

By subscribing to notifications for all activity in a repository

D.

By customizing the types of notifications you will receive in the future

Question 4

What steps must you follow to use GitHub Copilot?

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

Options:

A.

Install the Copilot extension for your supported IDE.

B.

Sign up for a Copilot edition and enable it for your account.

C.

Sign and submit the legal disclaimer.

D.

Install the Copilot App on your GitHub organization, account or server.

E.

Store your coding project(s) in GitHub.

Question 5

Which three of the following features are available with GitHub Mobile? Each answer presents a complete solution.

Options:

A.

Edit files in pull requests

B.

Compare changed images to visually review updates

C.

Manage, triage, and clear notifications from github.com

D.

Add changes to your commit interactively

E.

Schedule push notifications for specific custom hours

Question 6

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

Question 7

When creating a repository from a template, what will the new repository contain?

Options:

A.

Default branch

B.

contributors

C.

commit history

D.

pull requests

Question 8

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

Options:

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.

Question 9

Which of the following can be performed within GitHub Mobile?

Options:

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

Question 10

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.

Question 11

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.

Question 12

As a user, which of the following default labels is used to indicate that a maintainer needs assistance on an issue or pull request?

Options:

A.

Enhancement

B.

Question

C.

Help wanted

D.

Documentation

Question 13

Which of the following two-factor authentication (2FA) methods can you use to secure a GitHub account? (Each answer presents a complete solution. Choose three.)

Options:

A.

single sign-on

B.

authenticator app

C.

GitHub mobile

D.

security keys

E.

security questions

Question 14

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

Options:

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.

Question 15

Which of the following is the first step in the GitHub flow?

Options:

A.

Open a pull request for review

B.

Delete the branch after merging

C.

Merge the pull request into the main branch

D.

Create a branch for your changes

Question 16

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

Question 17

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.

Question 18

What GitHub feature allows the developer community to financially support the people and organizations who maintain the open source projects they depend on?

Options:

A.

GitHub Support

B.

GitHub Sponsors

C.

GitHub Community Exchange

D.

GitHub Discussions

Question 19

Where should a repository admin navigate to view pre-built visualizations from repository data?

Options:

A.

Settings

B.

Issues

C.

Insights

D.

Charts

Question 20

Which of the following are counted in the contribution graph on a user ' s profile? (Each answer presents a complete solution. Choose two.)

Options:

A.

commits made

B.

public repositories

C.

followers

D.

issues closed

E.

pull requests created

Question 21

What type of operations has Git been optimized for?

Options:

A.

web development and browser-based coding

B.

remote collaboration and real-time editing

C.

local file manipulation and offline work

D.

cloud-based operations and synchronization

Question 22

Why is branching a core concept in Git?

Options:

A.

Branching creates physical copies of the project on disk, ensuring data redundancy and backup.

B.

Branching helps in automatically merging changes from different branches into the main branch.

C.

Branching is necessary for organizing files and folders within a Git repository.

D.

Branching creates an isolated environment to try new ideas and make changes without affecting other branches.

Question 23

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.

Question 24

What is the purpose of GitHub Sponsors?

Options:

A.

It funds the most popular open source projects based on stars.

B.

It provides a channel for GitHub to support open source projects.

C.

It offers a way for companies to purchase software on GitHub.

D.

It allows the developer community to financially support open source projects.

Question 25

For which of the following does GitHub provide hosted runners?

Options:

A.

AWS, Azure, and GCP

B.

Linux, Windows, and macOS

C.

Kubernetes

D.

Docker

Question 26

Which of the following permissions can be enabled or disabled at the enterprise level? (Each answer presents a complete solution. Choose two.)

Options:

A.

repository visibility change

B.

repository naming convention

C.

repository secrets

D.

repository deletion and transfer

Question 27

Which of the following is an Innersource development practice?

Options:

A.

Adopting open source code into the organization

B.

Sharing code between teams within the organization

C.

Removing open source code from the organization

D.

Making all repositories publicly accessible

Question 28

What best describes Markdown?

Options:

A.

Markup language

B.

Programming language

C.

Scripting language

D.

Version control system

E.

Containerization solution

Question 29

The difference between GitHub Enterprise Server (GHES) and GitHub Enterprise Cloud is that GHES:

Options:

A.

cannot enable rate limiting.

B.

includes authentication with SAML single sign-on and access provisioning with SAML or SCIM.

C.

can be deployed on both Windows and Linux.

D.

is a self-hosted solution that allows organizations to have full control over their infrastructure.

Question 30

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

Question 31

What should be done to locate an existing action that was provided by a GitHub-approved vendor?

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

Options:

A.

Create a new workflow file.

B.

Search the vendor’s website for a github.yaml index.

C.

Confirm that the action has a verification badge.

D.

Install the GitHub App that was provided by the vendor.

E.

Add the vendor as an allowed Actions Source.

F.

Search the GitHub Marketplace for Actions by the vendor.

Question 32

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.

Question 33

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

Question 34

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

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

Options:

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.

Question 35

What is a benefit of using GitHub Enterprise Cloud with Enterprise Managed Users (EMU)?

Options:

A.

It provides centralized control and streamlined management of user accounts through their identity provider (IdP).

B.

It offers additional collaboration and content creation capabilities for managed user accounts.

C.

It automatically validates user interactions using the identity provider (IdP) conditional access policy (CAP).

D.

It enables GitHub user accounts access to protected resources using SAML SSO.

Question 36

What is a Git remote?

Options:

A.

a reference to a repository that is hosted in a separate location

B.

a local copy of the repository stored on a user ' s machine

C.

a branch in the repository where changes are pushed for collaboration

D.

a separate repository for testing before pushing changes to the main repository

Question 37

Which syntax is used for authoring saved replies?

Options:

A.

Markup

B.

YAML

C.

HTML

D.

Markdown

Question 38

Where can you go to discover, browse, and install tools?

Options:

A.

GitHub Marketplace

B.

GitHub Apps

C.

Organization settings

D.

Explore

Question 39

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

Options:

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

Question 40

Which of the following outcomes can be achieved with a branch protection rule?

Options:

A.

Require two-factor authentication (2FA) by code contributors.

B.

Require approval before merging changes.

C.

Block code pushes that contain hardcoded secrets.

D.

Restrict who can view the branch.

Question 41

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

Options:

A.

Save the discussion.

B.

Pin the discussion.

C.

Create an issue from the discussion.

D.

Star the discussion.

Question 42

What is GitHub?

Options:

A.

A proprietary software platform for nurturing creativity in developers and building a technology community

B.

A cloud-based hosting service for version control and collaboration, focused on creating a safe and collaborative environment for developers

C.

A platform that focuses on facilitating the growth and sharing of code, specifically designed for new developers to hone their skills

D.

A centralized version control system designed for nurturing a community of developers and providing access to open source projects

Question 43

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

Page: 1 / 14
Total 144 questions