View Full Microsoft GH-900 Exam Dumps and Practice Test Dumps
Question 181
Which GitHub setting controls whether a repository permits forking?
- Discussion moderation
- Issue type configuration
- Forking policy
- Release retention
Correct Answer: 3
Explanation:
A repository’s forking policy determines whether users can create forks and, depending on the configuration, where those forks may be created. Forks provide separate copies of repositories that can be used for independent development while maintaining a relationship with the upstream repository. Forking controls are especially relevant for organizations that need to manage how source code is duplicated or shared. Other repository settings address different capabilities, such as discussions, issues, or releases. Understanding repository-level policies helps users configure collaboration according to organizational requirements while preserving appropriate control over source-code distribution.
Question 182
What does a GitHub repository owner primarily control?
- Repository administration and settings
- Individual commit timestamps
- Markdown rendering rules
- Git object compression
Correct Answer: 1
Explanation:
A repository owner or administrator can manage important repository settings, permissions, collaboration controls, and other administrative features. Administrative access is broader than ordinary contribution rights because it allows configuration changes that affect the repository itself. Commit timestamps are associated with Git history rather than being controlled through repository administration. Markdown rendering is handled by GitHub’s rendering system, while Git object compression belongs to Git’s internal storage mechanisms. Understanding administrative responsibilities helps GH-900 learners distinguish between actions performed by contributors and actions requiring elevated repository permissions.
Question 183
Which GitHub feature lets contributors propose changes from a separate copy of a repository?
- Repository topics
- Forks
- Release notes
- Project fields
Correct Answer: 2
Explanation:
A fork creates a separate copy of a repository under another user or organization account. Contributors can make changes within the fork without directly modifying the original repository. They can then propose those changes to the upstream project, commonly through a pull request. This workflow is widely used in open-source development because contributors may not have direct write access to the original repository. Repository topics organize repositories by subject, release notes document published versions, and project fields help manage work. Forking therefore provides an important collaboration mechanism within GitHub’s distributed development model.
Question 184
What is the main purpose of GitHub repository custom properties?
- Store executable workflow commands
- Add structured metadata to repositories
- Replace repository branches
- Manage local Git credentials
Correct Answer: 2
Explanation:
Custom properties allow organizations to attach structured metadata to repositories. Organizations can use them to categorize repositories according to internal needs, such as department, application type, compliance classification, or lifecycle stage. Because these values are structured, they can support organization-wide management and filtering activities more effectively than informal descriptions alone. Custom properties do not replace branches, execute workflow commands, or manage local Git credentials. Understanding repository metadata is useful for organizations managing many repositories because consistent classification can make administration, governance, and reporting more systematic.
Question 185
Which Git command displays changes that have not yet been staged?
- git branch
- git remote
- git diff
- git tag
Correct Answer: 3
Explanation:
The git diff command can display differences between the working tree and other Git states, including changes that have not yet been staged. This makes it useful for reviewing modifications before adding them to the staging area. By examining the output, developers can identify unintended edits, verify expected changes, and prepare for a commit. git branch manages branches, git remote displays or manages remote repository references, and git tag works with named points in Git history. Reviewing differences before staging is a practical step in maintaining clean and intentional commits.
Question 186
Which repository permission allows a user to manage repository settings?
- Read
- Triage
- Write
- Maintain
Correct Answer: 4
Explanation:
The Maintain role provides broader repository management capabilities than ordinary read or write access and is designed for users who need to manage aspects of a repository without necessarily receiving every administrative privilege. Repository permissions are divided into roles so organizations can provide access appropriate to different responsibilities. Read access is intended primarily for viewing, while Triage focuses on managing issues and pull requests without code modification. Write access supports contribution activities. Understanding permission levels helps teams follow least-privilege principles and assign repository access according to actual responsibilities.
Question 187
What does a GitHub issue template primarily provide?
- A consistent structure for new issues
- Automatic repository deletion
- A replacement for pull requests
- A private Git database
Correct Answer: 1
Explanation:
An issue template gives contributors a predefined structure when creating issues. Templates can prompt users to provide important information such as reproduction steps, expected behavior, environment details, or feature requirements. Consistent issue formatting helps maintainers understand reports more efficiently and reduces incomplete submissions. An issue template does not delete repositories, replace pull requests, or create a private Git database. GitHub supports structured issue templates as part of repository collaboration and project-management workflows. Teams can use different templates for bug reports, feature requests, or other recurring issue categories.
Question 188
Which GitHub capability can automatically assign metadata when an issue is created?
- Git tags
- Issue forms
- Repository archives
- Commit signatures
Correct Answer: 2
Explanation:
Issue forms allow repositories to collect structured information from users when they open issues. They can include fields that guide contributors toward providing specific details and can help maintainers process incoming reports more consistently. Issue forms are particularly useful when projects need predictable information for different issue types. Git tags identify specific points in repository history, archives preserve repository contents in a non-active state, and commit signatures provide information about commit verification. Issue forms therefore support structured issue intake rather than Git history management or repository preservation.
Question 189
What does git revert create?
- A new branch without history
- A deleted remote reference
- A new commit that reverses an earlier change
- A repository clone with modified metadata
Correct Answer: 3
Explanation:
git revert creates a new commit that reverses the changes introduced by an earlier commit. Unlike rewriting history, reverting preserves the existing commit history while adding a new change that counteracts the selected commit. This makes it particularly useful when changes have already been shared with others and rewriting published history would cause collaboration problems. A revert should therefore be distinguished from commands that remove or rewrite commits. Understanding this distinction is important when managing collaborative repositories because preserving shared history can reduce synchronization problems among contributors.
Question 190
Which GitHub feature helps organizations review security risks across repositories?
- Security overview
- Repository topics
- Contribution graph
- Project board layout
Correct Answer: 1
Explanation:
GitHub’s security overview provides organizations with visibility into security-related information across repositories. Depending on the enabled security capabilities, it can help administrators understand areas requiring attention, such as dependency or code-security findings. This centralized perspective is valuable when an organization manages many repositories and needs to monitor security posture consistently. Repository topics classify projects by subject, contribution graphs visualize activity, and project board layouts organize work. Security-focused views are therefore intended for identifying and managing repository security information rather than organizing development tasks or categorizing project themes.
Question 191
What does a Git lightweight tag identify?
- A repository collaborator
- A specific Git reference
- A workflow permission
- A project milestone
Correct Answer: 2
Explanation:
A lightweight Git tag is a simple reference to a specific point in Git history. It can be used to give a memorable name to a commit, such as marking a particular state of development. Lightweight tags contain less annotation information than annotated tags, which can include metadata and messages. Tags are useful when developers need stable references to important points in a repository’s history. They are separate from GitHub collaborators, workflow permissions, and project milestones. Understanding tags helps users distinguish source-control references from GitHub project-management and access-control features.
Question 192
Which GitHub feature can display project work in a table-style view?
- Git branches
- Repository topics
- GitHub Projects
- Commit history
Correct Answer: 3
Explanation:
GitHub Projects can organize work using different views, including table-style presentations. A table view allows teams to inspect project items using rows and fields, making it useful for tracking structured information across multiple work items. Projects can connect issues and pull requests with planning information while providing flexible ways to organize work. Git branches manage lines of source-code development, repository topics categorize repositories, and commit history records changes made to code. Project views are therefore designed for planning and tracking work rather than directly managing Git history or repository classification.
Question 193
What is the purpose of GitHub repository transfer?
- Move a repository to another owner
- Convert issues into commits
- Replace all repository branches
- Remove repository history
Correct Answer: 1
Explanation:
Repository transfer allows a repository to move from one user or organization to another owner while preserving important repository content and history. This can be useful when ownership responsibilities change, when a project moves into an organization, or when repositories are reorganized. Transfer procedures can involve permission and ownership considerations, so administrators should review the requirements before performing the operation. Transferring a repository is fundamentally different from deleting history, replacing branches, or converting issues into commits. It is an administrative capability for changing ownership while maintaining the repository as a development resource.
Question 194
Which GitHub feature helps identify the person who introduced a specific line of code?
- Repository topics
- Git blame
- Project milestones
- Issue labels
Correct Answer: 2
Explanation:
Git blame identifies the commit and author associated with each line of a file. Developers can use it to investigate when a particular line was introduced and which commit modified it. This can be useful when understanding historical changes, tracing the origin of a behavior, or locating relevant commits for further investigation. Git blame is not intended for categorizing repositories, managing milestones, or labeling issues. It works with Git history to provide line-level attribution. Because attribution reflects repository history, it should be interpreted alongside the surrounding commits and development context.
Question 195
What does a GitHub repository environment commonly represent?
- A local operating-system account
- A Git commit category
- A deployment target with configuration controls
- A Markdown document type
Correct Answer: 3
Explanation:
A GitHub environment commonly represents a deployment target or stage where workflows can run with specific configuration and protection settings. Environments can have associated secrets, variables, and approval requirements. This allows teams to distinguish deployment destinations such as testing or production while applying different controls to each. Environments are part of GitHub’s automation and deployment capabilities rather than Git commit classification or Markdown formatting. Understanding environments helps users recognize how GitHub Actions can connect automated workflows with controlled deployment processes.
Question 196
Which Git command creates a new branch without switching to it?
- git branch
- git checkout
- git merge
- git reset
Correct Answer: 1
Explanation:
The git branch command can create a new branch without automatically switching the working directory to that branch. For example, creating a branch with this command establishes the new reference while leaving the currently checked-out branch active. Commands such as git switch -c can both create and switch to a new branch, which is a different behavior. git merge combines changes from branches, while git reset moves references or modifies the staging and working states depending on its mode. Understanding these distinctions helps prevent accidental branch changes during development.
Question 197
What is the primary role of GitHub repository webhooks?
- Store encrypted repository backups
- Send event notifications to external systems
- Replace Git authentication
- Generate local branches
Correct Answer: 2
Explanation:
GitHub webhooks notify external systems when selected repository events occur. For example, an external service can receive information when code is pushed, an issue changes, or a pull request is created. This allows GitHub activity to trigger integrations, automation, monitoring, or other external processing. Webhooks do not serve as repository backups, replace Git authentication, or create local branches. Their primary function is event-driven communication between GitHub and external services. Understanding webhooks is useful for recognizing how repositories can integrate with systems outside the GitHub platform.
Question 198
Which GitHub feature records a repository’s published versions?
- Issue forms
- Repository labels
- Releases
- Team discussions
Correct Answer: 3
Explanation:
GitHub Releases provide a way to publish and organize specific versions of software based on Git tags. A release can include release notes and downloadable assets, giving users a clear representation of a published version. Releases are commonly used to communicate changes between software versions and distribute associated files. Issue forms are designed for structured issue submission, labels classify issues or other items, and team discussions support communication. Releases therefore connect source-control milestones with a user-facing mechanism for documenting and distributing published software versions.
Question 199
Which Git command temporarily saves uncommitted working changes?
- git stash
- git status
- git show
- git describe
Correct Answer: 1
Explanation:
git stash temporarily stores changes that have not been committed so the working directory can be cleaned for another task. This is useful when a developer needs to switch contexts without creating an incomplete commit. The stashed changes can later be reapplied when the original work is resumed. git status reports the current state of the working tree, git show displays information about Git objects such as commits, and git describe generates human-readable names based on repository references. Stashing is therefore a temporary workflow mechanism rather than a permanent history operation.
Question 200
What does GitHub’s contribution graph primarily visualize?
- Repository ownership transfers
- Development activity over time
- Repository storage capacity
- Organization billing history
Correct Answer: 2
Explanation:
The GitHub contribution graph visualizes a user’s contribution activity over time. It can provide a calendar-style representation of activity associated with qualifying contributions, helping users see patterns in their participation. The graph is not intended to show repository storage capacity, ownership transfers, or billing information. Contribution visualization can be useful for understanding activity history, although the graph does not represent every aspect of a developer’s work. GH-900 learners should distinguish contribution tracking from repository administration, organizational billing, and storage-management features.