Summer Sale Discount Flat 70% Offer - Ends in 0d 00h 00m 00s - Coupon code: 70diswrap

Microsoft GH-900 Dumps

Page: 1 / 14
Total 144 questions

GitHub Foundations Questions and Answers

Question 1

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 2

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

Question 3

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 4

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

Options:

A.

proprietary

B.

open source

C.

free source

D.

Innersource

Question 5

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 6

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 7

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 8

What happens when you link an issue to a pull request?

Options:

A.

A reference to the pull request is added to the issue ' s timeline

B.

The issue is locked for further comments

C.

The pull request is automatically approved

D.

The pull request is added to the repository ' s project board

E.

The issue is automatically closed when the pull request is merged

Question 9

Which type of GitHub account is designed for a single user and serves as their identity on GitHub.com?

Options:

A.

Enterprise account

B.

Team account

C.

Organization account

D.

Personal account

Question 10

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 11

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

Options:

A.

Enhancement

B.

Question

C.

Help wanted

D.

Documentation

Question 12

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 13

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 14

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 15

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 16

When creating a repository from a template, what will the new repository contain?

Options:

A.

Default branch

B.

contributors

C.

commit history

D.

pull requests

Question 17

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 18

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 19

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

Options:

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

Question 20

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 21

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 22

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 23

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 24

Which of the following is the first step in the GitHub flow?

Options:

A.

Open a pull request for review

B.

Delete the branch after merging

C.

Merge the pull request into the main branch

D.

Create a branch for your changes

Question 25

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 26

What should you append to the link to show who starred that repository?

Options:

A.

stars

B.

stargazers

C.

starviewers

D.

starwatcher

Question 27

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 28

Which of the following best describes GitHub Pages?

Options:

A.

Webpages hosted and published through GitHub repositories

B.

Handles pagination for API requests

C.

Hosts long-form documentation about your project

D.

Curated guides around how to use GitHub products

Question 29

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 30

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

Options:

A.

GitHub Marketplace

B.

GitHub Apps

C.

Organization settings

D.

Explore

Question 31

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 32

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

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

Options:

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

Question 33

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 34

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 35

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 36

What type of operations has Git been optimized for?

Options:

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

Question 37

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 38

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 39

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 40

What are achievements on a GitHub user profile?

Options:

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

Question 41

Which of the following describes a branch in Git?

Options:

A.

A pointer to an identical snapshot of the project at a specific point in time

B.

A physical copy of the entire project stored on disk

C.

A separate, isolated copy of the project ' s codebase

D.

A new repository that shares code with the original " upstream " repository

Question 42

Which three of the following types of sensitive information can GitHub Secret Scanning detect? Each answer presents a complete solution.

Options:

A.

Passwords

B.

SSH private keys

C.

Hardcoded email addresses

D.

Code formatting issues

E.

API keys

F.

Database connection strings

Question 43

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

Page: 1 / 14
Total 144 questions