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

Home > Microsoft > GitHub Administrator > GH-900

GH-900 GitHub Foundations Question and Answers

Question # 4

What is defined as software that can be freely used, modified, and shared by anyone?

A.

proprietary

B.

open source

C.

free source

D.

Innersource

Full Access
Question # 5

Which of the following are components of GitHub Actions? (Each correct answer presents part of the solution. Choose three.)

A.

JavaScript

B.

agents

C.

events

D.

steps

E.

CI/CD

F.

octokit

G.

jobs

Full Access
Question # 6

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

A.

GitHub Support

B.

GitHub Sponsors

C.

GitHub Community Exchange

D.

GitHub Discussions

Full Access
Question # 7

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

Full Access
Question # 8

What is the difference between Git and GitHub?

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.

Full Access
Question # 9

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

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

Full Access
Question # 10

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

A.

Read

B.

Triage

C.

Maintain

D.

Write

Full Access
Question # 11

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

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.

Full Access
Question # 12

Which of the following statements most accurately describes secret gists?

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.

Full Access
Question # 13

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

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.

Full Access
Question # 14

A centralized version control system is a system that:

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.

Full Access
Question # 15

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

Full Access
Question # 16

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

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.

Full Access
Question # 17

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

Full Access
Question # 18

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

A.

teams

B.

people

C.

enterprises

D.

stars

E.

organizations

Full Access
Question # 19

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

Full Access
Question # 20

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.

Full Access
Question # 21

What type of operations has Git been optimized for?

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

Full Access
Question # 22

Which of the following attributes are on the Milestone page? (Each correct answer presents a complete solution. Choose two.)

A.

each milestone ' s completion percentage

B.

a list of the open and closed issues associated with the milestone

C.

a summary list of GitHub Projects tagged to the milestone

D.

GitHub Action workflows that need to be executed to complete the milestone

Full Access
Question # 23

What are primary benefits of using GitHub issues templates?

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

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

Full Access
Question # 24

Workflows can reference actions in:

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

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.

Full Access
Question # 25

What is GitHub?

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

Full Access
Question # 26

Workflows can reference actions in:

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

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.

Full Access
Question # 27

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

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

A.

Security

B.

View

C.

Triage

D.

Maintain

E.

Delete

F.

Write

Full Access
Question # 28

What features are offered by Copilot for Business that are not offered by Copilot for individuals?

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

A.

Offers multi-line function suggestions

B.

Organization-wide policy management

C.

Blocks suggestions matching public code

D.

VPN proxy support via self-signed certificates

E.

Support for organization or enterprise GitHub accounts

F.

Plugs directly into the editor

Full Access
Question # 29

Which of the following keywords are used to link a pull request to an issue? (Each correct answer presents a complete solution. Choose three.)

A.

fix

B.

closed

C.

merge

D.

connects

E.

resolves

F.

join

Full Access
Question # 30

What is the primary goal of GitHub in terms of integrating tools and providing an ecosystem?

A.

to create a unified, standardized ecosystem for all developers

B.

to bring developers ' preferred tools together in one place

C.

to develop proprietary tools and provide opinionated integration options

D.

to offer a diverse range of tools for specific development needs

Full Access
Question # 31

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

A.

.github

B.

/src

C.

Root

D.

/docs

Full Access
Question # 32

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

A.

devcontainer

B.

dotfiles

C.

settings sync

D.

operating system

E.

branch protections

F.

IDE plug-ins

Full Access
Question # 33

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

A.

GitHub Marketplace

B.

GitHub Apps

C.

Organization settings

D.

Explore

Full Access
Question # 34

As a repository admin, which alerts can you see from the security tab of a repository? (Each answer presents a complete solution. Choose three.)

A.

Branch Protection

B.

Dependabot

C.

Push Protection Bypass

D.

Code Scanning

E.

Secret Scanning

Full Access
Question # 35

What are all repository visibility options in GitHub Enterprise?

A.

public, internal, and private

B.

public, private

C.

external, public, and private

D.

external, private

Full Access
Question # 36

What are achievements on a GitHub user profile?

A.

special recognition for significant contributions and milestones

B.

total number of repositories owned

C.

number of stars received on repositories

D.

virtual trophies awarded for completing coding challenges

Full Access
Question # 37

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

Full Access
Question # 38

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

Full Access
Question # 39

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.)

A.

Authenticator app

B.

Security questions

C.

GitHub mobile

D.

Security keys

E.

Single sign-on

Full Access
Question # 40

Which of the following options is available as a default Discussion category?

A.

Bug report

B.

Daily check-in

C.

Show and tell

D.

Security concern

Full Access
Question # 41

The difference between GitHub Desktop and github.com is that Desktop:

A.

Is a standalone software application.

B.

Enables integration with office suite applications.

C.

Is only available on Windows operating systems.

D.

Offers a graphical user interface.

E.

Is a self-hosted version of GitHub.

Full Access
Question # 42

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

Full Access
Question # 43

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.

Full Access