Weekend 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 / 8
Total 75 questions

GitHub Foundations Questions and Answers

Question 1

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 2

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

Options:

A.

Bug report

B.

Daily check-in

C.

Show and tell

D.

Security concern

Question 3

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 4

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 5

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 6

Who can be assigned to an Issue or pull request?

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

Options:

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

Question 7

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 8

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 9

Which of the following GitHub syntax formats is consistent with the associated text?

Options:

A.

* This is a heading

B.

This is a link

C.

D.

This is bolded text

E.

1. This is an ordered list

Question 10

When using Organizations, GitHub Teams is better than GitHub Free because it offers:

Options:

A.

Advanced tools and insights in private repositories.

B.

Authentication with SAML single sign-on and increased GitHub Actions minutes.

C.

Expanded storage and priority support.

D.

Increased GitHub Actions minutes and additional GitHub Packages storage.

Question 11

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 12

How are commits related to pull requests?

Options:

A.

Commits are made on a branch that can have a linked pull request.

B.

Commits can only be made after a pull request is created.

C.

Commits can only be made before a pull request is created.

D.

Commits are made on a pull request that can have a linked branch.

Question 13

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 14

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 15

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 16

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 17

What best describes Markdown?

Options:

A.

Markup language

B.

Programming language

C.

Scripting language

D.

Version control system

E.

Containerization solution

Question 18

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

Options:

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.

Question 19

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 20

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 21

Which of the following is the purpose of a GitHub repository?

Options:

A.

To provide a folder that stores project files, including documentation, on your local machine

B.

To provide a version control system designed for small projects, offering simple tools for organizing files on your laptop

C.

To provide a cloud-based hosting service for project documentation, providing a secure and centralized location for file storage

D.

To provide a collaborative space where developers can share and manage code files, track changes, and store revision history

Question 22

Which of the following information is available by default in a user's GitHub profile?

Options:

A.

Personal biography and profile picture

B.

Public Secure Shell Protocol (SSH) keys

C.

A list of the user's private repositories

D.

Email address and password

Page: 1 / 8
Total 75 questions