Microsoft GitHub Foundations GH-900 Exam Questions

Page: 1 / 14
Total 144 questions
Question 1

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



Answer : C


Question 2

What steps must you follow to use GitHub Copilot?

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



Answer : A, B


Question 3

Which three of the following features are available with GitHub Mobile? Each answer presents a complete solution.



Answer : B, C, E

GitHub Mobile is designed for reviewing, triaging, and staying connected to GitHub activity while away from a desktop environment. It supports managing notifications from GitHub.com, allowing users to triage and clear notifications directly from their mobile device. It also supports reviewing pull requests, including visual review scenarios such as comparing changed images. Another mobile feature is scheduling push notifications for custom hours, which helps users control when they receive GitHub alerts. GitHub Mobile is not intended to replace a full development workstation. Editing files in pull requests and interactively adding changes to a commit are development tasks better suited to GitHub.com, GitHub Desktop, Codespaces, or the Git command line. The mobile app focuses on lightweight collaboration and review workflows.


Question 4

New open source contributors can receive funding from GitHub sponsors:



Answer : D

GitHub Sponsors allows developers and organizations to financially support open-source contributors directly on the GitHub platform.

Setting Up a Sponsored Developer Profile:

Option D is correct because before a contributor can receive funding through GitHub Sponsors, they need

=================


Question 5

What is the primary purpose of creating a security policy in a repository?



Answer : C

The primary purpose of creating a security policy in a GitHub repository is to guide users and contributors on how to report security vulnerabilities in a responsible and secure manner. This policy outlines the preferred method of communication, timelines, and any other pertinent information related to handling security issues.

Security Policy:

Option C is correct because a security policy provides guidelines for responsibly disclosing security vulnerabilities. This helps maintainers respond to and address security concerns promptly and securely, thereby protecting the project and its users.

Incorrect Options:

Option A is incorrect because ensuring peer code review is a best practice for code quality, but it is not the primary purpose of a security policy.

Option B is incorrect because push protection for secrets is managed through repository settings, not the security policy.

Option D is incorrect because customizing Dependabot configuration is related to dependency management, not directly to security policies.


GitHub Docs: Adding a Security Policy to Your Repository

=================

Question 6

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



Answer : B, C


Question 7

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



Answer : A


Page:    1 / 14   
Total 144 questions