Pre-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 / 12
Total 124 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

What layouts are available for GitHub Projects?

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

Options:

A.

Roadmap

B.

Kanban

C.

Board

D.

Table

E.

Backlog

Question 3

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.

Question 4

What is a gist?

Options:

A.

GitHub app

B.

Git repository

C.

Markdown document

D.

GitHub Pages site

Question 5

What folder is the definition files stored in when creating custom issue forms?

Options:

A.

.issues

B.

.issues/ISSUE_TEMPLATE

C.

.github/ISSUE_TEMPLATE

D.

.GitHub

Question 6

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

Options:

A.

Insights

B.

Pull Requests

C.

Projects

D.

Wikis

Question 7

What are advantages of GitHub Projects over GitHub Projects Classic?

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

Options:

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.

Question 8

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 9

Which of the following steps are part of the Codespaces lifecycle?

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

Options:

A.

Commit

B.

Clone

C.

Rebuild

D.

Rollback

E.

Delete

F.

Create

G.

Install

Question 10

Which of the following items can you customize for an individual Codespace?

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

Options:

A.

Shell

B.

Branch protections

C.

Name

D.

Default editor

E.

Operating system

Question 11

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 12

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.

Question 13

Which of the following best describes cloning a repository?

Options:

A.

It creates a copy of the repository on GitHub.com.

B.

It retrieves code updates from the remote repository.

C.

It creates a copy of the repository on your local machine.

D.

It imports your source code into a new repository.

Question 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

Question 15

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 16

Which syntax is used for authoring saved replies?

Options:

A.

Markup

B.

YAML

C.

HTML

D.

Markdown

Question 17

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

Question 18

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 19

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.

Question 20

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 21

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 22

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 23

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 24

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

Question 25

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 26

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 27

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

Options:

A.

fix

B.

closed

C.

merge

D.

connects

E.

resolves

F.

join

Question 28

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 29

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 30

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 31

Which of the following is always true about the feature preview phases Alpha and Beta?

Options:

A.

Alpha features are not available to the public.

B.

Alpha features are documented.

C.

Alpha and Beta features offer Service Level Agreements (SLAs).

D.

Beta features provide technical support.

Question 32

What command should you type to create and switch over to a new branch?

Options:

A.

git branch newBranchName

B.

git checkout newBranchName

C.

git checkout -n newBranchName

D.

git checkout -b newBranchName

Question 33

Pull requests can only be created between two branches that are:

Options:

A.

Authored by the same user.

B.

Authored by different users.

C.

The same.

D.

Different.

Question 34

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 35

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 36

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 37

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

Options:

A.

Settings

B.

Issues

C.

Insights

D.

Charts

Page: 1 / 12
Total 124 questions