Pre-Winter Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70percent

Microsoft GH-900 GitHub Foundations Exam Practice Test

Demo: 43 questions
Total 144 questions

GitHub Foundations Questions and Answers

Question 1

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

Options:

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.

Question 2

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 3

Which GitHub tools or features is best to quickly modify a batch of files in a repository?

Options:

A.

Install and use GitHub Mobile.

B.

Use github.dev from a web browser.

C.

Install and use GitHub Desktop.

D.

Install and use the git CLI.

E.

Create and use a new GitHub Codespace.

Question 4

Which of the following are included as pre-defined repository roles?

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

Options:

A.

Security

B.

View

C.

Triage

D.

Maintain

E.

Delete

F.

Write

Question 5

What is a gist?

Options:

A.

GitHub app

B.

Git repository

C.

Markdown document

D.

GitHub Pages site

Question 6

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.

Question 7

Which of the following types of charts can a user create to get GitHub Projects insights? (Each answer presents a complete solution. Choose two.)

Options:

A.

pie charts

B.

Gantt charts

C.

current charts

D.

forecast charts

E.

historical charts

Question 8

Which of the following fields must you fill out when creating a new issue?

Options:

A.

Repository visibility

B.

Branch name

C.

Commit message

D.

Issue title and description

Question 9

What should a user follow to see public activity on their personal dashboard? (Each answer presents a complete solution. Choose two.)

Options:

A.

teams

B.

people

C.

enterprises

D.

stars

E.

organizations

Question 10

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 11

Which of the following is a key characteristic of GitHub Projects?

Options:

A.

Ability to visualize the commit history

B.

Ability to import Gantt charts from Microsoft Project

C.

Ability to create and customize multiple views

D.

Ability to enforce required fields

Question 12

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

Options:

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

Question 13

How do you open the Command Palette on GitHub.com using a Windows or Linux computer?

Options:

A.

Press Ctrl+K

B.

Press Ctrl+S

C.

Press Shift+Enter

D.

Press Alt+P

Question 14

Which version control system is GitHub built on top of?

Options:

A.

Mercurial

B.

Perforce

C.

Subversion

D.

Git

Question 15

What template types are available when creating an issue template? (Each correct answer presents part of the solution. Choose three.)

Options:

A.

Feature request

B.

Custom template

Bug report

C.

Standard template

D.

Security notification

Question 16

What qualifier finds issues that mention a certain user?

Options:

A.

mentions:

B.

Smentioned:

C.

mentioned:

D.

threads:

Question 17

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

Question 18

What should you append to the link https://github.com/github/docs/ to show who starred that repository?

Options:

A.

stars

B.

stargazers

C.

starviewers

D.

starwatcher

Question 19

Which of the following can be performed within GitHub Desktop?

Options:

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

Question 20

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 21

What are the defining features of Git?

Options:

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

Question 22

What best describes Markdown?

Options:

A.

Markup language

B.

Programming language

C.

Scripting language

D.

Version control system

E.

Containerization solution

Question 23

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 24

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 25

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 26

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

Options:

A.

GitHub Marketplace

B.

GitHub Apps

C.

Organization settings

D.

Explore

Question 27

Which of the following best describes GitHub Copilot?

Options:

A.

A Visual Studio Code extension for developing AI solutions

B.

An AI tool designed to replace software developers

C.

An AI pair programmer that offers autocomplete-style suggestions

D.

An advanced search tool to intelligently reuse existing code in your projects

Question 28

Which of the following is a primary goal of GitHub ' s community?

Options:

A.

Exclusively supporting experienced developers

B.

Creating a competitive environment for developers

C.

Facilitating collaboration and creativity

D.

Enforcing strict code quality standards

Question 29

What is the difference between Git and GitHub?

Options:

A.

Git is a centralized version control system, while GitHub is a cloud-based collaboration platform.

B.

Git is a cloud-based hosting service, while GitHub is a distributed version control system.

C.

Git and GitHub are different names for the same tool that is used for version control and collaboration.

D.

Git is a command-line tool for tracking file changes, while GitHub is a platform for collaborating on Git repositories.

Question 30

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

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

Options:

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

Question 31

Without using advanced search syntax, what are some of the available default filters when searching through issues? (Each correct answer presents a complete solution. Choose two.)

Options:

A.

your project

B.

everything you have commented on

C.

everything assigned to you

D.

everything assigned to your team

E.

your issues

Question 32

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

Options:

A.

.github

B.

/src

C.

Root

D.

/docs

Question 33

Which of the following default workflows are available as part of GitHub projects? (Each answer presents a complete solution. Choose three.)

Options:

A.

" Label added to issue '

B.

" Auto-archive items "

C.

" Pull request merged "

D.

" Item closed "

E.

" Pull request opened "

Question 34

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 35

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.

Question 36

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

Question 37

An organization in a GitHub enterprise has a base permission of " No permissions. " Which users in this enterprise will be able to see all internal repositories within this organization?

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

Options:

A.

outside collaborators in the same organization

B.

outside collaborators with repo Admin access

C.

members in the same organization

D.

members in another organization in that enterprise

Question 38

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 39

A centralized version control system is a system that:

Options:

A.

requires developers to manually track and manage different versions of their files using naming conventions and manual backups.

B.

stores project files on a cloud-based server and allows multiple developers to collaborate on the same files simultaneously.

C.

relies on a central server to store the entire project history and allows developers to check out files for editing.

D.

ensures each developer has their own local copy of the central code repository, including the complete project history and metadata.

Question 40

As a user, what feature can you use to merge proposed changes in a repository on GitHub?

Options:

A.

Issues

B.

Pull requests

C.

Projects

D.

Discussions

Question 41

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.

Question 42

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

Question 43

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.

Demo: 43 questions
Total 144 questions