Spring 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 are three valid states for a file in a git repository?

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

A.

Committed

B.

Modified

C.

Uncommitted

D.

Staged

E.

Tracked

Full Access
Question # 5

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 # 6

Which Discussion category allows a user to mark a response as an answer?

A.

Q & A

B.

Ideas

C.

General

D.

Polls

Full Access
Question # 7

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 # 8

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 # 9

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

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

Full Access
Question # 10

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 # 11

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

A.

Issues

B.

Pull requests

C.

Projects

D.

Discussions

Full Access
Question # 12

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 # 13

Which of the following are advantages of saved replies?

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

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.

Full Access
Question # 14

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 # 15

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

A.

stars

B.

stargazers

C.

starviewers

D.

starwatcher

Full Access
Question # 16

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

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

Full Access
Question # 17

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.

Full Access
Question # 18

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

A.

Enhancement

B.

Question

C.

Help wanted

D.

Documentation

Full Access
Question # 19

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 # 20

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.

Full Access
Question # 21

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 # 22

Which of the following is the best GitHub feature for long-form documentation for a project?

A.

Insights

B.

Pull Requests

C.

Projects

D.

Wikis

Full Access
Question # 23

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

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.

Full Access
Question # 24

For which of the following does GitHub provide hosted runners?

A.

AWS, Azure, and GCP

B.

Linux, Windows, and macOS

C.

Kubernetes

D.

Docker

Full Access
Question # 25

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 # 26

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

A.

A release issue is created.

B.

A git tag is created.

C.

The feature branch is merged.

D.

The changes are deployed.

Full Access
Question # 27

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

A.

" Label added to issue '

B.

" Auto-archive items "

C.

" Pull request merged "

D.

" Item closed "

E.

" Pull request opened "

Full Access
Question # 28

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 # 29

Why is branching a core concept in Git?

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.

Full Access
Question # 30

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 # 31

Which of the following is an Innersource development practice?

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

Full Access
Question # 32

What is a gist?

A.

GitHub app

B.

Git repository

C.

Markdown document

D.

GitHub Pages site

Full Access
Question # 33

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 # 34

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?

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.

Full Access
Question # 35

Which of the following statements most accurately describes who can access a private repository Wiki?

A.

Wikis are only viewable by repository admins.

B.

Wikis can be viewed by the same people who have Read access to the repository.

C.

Wikis will not be visible until shared with a specific user.

D.

Wikis are public regardless of whether you have access to the repository.

Full Access
Question # 36

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

A.

Traffic

B.

Activity overview

C.

Pulse

D.

Code frequency

Full Access
Question # 37

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.

Full Access