GH-900 GitHub Foundations braindump and exam dump
GH-900 GitHub Foundations Questions & Answers
Despite the title of this article, this isn’t a GitHub Foundations braindump in the traditional sense of the word.
I don’t believe in cheating.
The term braindump usually means someone took the actual exam and then tried to rewrite every question they could remember, basically dumping the contents of their brain onto the internet.
That’s not only unethical, it’s a direct violation of the certification’s terms and conditions. There’s no pride or professionalism in that.
This set of GitHub Foundations exam questions and answers isn’t that.
An honest approach to GitHub certification
All of the questions here come from my GitHub Foundations Udemy course or the certificationexams.pro certification website, which hosts hundreds of original practice questions focused on GitHub certifications.
Each GitHub Foundations exam question in this article has been carefully created to match the topics and skills covered in the real exam without copying or leaking any actual GitHub foundations questions.
The goal is to help you learn honestly, build confidence, and truly understand how GitHub works, from repositories and pull requests to issues, workflows, and project organization.
If you can confidently answer these questions and understand why the wrong answers are wrong, you won’t just pass the GitHub Foundations exam. You’ll walk away with a stronger understanding of Git, GitHub, and how teams use these tools to collaborate and build software the right way.
So here you go, call it a GitHub Foundations braindump if you want, but really it’s a smart, ethical study guide designed to help you think like a pro.
You can find more of my GitHub practice exams on Udemy and certificationexams.pro.
The questions are challenging, but each one includes a full explanation along with tips and strategies to help you handle similar questions on the real exam.
Have fun, stay curious, and good luck on your GitHub Foundations certification journey.
| Git, GitHub & GitHub Copilot Certification Made Easy |
|---|
| Want to get certified on the most popular AI, ML & DevOps technologies of the day? These five resources will help you get GitHub certified in a hurry.
Get certified in the latest AI, ML and DevOps technologies. Advance your career today. |
At Northlake Robotics on example.com, a team lead opens the Pulse page in the Insights tab of a GitHub repository to review activity from the last 28 days. Which details are available on the Pulse page for that repository? (Choose 4)
-
❏ A. Total number of repository forks
-
❏ B. Counts comparing proposed pull requests and merged pull requests for the selected period
-
❏ C. Lists of issues that were opened and closed during the chosen timeframe
-
❏ D. A list of unresolved review conversations across pull requests
-
❏ E. The number of commits to the default branch and the contributors who made them in that period
-
❏ F. A concise overview that summarizes recent repository activity in the selected window
Lina works on a project in her company’s GitHub Enterprise instance that is hosted at example.com. She needs to find the list of accounts that have starred the repository named “pro-devops-patterns” in the acme-labs namespace. Which URL should she open to view that list?
You want to explore popular integrations that are trending for your organization’s GitHub repositories. Which GitHub area should you visit to browse these apps?
-
❏ A. GitHub Apps
-
❏ B. GitHub Connect
-
❏ C. GitHub Marketplace
-
❏ D. Public Repository
-
❏ E. GitHub Packages
A new maintainer at scrumtuous.com is reviewing repository features and wants to know what GitHub Wikis are used for. Which description best fits GitHub Wikis?
-
❏ A. The official GitHub help website
-
❏ B. A section in a repository for collaborative project documentation
-
❏ C. A feature intended for hosting and sharing code snippets
-
❏ D. Google Cloud Source Repositories
RiverTech Labs uses GitHub Enterprise Cloud to manage several projects and teams. Within this organization, which actions fall under the permissions of a billing manager?
-
❏ A. Create repositories in the organization and commit to any branch
-
❏ B. See private members of the organization and manage access to teams
-
❏ C. Change the organization’s plan tier, add or remove payment cards, and retrieve billing receipts
-
❏ D. Invite and remove other billing managers, review payment history, and manage GitHub Marketplace app subscriptions
While building a new module for scrumtuous.com, you enable GitHub Copilot in your IDE to help complete code and comments. What scope of context does Copilot evaluate to generate its suggestions?
-
❏ A. It reads the entire repository and uses every file
-
❏ B. It limits itself to the single file currently open
-
❏ C. It considers the open file and other related files in the project
-
❏ D. It uses only the characters on the current line
An engineer at scrumtuous.com is reviewing the lifecycle of files in a Git project and wants to identify valid states that a file already under version control can be in. Which terms correctly represent such states? (Choose 2)
-
❏ A. Tracked
-
❏ B. Staged
-
❏ C. Cloud Source Repositories
-
❏ D. Pushed to remote
-
❏ E. Modified
A developer at mcnz.com opens a pull request from a feature branch and continues to push updates during review. In this situation, what best describes a commit and its relationship to the open pull request?
-
❏ A. A commit is a request to merge one branch into another
-
❏ B. A commit is a discrete set of file changes saved on a branch, and any new commits pushed to that branch are automatically included in the open pull request
-
❏ C. A commit can only be created after the pull request has been merged
-
❏ D. A commit is only a notification sent to collaborators about proposed changes
-
❏ E. A commit is a snapshot that belongs to the pull request instead of the branch
A product team at scrumtuous.com uses GitHub to coordinate a release plan. They intend to group about 18 issues and 4 pull requests into targets for the next 45 days and they want a clear way to see how close each target is to completion. What primary advantage will creating milestones give this team?
-
❏ A. Milestones enforce consistent coding standards across the repository
-
❏ B. Milestones provide a progress focused roadmap that tracks grouped issues and pull requests toward a goal
-
❏ C. Milestones run CI and CD workflows for builds and deployments
-
❏ D. Milestones let multiple developers edit the same file in real time
A development team at scrumtuous.com is standardizing how new GitHub repositories are set up for internal projects, and they want to follow common best practices. Which action is generally not considered a recommended practice for managing repository content and workflow?
-
❏ A. Enable protected rules on the main branch with required reviews and checks
-
❏ B. Commit large binary artifacts such as videos or machine images directly to the repository
-
❏ C. Use topic branches for new work instead of forking for routine changes
-
❏ D. Include a clear README at the root that explains purpose and how to get started
You can find more of my GitHub practice exams on Udemy and certificationexams.pro.
Blue Harbor Collective maintains a static site with GitHub Pages, and a recent publish run continues for more than 10 minutes; what result should the team anticipate?
-
❏ A. The job is paused and will automatically resume later
-
❏ B. GitHub Actions retries the Pages build automatically
-
❏ C. The deployment times out and is marked as failed
-
❏ D. GitHub Pages raises the time limit to accommodate the build
An engineering team at example.com maintains a GitHub repository with a production branch called release-main. They want to prevent force pushes and branch deletion and they also want to require passing status checks and two approving reviews before changes are merged. What is the main purpose of configuring branch protection rules for this branch?
-
❏ A. To enforce two factor authentication for all repository collaborators
-
❏ B. To cap the number of commits that can exist on a branch
-
❏ C. To safeguard important branches by enforcing rules on pushes reviews and required status checks
-
❏ D. To automatically isolate branches that contain suspicious code
At scrumtuous.com the engineering group manages several repositories on GitHub and wants consistent practices for using labels on pull requests. What benefits do labels add when applied to a pull request? (Choose 2)
-
❏ A. It automatically assigns reviewers to the pull request
-
❏ B. It provides clear visual cues about the purpose of the pull request
-
❏ C. It automatically triggers a Cloud Build pipeline for the pull request
-
❏ D. It classifies the type of change being proposed
A documentation writer at scrumtuous.com is preparing a README for a new GitHub repository and wants to apply basic Markdown to organize and annotate the content. Which items represent core Markdown features that they should use?
-
❏ A. import statements method signatures and runtime code blocks
-
❏ B. class declarations variable assignments and function invocations
-
❏ C. headings links task lists and HTML comments
-
❏ D. jobs steps and runners in GitHub Actions
At mcnz.com your developer education team wants to share a single link that launches a GitHub Codespaces environment with the right devcontainer configuration, required extensions, and the correct branch so that newcomers have an identical workspace from the start. What is this kind of link and why would a team use it?
-
❏ A. A webhook endpoint used by GitHub Actions for continuous integration
-
❏ B. A deep link that immediately opens a configured GitHub Codespace for a specific repo and branch
-
❏ C. An invitation link that adds collaborators to a repository
-
❏ D. A Google Cloud Shell URL that launches a browser-based terminal in a GCP project
Priya Rao is contributing to a repository on GitHub for a team at Seabright Analytics. She opened a pull request to merge her feature branch into the main branch, but some status checks are failing. She wants to understand what status checks are on GitHub and why they are valuable during pull request reviews. What are status checks on GitHub and how are they useful?
-
❏ A. Cloud Build
-
❏ B. They are manual checks that developers perform to review code style and logic before approving a pull request
-
❏ C. They are automated validations such as GitHub Actions or external CI services that run on each push and report whether commits satisfy the repository’s required checks for merging
-
❏ D. Branch protection rules
At RiverTech a team maintains a GitHub repository for an SDK and a developer needs to change the name and color of several existing labels to improve issue management. Who is permitted to make those label changes in the repository?
-
❏ A. Only repository administrators
-
❏ B. Organization owners only
-
❏ C. Only users with the triage role
-
❏ D. Anyone who has write permissions to the repository
Alicia maintains an open source Python tool on GitHub and wants to publicly recognize community members who have contributed to the repository and the project’s Python dependencies. Where should she go in GitHub to view the list of contributors?
-
❏ A. In the repository’s README file
-
❏ B. Repository settings
-
❏ C. By visiting https://github.com/REPO-OWNER/REPO-NAME/graphs/contributors
-
❏ D. In the repository’s dependency graph
Nina manages a repository for the engineering team at scrumtuous.com and has enabled branch protection that requires at least three approving reviews before a pull request can be merged into the default branch. Who can serve as an approver for these reviews? (Choose 2)
-
❏ A. Followers of the repository
-
❏ B. Assigned code owners for files that the pull request changes
-
❏ C. Users with only read access to the repository
-
❏ D. Anyone with write permissions on the repository
An engineer at mcnz.com wants to commit and push code without using the command line and is choosing between GitHub Desktop and working in the GitHub website. Which statement accurately distinguishes GitHub Desktop from the GitHub web UI?
-
❏ A. GitHub Desktop includes built-in UI flows to configure many third party CI or CD systems
-
❏ B. GitHub Desktop is a feature inside Google Cloud Console
-
❏ C. GitHub Desktop is an installable desktop app that runs locally
-
❏ D. GitHub Desktop works only on Windows right now
-
❏ E. GitHub Desktop requires an Enterprise plan
A small engineering team at scrumtuous.com has created a new repository and wants a space for in depth guides that go beyond the concise README. They need a place within GitHub to capture setup steps, tutorials, architectural notes, and project principles. What are GitHub Wiki pages commonly used for in this situation?
-
❏ A. They provide a private area that only repository owners can view
-
❏ B. Cloud Run
-
❏ C. They host the main summary of the repository on the landing page
-
❏ D. They are used to publish extended documentation such as how to install, use, and architect the project
As you configure your repository to run in an online codespace at example.com, what does a dev container provide?
-
❏ A. To write automation that builds and tests code as part of repository workflows
-
❏ B. To manage inbound and outbound firewall rules for repository network access
-
❏ C. To define a Docker based development workspace with required tools and dependencies that runs on a virtual machine
-
❏ D. To delegate build and test execution to Cloud Build on Google Cloud
Your engineering group at Blue Harbor Robotics launched an InnerSource contribution initiative five months ago and you have tracked participation and delivery metrics since launch. Which metric would most strongly indicate that the initiative is thriving?
-
❏ A. A steady decline in newly opened issues
-
❏ B. A surge in Cloud Build pipeline executions across repositories
-
❏ C. A pronounced increase in pull requests that remediate bugs
-
❏ D. Monitoring the weekly commit count for each team
A product team at example.com uses GitHub Projects to manage tasks and they want to enable simple rules in about 20 minutes without writing scripts or running external services. Which option should they use to add automation directly inside the project so they can move quickly?
-
❏ A. GitHub CLI
-
❏ B. Built-in project automation
-
❏ C. GraphQL API
-
❏ D. GitHub Actions
Your team at scrumtuous.com frequently posts the same guidance in GitHub issues and pull requests and you want a fast way to insert standardized comments without typing them each time. Which GitHub feature should you use to streamline this?
-
❏ A. Labels
-
❏ B. Saved replies
-
❏ C. GitHub Actions
-
❏ D. Issue and pull request templates
A developer at Lighthouse Robotics is reviewing a repository on GitHub and wants to see recent commit and pull request activity using the Pulse view. Where in the repository interface should they go to open Pulse?
-
❏ A. Open the Code tab in the repository and select Pulse from the file browser
-
❏ B. Open Settings for the repository and enable Pulse to make it visible
-
❏ C. Go to the Insights tab in the repository and choose Pulse
-
❏ D. Navigate to the Actions tab and pick Pulse from the workflow list
A development team at Nebula Works wants to standardize how they use Git and needs to clarify the difference between GitHub Desktop and GitHub.com for everyday coding and collaboration. Which statement best distinguishes these two products?
-
❏ A. GitHub Desktop is only for browser based editing and requires a constant internet connection, while GitHub.com supports offline development workflows
-
❏ B. GitHub Desktop is a command line tool for Git, while GitHub.com is a website for hosting repositories
-
❏ C. GitHub Desktop is a free open source desktop app for working with local Git repositories that can sync with Git hosting services, while GitHub.com is the web platform for repository hosting collaboration and project management
-
❏ D. GitHub Desktop provides cloud hosted development environments similar to Codespaces, while GitHub.com is used only for issue tracking
You manage a public repository for ArcRiver Technologies on GitHub and need to report engagement trends over the last 90 days. You want to understand who is using the project and which activities drive interest so you can share actionable metrics with leadership. How can the Repository Insights views support this effort?
-
❏ A. Repository Insights lets you manage and assign every open task and issue in the project
-
❏ B. Cloud Monitoring
-
❏ C. Repository Insights and repository graphs visualize traffic trends, contributor activity, commits, dependents, forks, and network to help you understand repository usage
-
❏ D. Repository Insights highlights secret scanning alerts and code scanning alerts
A developer at mcnz.com starts a feature that will likely change over the next eight days and wants teammates to see the direction and offer suggestions while avoiding a formal review, so why would they open a draft pull request on GitHub?
-
❏ A. Draft pull requests are required for very large repositories and cannot be skipped
-
❏ B. To automatically start continuous integration and deployment workflows as soon as the pull request is opened
-
❏ C. To signal that the work is still in progress and to invite early feedback without initiating a full review
-
❏ D. To block all collaboration so no one can comment or suggest changes until the code is complete
You can find more of my GitHub practice exams on Udemy and certificationexams.pro.
A developer at Northwind Robotics has just activated a GitHub Copilot subscription for their personal account. What should they do next to begin receiving code suggestions in their projects?
-
❏ A. Create a GitHub Actions workflow that provisions Copilot for each repository
-
❏ B. Toggle a setting in the repository to enable Copilot on that repo
-
❏ C. Install and enable the GitHub Copilot extension in a supported IDE such as Visual Studio Code or a JetBrains IDE and start coding
-
❏ D. Wait for Copilot to automatically add suggestions to issues and pull requests
A support team at Alpine Robotics maintains several repositories on GitHub and wants to cut down on repeated typing during pull request reviews and issue conversations. What is the main benefit they would gain by setting up saved replies?
-
❏ A. Keep sensitive notes and credentials that teammates can reuse across repositories
-
❏ B. Track edits and merges happening on multiple branches in a repository
-
❏ C. Speed up and standardize discussions in reviews and issues by inserting predefined responses
-
❏ D. Automatically draft new responses to common questions without any reviewer input
Riverton Labs needs to review how many commits were pushed to one of its GitHub repositories each week across the last 12 months. Which GitHub view should they open to see a yearlong visualization of commit activity?
-
❏ A. Contributors graph
-
❏ B. Activity view
-
❏ C. Commit activity graph
-
❏ D. Code frequency
Engineers at LumaWorks collaborate across 12 time zones and need to propose updates to the production codebase without risking stability. In Git, what approach allows them to submit changes in an isolated workspace and request review before merging to the main branch?
-
❏ A. Adopt a centralized version control workflow
-
❏ B. Enable branch protection rules on the main branch
-
❏ C. Create feature branches and open pull requests for review
-
❏ D. Schedule all commits within a shared four hour window each day
At mcnz.com a repository uses a CODEOWNERS file and a developer converts an open pull request to a draft while they continue work, so how are code owner reviews handled for that draft pull request?
-
❏ A. GitHub immediately adds all code owners as reviewers even when the pull request is in draft
-
❏ B. Code owners receive a notification but they cannot submit a review on a draft
-
❏ C. Automatic code owner review requests do not occur while the pull request stays in draft
-
❏ D. Code owners must merge the draft pull request before it can leave draft
Your team at LumaVista Studios ships to production every 2 weeks and maintains a service on GitHub that relies on many open source libraries, and you must keep those dependencies secure as new vulnerabilities are disclosed while avoiding automatic upgrades to the newest releases that could break builds. What should you implement to automatically detect insecure dependencies and open update proposals?
-
❏ A. Enable CodeQL code scanning
-
❏ B. Pin your package files to the latest available versions
-
❏ C. Turn on Dependabot security updates and alerts for the repository
-
❏ D. Manually review each library across multiple advisory sites before adding it
GitHub Certification Questions Answered
You can find more of my GitHub practice exams on Udemy and certificationexams.pro.
At Northlake Robotics on example.com, a team lead opens the Pulse page in the Insights tab of a GitHub repository to review activity from the last 28 days. Which details are available on the Pulse page for that repository? (Choose 4)
-
✓ B. Counts comparing proposed pull requests and merged pull requests for the selected period
-
✓ C. Lists of issues that were opened and closed during the chosen timeframe
-
✓ E. The number of commits to the default branch and the contributors who made them in that period
-
✓ F. A concise overview that summarizes recent repository activity in the selected window
The correct options are Counts comparing proposed pull requests and merged pull requests for the selected period, Lists of issues that were opened and closed during the chosen timeframe, The number of commits to the default branch and the contributors who made them in that period, and A concise overview that summarizes recent repository activity in the selected window.
The Pulse page includes clear pull request activity metrics for the chosen window. You can quickly see how many pull requests were opened compared to how many were merged so you can gauge review and merge throughput.
It also reports issue activity for that timeframe. You can review which issues were opened and which were closed so you can understand triage and resolution pace.
Pulse highlights commit activity on the default branch for the selected window and shows who contributed those commits. This helps you identify the volume of changes and the people involved.
All of this is presented in a high level summary so you get a quick snapshot of recent repository activity without drilling into multiple pages.
Total number of repository forks is not part of Pulse. Fork counts appear on the repository header and in network insights rather than on the Pulse activity summary.
A list of unresolved review conversations across pull requests is not shown on Pulse. Unresolved conversations are managed within individual pull requests or code review views and are not summarized on the Pulse page.
Match the feature to the page focus. Pulse summarizes recent repository activity over a selected time window, so look for pull request and issue counts and default branch commits rather than static repository stats or detailed code review threads.
Lina works on a project in her company’s GitHub Enterprise instance that is hosted at example.com. She needs to find the list of accounts that have starred the repository named “pro-devops-patterns” in the acme-labs namespace. Which URL should she open to view that list?
The correct option is https://example.com/acme-labs/pro-devops-patterns/stargazers which opens the stargazers page for that repository and shows the accounts that have starred it.
GitHub exposes the list of people who starred a repository at the stargazers endpoint by appending stargazers to the repository path. On GitHub Enterprise you use your instance domain, then the owner namespace and repository name, then stargazers. This is why that URL returns the list Lina needs.
https://example.com/acme-labs/pro-devops-patterns?tab=stars is not the page that shows who starred a repository because the stars tab is used on a user or organization profile to list repositories that profile has starred rather than the people who starred a specific repository.
https://example.com/stars points to a general stars page for the signed in user and it does not list stargazers for a specific repository.
https://example.com/acme-labs/pro-devops-patterns/stars is not a valid repository subpage for stargazers and the correct repository subpage is stargazers.
When a question asks for a page that lists people related to a repository action, look for the common repository subpage pattern such as stargazers or watchers that you append directly to the repository path.
You want to explore popular integrations that are trending for your organization’s GitHub repositories. Which GitHub area should you visit to browse these apps?
-
✓ C. GitHub Marketplace
The correct option is GitHub Marketplace because it is the central place on GitHub to browse, discover, and install integrations that are popular and trending for repositories and organizations.
In this catalog you can filter by category and pricing and see what is trending. You can review details and permissions and install integrations directly into your organization or specific repositories.
GitHub Apps names the integration type and the developer platform used to build apps. It is not the browsing destination for discovering popular integrations.
GitHub Connect links GitHub Enterprise Server with GitHub.com to enable features across environments. It is not used to browse or install third party integrations.
Public Repository describes a repository visibility setting and it is not an area for finding integrations.
GitHub Packages is the package hosting service for container and language package registries and it is not where you browse integrations for repositories or organizations.
When a question asks where to find integrations, look for keywords like browse, install, and trending since these usually indicate the dedicated catalog for apps.
A new maintainer at scrumtuous.com is reviewing repository features and wants to know what GitHub Wikis are used for. Which description best fits GitHub Wikis?
-
✓ B. A section in a repository for collaborative project documentation
The correct option is A section in a repository for collaborative project documentation.
GitHub Wikis provide a dedicated space within each repository where collaborators can write and organize documentation that lives alongside the code. They support multiple pages and version history and they are well suited for guides, architecture notes, onboarding instructions, and other living documents that evolve with the project.
The official GitHub help website refers to GitHub Docs, which is the product documentation site maintained by GitHub. That site explains how to use GitHub features while a repository wiki is where a project team documents its own project.
A feature intended for hosting and sharing code snippets describes GitHub Gists rather than repository wikis. Gists are optimized for sharing small pieces of code or text and they are not a full project documentation space.
Google Cloud Source Repositories is a separate Google service that hosted Git repositories and it is unrelated to GitHub Wikis. It has been retired which makes it even less relevant for current questions.
Match each description to the right GitHub feature by function. Wikis are for collaborative project docs, gists are for snippets, and GitHub Docs is the vendor help site.
RiverTech Labs uses GitHub Enterprise Cloud to manage several projects and teams. Within this organization, which actions fall under the permissions of a billing manager?
-
✓ C. Change the organization’s plan tier, add or remove payment cards, and retrieve billing receipts
The correct option is Change the organization’s plan tier, add or remove payment cards, and retrieve billing receipts.
A billing manager in GitHub Enterprise Cloud is focused on billing and subscription administration. This role can adjust the organization plan, maintain payment methods, and access invoices and receipts, while it does not grant repository access or member and team management capabilities.
The option Create repositories in the organization and commit to any branch is incorrect because creating repositories depends on organization settings and membership, and committing requires repository permissions. The billing manager role does not provide code or repository privileges.
The option See private members of the organization and manage access to teams is incorrect because only organization owners or team maintainers can manage team membership or view private members, and billing managers do not have these administrative permissions.
The option Invite and remove other billing managers, review payment history, and manage GitHub Marketplace app subscriptions is incorrect because only organization owners can add or remove billing managers and owners manage Marketplace app installations and subscriptions for the organization. A billing manager can view payment history and receipts, but they cannot control who serves as a billing manager or administer Marketplace apps.
Match a role to its core domain. For a billing manager think subscription, payment methods, and receipts rather than repositories or teams. If any part of an option falls outside that domain then treat the entire option as incorrect.
While building a new module for scrumtuous.com, you enable GitHub Copilot in your IDE to help complete code and comments. What scope of context does Copilot evaluate to generate its suggestions?
-
✓ C. It considers the open file and other related files in the project
The correct option is It considers the open file and other related files in the project.
GitHub Copilot generates suggestions by drawing context from the code and comments in the file you are editing. It can also use information from other files in your workspace that are relevant to the code you are writing which helps it produce coherent and consistent completions within the project.
It reads the entire repository and uses every file is incorrect because Copilot does not scan every file in the repository for each suggestion and it operates within a limited context window so that suggestions remain fast and focused.
It limits itself to the single file currently open is incorrect because Copilot can incorporate project context beyond the active file when related symbols or imports indicate useful connections.
It uses only the characters on the current line is incorrect because the model reads surrounding code and comments in the current file and can use additional project context to better understand intent.
When a question asks about the scope of AI code completion, think of the active file plus project context and related files. Answers that claim only a single line or the entire repository are often distractors.
An engineer at scrumtuous.com is reviewing the lifecycle of files in a Git project and wants to identify valid states that a file already under version control can be in. Which terms correctly represent such states? (Choose 2)
-
✓ B. Staged
-
✓ E. Modified
The correct options are Modified and Staged.
In Git, a file under version control can be in Modified when its working directory content differs from the last committed snapshot. It can be in Staged when those changes have been added to the index and are ready to be committed.
Tracked is not a state of change for an individual file that is already under version control. It is a broad classification that simply indicates the file is part of the repository which does not tell you whether it is unmodified or in Modified or Staged.
Cloud Source Repositories is a hosted service for source control and not a file lifecycle state in Git. It has been retired by Google which makes it even less likely to appear on newer exams.
Pushed to remote describes an action that updates a remote repository and not the state of a specific file in your working directory or index.
When a question narrows the scope to files already under version control, focus on working directory and staging area states such as modified, staged, or unmodified, and ignore hosting services or repository actions.
A developer at mcnz.com opens a pull request from a feature branch and continues to push updates during review. In this situation, what best describes a commit and its relationship to the open pull request?
-
✓ B. A commit is a discrete set of file changes saved on a branch, and any new commits pushed to that branch are automatically included in the open pull request
The correct option is A commit is a discrete set of file changes saved on a branch, and any new commits pushed to that branch are automatically included in the open pull request.
This is correct because a commit records a specific snapshot of changes in the repository history and it is associated with a branch that references it. On GitHub a pull request tracks the head branch and compares it to a base branch. When you push additional commits to the same head branch during review the open pull request updates automatically to include those new commits.
A commit is a request to merge one branch into another is incorrect because a request to merge is a pull request while a commit records changes and does not propose or perform a merge by itself.
A commit can only be created after the pull request has been merged is incorrect because you create commits independently of pull requests and you typically create them before opening one. You can also create commits after a pull request merges on any branch.
A commit is only a notification sent to collaborators about proposed changes is incorrect because a commit stores content and metadata in the repository. Notifications may be sent by the hosting platform but they are not what a commit is.
A commit is a snapshot that belongs to the pull request instead of the branch is incorrect because commits belong to the repository history and are referenced by branches. A pull request simply points to a branch and reflects whatever commits are on that branch.
When a scenario mentions pushing more changes during review map each action to the right concept. A commit records changes on a branch and a pull request follows that branch so new commits appear in the same pull request automatically.
A product team at scrumtuous.com uses GitHub to coordinate a release plan. They intend to group about 18 issues and 4 pull requests into targets for the next 45 days and they want a clear way to see how close each target is to completion. What primary advantage will creating milestones give this team?
-
✓ B. Milestones provide a progress focused roadmap that tracks grouped issues and pull requests toward a goal
The correct option is Milestones provide a progress focused roadmap that tracks grouped issues and pull requests toward a goal. This aligns with the team’s plan to bundle roughly 18 issues and 4 pull requests into time bound targets for the next 45 days and to see how close each target is to completion.
Milestones in GitHub let you group issues and pull requests under a named goal with a due date. They show a progress bar and counts of open and closed items which gives the team an at a glance view of completion status. You can filter to see what remains or what is done and you can adjust scope as priorities shift, which makes milestones well suited for release planning over a fixed timeframe.
Milestones enforce consistent coding standards across the repository is incorrect because milestones track work and progress rather than enforce rules. Coding standards are typically enforced by linters and formatting tools along with workflows, branch protections, and code review policies.
Milestones run CI and CD workflows for builds and deployments is incorrect because builds and deployments are handled by automation tools such as GitHub Actions or other CI systems. Milestones only organize and display progress for issues and pull requests.
Milestones let multiple developers edit the same file in real time is incorrect because Git and GitHub coordinate changes through commits, branches, and merges rather than real time co editing. Real time editing is not a milestone feature.
When a question mentions grouping issues and pull requests with a due date and visible progress think milestones. If it mentions automation, builds, or deployments think GitHub Actions instead, and if it hints at real time editing that is not a milestones feature.
A development team at scrumtuous.com is standardizing how new GitHub repositories are set up for internal projects, and they want to follow common best practices. Which action is generally not considered a recommended practice for managing repository content and workflow?
-
✓ B. Commit large binary artifacts such as videos or machine images directly to the repository
The correct option is Commit large binary artifacts such as videos or machine images directly to the repository.
This is not recommended because Git repositories work best with text files that can be diffed and compressed efficiently. Storing large binaries inflates repository size, slows cloning and fetching, makes history rewrites painful, and prevents meaningful code reviews. Platform limits and warnings are easy to hit with big files, and better solutions exist such as using Git Large File Storage, release assets, artifact repositories, or external storage while keeping pointers in the repo.
Enable protected rules on the main branch with required reviews and checks is a recommended practice because branch protection with required reviews and status checks helps maintain code quality and stability. It reduces the chance of breaking changes landing in the default branch and enforces a healthy review and CI workflow.
Use topic branches for new work instead of forking for routine changes is recommended in most internal team settings because feature branches keep changes isolated and easy to review while keeping history organized. Forks are better for external contributions or when permissions require them, while topic branches streamline day to day collaboration within a single repository.
Include a clear README at the root that explains purpose and how to get started is a best practice because it guides contributors on project scope, setup, and usage. A good README improves onboarding, reduces confusion, and sets consistent standards across repositories.
When a question asks for what is not recommended, look for practices that hurt performance or violate platform limits. Prefer answers that strengthen reviews, CI, and clarity such as protected branches, feature branches, and READMEs.
You can find more of my GitHub practice exams on Udemy and certificationexams.pro.
Blue Harbor Collective maintains a static site with GitHub Pages, and a recent publish run continues for more than 10 minutes; what result should the team anticipate?
-
✓ C. The deployment times out and is marked as failed
The correct option is The deployment times out and is marked as failed.
GitHub Pages applies a strict limit of about ten minutes for each publish run. If the build or deployment exceeds this window the system stops the run and marks it as failed so the site does not publish.
The job is paused and will automatically resume later is incorrect because GitHub Pages does not pause long builds. Once the limit is reached the run is terminated and you must trigger a new attempt.
GitHub Actions retries the Pages build automatically is incorrect because there is no automatic retry for Pages builds that time out. You need to rerun the workflow or push a new commit to start another publish run.
GitHub Pages raises the time limit to accommodate the build is incorrect because the time limit is fixed. You must reduce build time or adjust your workflow rather than relying on a longer limit.
When options mention runtime behavior, look for concrete limits and timeouts stated by the service. Answers that promise automatic retries or flexible limits are often distractors.
An engineering team at example.com maintains a GitHub repository with a production branch called release-main. They want to prevent force pushes and branch deletion and they also want to require passing status checks and two approving reviews before changes are merged. What is the main purpose of configuring branch protection rules for this branch?
-
✓ C. To safeguard important branches by enforcing rules on pushes reviews and required status checks
The correct option is To safeguard important branches by enforcing rules on pushes reviews and required status checks.
GitHub branch protection rules exist to protect critical branches from risky actions and to enforce quality gates before merges. They allow you to block force pushes and prevent branch deletion which preserves commit history and avoids accidental removal of the release branch. They also let you require pull requests with passing status checks and a specific number of approving reviews such as two so the configuration directly meets the team’s needs for release-main.
To enforce two factor authentication for all repository collaborators is incorrect because enforcing two factor authentication is an organization or enterprise security setting and is not managed by branch protection rules on a single branch.
To cap the number of commits that can exist on a branch is incorrect because GitHub does not provide a feature to limit how many commits a branch can have and branch protection does not control commit counts.
To automatically isolate branches that contain suspicious code is incorrect because branch protection does not quarantine or isolate code based on content. Security features like code scanning can alert on findings but they do not automatically isolate branches.
Map scenario keywords like prevent force pushes, prevent deletion, required status checks and two approving reviews to the feature that implements them. These cues strongly indicate branch protection rules.
At scrumtuous.com the engineering group manages several repositories on GitHub and wants consistent practices for using labels on pull requests. What benefits do labels add when applied to a pull request? (Choose 2)
-
✓ B. It provides clear visual cues about the purpose of the pull request
-
✓ D. It classifies the type of change being proposed
The correct options are It provides clear visual cues about the purpose of the pull request and It classifies the type of change being proposed.
Labels add immediately recognizable visual markers on pull requests, which makes intent and status easy to scan in lists and timelines. This speeds triage and helps teams and stakeholders quickly understand context without opening every pull request.
Using a consistent label taxonomy lets the team categorize changes as bug fixes, enhancements, documentation updates, refactors, or breaking changes. This improves filtering and reporting and it supports queries for release notes and project planning.
The option It automatically assigns reviewers to the pull request is incorrect because labels do not assign reviewers on their own. Reviewers can be requested manually or by repository rules and integrations, but a label alone does not trigger reviewer assignment.
The option It automatically triggers a Cloud Build pipeline for the pull request is incorrect because adding a label does not start Cloud Build. Cloud Build triggers are configured in Google Cloud and listen for specific repository events, and labels by themselves do not invoke those triggers.
Check whether a choice describes visibility and organization or an automated action. Labels improve discovery and categorization by default. Claims of automation usually require workflows or external integrations.
A documentation writer at scrumtuous.com is preparing a README for a new GitHub repository and wants to apply basic Markdown to organize and annotate the content. Which items represent core Markdown features that they should use?
-
✓ C. headings links task lists and HTML comments
The correct option is headings links task lists and HTML comments.
These features let you structure a README with clear sections, add navigable references, track to do items that readers can check, and include notes that do not render. They are part of the core syntax supported by GitHub Flavored Markdown and are widely used in documentation.
The option import statements method signatures and runtime code blocks is incorrect because these are programming language elements rather than Markdown syntax. Markdown does support code blocks for display, yet the rest of this grouping is unrelated to Markdown features.
The option class declarations variable assignments and function invocations is incorrect because it lists constructs from programming languages instead of formatting primitives for documentation. These are examples of source code and not features of Markdown.
The option jobs steps and runners in GitHub Actions is incorrect because these terms belong to workflow configuration for automation on GitHub. They relate to continuous integration and automation rather than to Markdown formatting for a README.
Look for items that are the everyday writing tools of Markdown such as headings and links and lists, and avoid choices that describe programming constructs or platform configuration because those usually indicate distractors.
At mcnz.com your developer education team wants to share a single link that launches a GitHub Codespaces environment with the right devcontainer configuration, required extensions, and the correct branch so that newcomers have an identical workspace from the start. What is this kind of link and why would a team use it?
-
✓ B. A deep link that immediately opens a configured GitHub Codespace for a specific repo and branch
The correct option is A deep link that immediately opens a configured GitHub Codespace for a specific repo and branch.
This link can encode the repository, the branch ref, and the path to a devcontainer file so that GitHub creates a codespace with the exact tools, extensions, and settings defined by the project. Newcomers click once and land in an identical workspace which reduces setup friction and ensures consistent environments for onboarding and workshops.
A webhook endpoint used by GitHub Actions for continuous integration is about receiving events from external services to trigger workflows. It does not open a development environment for a repository or select a branch for an editor session.
An invitation link that adds collaborators to a repository is used to grant repository access. It does not provision or launch a codespace with a predefined configuration.
A Google Cloud Shell URL that launches a browser-based terminal in a GCP project is a different service on another platform. It does not create a GitHub Codespaces environment or apply a repository’s devcontainer configuration.
Scan for cues like same environment, right branch, and devcontainer. When a link needs to open a ready workspace for a specific repo and branch, think of a deep link that carries those parameters.
Priya Rao is contributing to a repository on GitHub for a team at Seabright Analytics. She opened a pull request to merge her feature branch into the main branch, but some status checks are failing. She wants to understand what status checks are on GitHub and why they are valuable during pull request reviews. What are status checks on GitHub and how are they useful?
-
✓ C. They are automated validations such as GitHub Actions or external CI services that run on each push and report whether commits satisfy the repository’s required checks for merging
The correct option is They are automated validations such as GitHub Actions or external CI services that run on each push and report whether commits satisfy the repository’s required checks for merging.
On GitHub, status checks are the pass or fail results reported by automation that runs when you push commits to a branch that is the subject of a pull request. They commonly run tests, builds, linters, and security scans, and they publish their outcomes and logs so reviewers can quickly assess whether the change meets project standards. When a repository enables required checks, these results gate the merge so a pull request cannot be merged until all required checks pass, which protects the stability of the main branch and improves review confidence.
Cloud Build is a specific continuous integration service and not the definition of status checks. It can integrate with GitHub to contribute check results, yet by itself it does not describe what status checks are.
They are manual checks that developers perform to review code style and logic before approving a pull request is incorrect because status checks are automated and run on each push, while manual code review is a separate human activity.
Branch protection rules are repository policies that can require status checks, but the rules themselves are not checks. They enforce whether a pull request can be merged based on the results of status checks and other conditions.
Look for phrases that signal automation such as runs on each push and required checks. If an option describes manual review or only names a tool without defining the concept, it is likely not the definition of status checks.
At RiverTech a team maintains a GitHub repository for an SDK and a developer needs to change the name and color of several existing labels to improve issue management. Who is permitted to make those label changes in the repository?
-
✓ D. Anyone who has write permissions to the repository
The correct option is Anyone who has write permissions to the repository because users with write access can create labels and edit existing labels by renaming them and changing their colors.
With write permissions a contributor can manage labels in the repository which includes creating new labels as well as editing or deleting existing ones. This capability is part of issue management granted at the write level and is also available to higher roles that include write permissions.
Only repository administrators is incorrect because label edits are not restricted to administrators. Users with write permissions can perform these changes.
Organization owners only is incorrect because ownership of the organization is not required for editing labels. The required capability is repository write permissions.
Only users with the triage role is incorrect because the triage role can add or remove labels on issues and pull requests but it cannot rename labels or change label colors. Editing label definitions requires write permissions.
Identify the minimum permission that enables the exact action. If the task is to edit a repository resource such as renaming or recoloring labels then look for write or higher rather than options that only allow applying labels like triage or options that are too restrictive like admin only.
Alicia maintains an open source Python tool on GitHub and wants to publicly recognize community members who have contributed to the repository and the project’s Python dependencies. Where should she go in GitHub to view the list of contributors?
-
✓ C. By visiting https://github.com/REPO-OWNER/REPO-NAME/graphs/contributors
The correct option is By visiting https://github.com/REPO-OWNER/REPO-NAME/graphs/contributors.
This page displays the people who have contributed commits to the repository and it is the canonical place to view and share a public list of contributors for a project on GitHub. If Alicia also wants to recognize contributors to the project’s Python dependencies she would need to open each dependency’s repository and view its own contributors page since GitHub does not aggregate contributors across dependencies into one list.
In the repository’s README file is free text that maintainers edit manually. It is not generated from commit history and will not reliably include everyone who contributed or anyone who contributed to dependencies unless someone maintains it by hand.
Repository settings is for configuration and access controls for the repository. It does not provide a generated list of contributors.
In the repository’s dependency graph shows packages and versions in the project and related security information. It does not list people who contributed to the repository or to those dependencies.
When a question asks where to see a definitive list of contributors think of the contributors graph at the repository graphs URL. If you see dependency graph think packages and security data rather than people.
Nina manages a repository for the engineering team at scrumtuous.com and has enabled branch protection that requires at least three approving reviews before a pull request can be merged into the default branch. Who can serve as an approver for these reviews? (Choose 2)
-
✓ B. Assigned code owners for files that the pull request changes
-
✓ D. Anyone with write permissions on the repository
The correct options are Assigned code owners for files that the pull request changes and Anyone with write permissions on the repository.
On GitHub, Assigned code owners for files that the pull request changes are automatically requested to review when their owned paths are modified. They are defined as individuals or teams with appropriate access and their approval counts toward the required number of reviews for protected branches.
Anyone with write permissions on the repository can leave an approving review that satisfies a branch protection rule which requires approvals. This includes collaborators and maintainers with write or higher privileges and their approvals count toward the requirement.
Followers of the repository only subscribe to notifications and do not receive review authority. Their reviews do not count toward required approvals unless they also hold the necessary repository permissions.
Users with only read access to the repository cannot submit approving reviews that satisfy protected branch requirements. They can view changes and leave comments but they cannot approve in a way that allows merging.
When a question asks who can approve, map options to repository permissions. Prioritize collaborators with write access and recognize Code Owners as approvers when their files are changed, then eliminate roles that only watch or have read-only access.
An engineer at mcnz.com wants to commit and push code without using the command line and is choosing between GitHub Desktop and working in the GitHub website. Which statement accurately distinguishes GitHub Desktop from the GitHub web UI?
-
✓ C. GitHub Desktop is an installable desktop app that runs locally
The correct option is GitHub Desktop is an installable desktop app that runs locally.
GitHub Desktop is a downloadable application that you install on your computer and it performs local Git operations such as cloning repositories, creating branches, committing changes, resolving merges, and pushing to remotes. It authenticates with your GitHub account and provides a graphical alternative to the command line which fits the requirement to commit and push without using the terminal.
The GitHub website runs in a browser and lets you view repositories, issues, and pull requests and it supports lightweight edits and commits in the web editor. It does not provide the same local repository workflows that a desktop client offers, which is why the desktop distinction is the accurate differentiator.
The option GitHub Desktop includes built-in UI flows to configure many third party CI or CD systems is incorrect because Desktop focuses on core Git tasks and basic integration with GitHub remotes and it does not provide wizards for external CI or CD tools.
The option GitHub Desktop is a feature inside Google Cloud Console is incorrect because Desktop is a GitHub product that runs as a standalone application and it is not part of any Google Cloud service.
The option GitHub Desktop works only on Windows right now is incorrect because the official app supports both Windows and macOS.
The option GitHub Desktop requires an Enterprise plan is incorrect because the application is free to use and does not require an Enterprise subscription.
Look for wording that indicates local installation and supported operating systems to identify a desktop client. Treat statements that tie products to a specific cloud provider or require a paid plan with skepticism unless the vendor explicitly says so.
You can find more of my GitHub practice exams on Udemy and certificationexams.pro.
A small engineering team at scrumtuous.com has created a new repository and wants a space for in depth guides that go beyond the concise README. They need a place within GitHub to capture setup steps, tutorials, architectural notes, and project principles. What are GitHub Wiki pages commonly used for in this situation?
-
✓ D. They are used to publish extended documentation such as how to install, use, and architect the project
The correct option is They are used to publish extended documentation such as how to install, use, and architect the project.
This aligns with how GitHub Wikis are designed. A wiki gives the team a dedicated space for long form documentation that can span multiple pages and include setup steps, tutorials, architectural notes, and project principles. It complements the README, which is best kept concise for an overview and quick start, while the wiki holds the in depth guides that evolve over time.
They provide a private area that only repository owners can view is incorrect because wiki visibility follows the repository visibility. Public repositories have public wikis when enabled and private repositories restrict wiki access to collaborators rather than only owners.
Cloud Run is incorrect because it is a Google Cloud service for running containers and is unrelated to GitHub Wikis or repository documentation.
They host the main summary of the repository on the landing page is incorrect because that describes the README. The landing page summary comes from the README, not the wiki.
Differentiate a concise README from a multi page wiki. When you see words like installation, tutorials, or architecture you should associate them with the wiki rather than the README.
As you configure your repository to run in an online codespace at example.com, what does a dev container provide?
-
✓ C. To define a Docker based development workspace with required tools and dependencies that runs on a virtual machine
The correct option is To define a Docker based development workspace with required tools and dependencies that runs on a virtual machine.
A dev container describes the development environment with a Docker image or Dockerfile and a configuration file so your editor and tools start with the right runtimes, utilities, and extensions. In an online codespace the container runs on a virtual machine and provides an isolated and reproducible workspace so developers get a consistent setup without manual installation.
To write automation that builds and tests code as part of repository workflows is about continuous integration and is handled by workflow systems such as GitHub Actions rather than by a development container.
To manage inbound and outbound firewall rules for repository network access refers to network security controls and not to how a development environment is defined or provisioned.
To delegate build and test execution to Cloud Build on Google Cloud describes a separate CI service on Google Cloud and is unrelated to what a dev container provides for a developer workspace.
Scan for keywords like Docker image, tools and dependencies, and development environment. If an option talks about CI workflows, firewall rules, or an external build service then it probably is not about dev containers.
Your engineering group at Blue Harbor Robotics launched an InnerSource contribution initiative five months ago and you have tracked participation and delivery metrics since launch. Which metric would most strongly indicate that the initiative is thriving?
-
✓ C. A pronounced increase in pull requests that remediate bugs
The correct option is A pronounced increase in pull requests that remediate bugs.
Pull requests are the primary vehicle for InnerSource collaboration, and a sustained rise in bug fix contributions shows that developers are actively engaging across repositories to improve shared code. This metric reflects code review participation, knowledge sharing, and tangible quality improvements that reduce defect backlog and increase reliability. It measures real collaborative change rather than surface activity, which makes it a strong indicator that the initiative is thriving.
A steady decline in newly opened issues is not a reliable sign of success because fewer issues might mean underreporting, insufficient triage, or shifting work elsewhere. It does not directly measure collaborative contributions or improvements to the codebase.
A surge in Cloud Build pipeline executions across repositories can result from many causes such as added automation, branch churn, or frequent small changes. Pipeline activity does not necessarily reflect InnerSource participation or code quality outcomes, so it is a weak proxy for program health.
Monitoring the weekly commit count for each team focuses on volume rather than impact. Commit counts can be gamed, vary by workflow, and say little about collaboration, review quality, or defect remediation, so they are not a strong indicator of a thriving InnerSource initiative.
Prefer metrics that reflect collaboration and quality over raw activity. Look for evidence of reviewed and integrated changes such as cross team pull requests and bug fix PRs rather than counts of commits or builds.
A product team at example.com uses GitHub Projects to manage tasks and they want to enable simple rules in about 20 minutes without writing scripts or running external services. Which option should they use to add automation directly inside the project so they can move quickly?
-
✓ B. Built-in project automation
The correct option is Built-in project automation.
This feature lives inside GitHub Projects and provides simple rules you can turn on in minutes. It lets you keep automation within the project so you avoid writing code or wiring external services and you can quickly move items, set fields, and keep statuses in sync as work progresses.
GitHub CLI is a command line tool that is great for interactive or scripted commands, yet it does not provide persistent project rules in the UI and would require manual runs or custom scripts, which does not meet the requirement.
GraphQL API offers powerful control, however you must write and host code and often connect webhooks or schedulers, so it is not the fast no script approach requested.
GitHub Actions can automate many workflows, but it requires creating repository workflows and maintaining YAML which is heavier than enabling a few built in rules directly in a project for quick results.
When a scenario emphasizes no scripts and speed with automation inside the project, prefer the built in option in the product. If the need expands to complex logic or cross repository orchestration, then consider platform features that require code.
Your team at scrumtuous.com frequently posts the same guidance in GitHub issues and pull requests and you want a fast way to insert standardized comments without typing them each time. Which GitHub feature should you use to streamline this?
-
✓ B. Saved replies
The correct answer is Saved replies because it provides reusable snippets that you can quickly insert into issue and pull request comments.
This feature lets you create standardized responses once and then insert them with a few clicks or keystrokes in any conversation. It is designed specifically to streamline repeated guidance in reviews and discussions so it fits the scenario of posting the same guidance across many issues and pull requests.
Labels are used to categorize and filter issues and pull requests, and they do not help you insert predefined comment text.
GitHub Actions is a workflow automation platform for building and automation tasks, and it is not the tool you use to manually insert canned comments while writing a reply.
Issue and pull request templates provide default content when opening new issues or pull requests, and they do not help with adding repeated comments after those items are created.
Look for cues that mention posting the same comment text repeatedly in conversations. That points to saved replies rather than templates which apply when creating new issues or pull requests.
A developer at Lighthouse Robotics is reviewing a repository on GitHub and wants to see recent commit and pull request activity using the Pulse view. Where in the repository interface should they go to open Pulse?
-
✓ C. Go to the Insights tab in the repository and choose Pulse
The correct option is Go to the Insights tab in the repository and choose Pulse.
This view is part of repository insights and is opened from the repository’s Insights tab. From there you select Pulse to see a summary of recent commits and pull requests along with other activity for a chosen time period.
Open the Code tab in the repository and select Pulse from the file browser is incorrect. The Code tab focuses on browsing files and source history and it does not provide this activity summary view.
Open Settings for the repository and enable Pulse to make it visible is incorrect. There is no feature toggle for this view in Settings and nothing needs to be enabled to access it.
Navigate to the Actions tab and pick Pulse from the workflow list is incorrect. The Actions tab is dedicated to workflows and automation and it does not contain this activity view.
Map the feature to the repository tabs in your head. Views that summarize activity or analytics are usually under Insights rather than Code, Settings, or Actions.
A development team at Nebula Works wants to standardize how they use Git and needs to clarify the difference between GitHub Desktop and GitHub.com for everyday coding and collaboration. Which statement best distinguishes these two products?
-
✓ C. GitHub Desktop is a free open source desktop app for working with local Git repositories that can sync with Git hosting services, while GitHub.com is the web platform for repository hosting collaboration and project management
The correct option is GitHub Desktop is a free open source desktop app for working with local Git repositories that can sync with Git hosting services, while GitHub.com is the web platform for repository hosting collaboration and project management.
GitHub Desktop is a graphical desktop application that helps you clone repositories, manage branches, commit changes, resolve simple conflicts, and push or pull to remotes. It works offline for local operations and connects to GitHub or other Git hosting services when you need to sync.
GitHub.com is the web platform where repositories are hosted and where teams collaborate. You use it for pull requests, code review, issues, discussions, releases, and project management features.
GitHub Desktop is only for browser based editing and requires a constant internet connection, while GitHub.com supports offline development workflows is incorrect because Desktop is not browser based and it supports offline work for local Git operations. GitHub.com is a web service and it does not provide offline development.
GitHub Desktop is a command line tool for Git, while GitHub.com is a website for hosting repositories is incorrect because Desktop is a graphical client rather than a command line tool, and the statement does not accurately distinguish their roles.
GitHub Desktop provides cloud hosted development environments similar to Codespaces, while GitHub.com is used only for issue tracking is incorrect because Desktop does not provision cloud development environments and GitHub.com offers many features beyond issue tracking such as repositories, pull requests, and project planning.
When a question contrasts Git tools, first identify whether the product is a desktop client or a web platform. Verify claims about offline work or cloud environments by mapping them to typical Git workflows.
You manage a public repository for ArcRiver Technologies on GitHub and need to report engagement trends over the last 90 days. You want to understand who is using the project and which activities drive interest so you can share actionable metrics with leadership. How can the Repository Insights views support this effort?
-
✓ C. Repository Insights and repository graphs visualize traffic trends, contributor activity, commits, dependents, forks, and network to help you understand repository usage
The correct option is Repository Insights and repository graphs visualize traffic trends, contributor activity, commits, dependents, forks, and network to help you understand repository usage.
GitHub Repository Insights and the associated graphs surface engagement signals that matter for a public project. Traffic views and clones show interest over time and contributor and commit activity reveal who is participating and how frequently. Dependents indicate real adoption by other repositories and packages and the forks and network graphs illustrate how the community is branching and building on your work. Together these views help you report trends and understand which activities drive attention so you can share actionable metrics with leadership.
Repository Insights lets you manage and assign every open task and issue in the project is incorrect because Insights focuses on analytics and visualization. Managing and assigning issues is done in GitHub Issues or Projects rather than in Insights.
Cloud Monitoring is incorrect because it is not a GitHub feature for repository analytics and it does not provide the repository graphs or usage views needed here.
Repository Insights highlights secret scanning alerts and code scanning alerts is incorrect because those alerts appear under the Security features and security overview rather than in the Insights views.
Scan options for the specific GitHub features named and match them to the question goal. If the task is to measure engagement and usage then look for Insights, graphs, traffic, contributors, forks, and dependents rather than options about issue management or security alerts.
A developer at mcnz.com starts a feature that will likely change over the next eight days and wants teammates to see the direction and offer suggestions while avoiding a formal review, so why would they open a draft pull request on GitHub?
-
✓ C. To signal that the work is still in progress and to invite early feedback without initiating a full review
The correct option is To signal that the work is still in progress and to invite early feedback without initiating a full review.
A draft pull request lets a developer share work in progress so teammates can follow the direction and start a conversation without triggering a formal review. It keeps collaboration open for comments and suggestions while clearly indicating that the changes are not ready for review. The author can later mark it as ready when the feature stabilizes.
Draft pull requests are required for very large repositories and cannot be skipped is incorrect because this status is optional for any repository and there is no requirement based on repository size.
To automatically start continuous integration and deployment workflows as soon as the pull request is opened is incorrect because draft pull requests do not start pull request triggered workflows by default and they typically run when the request is marked ready for review.
To block all collaboration so no one can comment or suggest changes until the code is complete is incorrect because collaborators can still comment and suggest changes on this type of request and the label only prevents the formal review process from starting.
Look for phrases like work in progress and early feedback with no formal review to identify draft pull requests. Remember that CI for pull request events usually does not run on drafts until they are marked ready for review.
A developer at Northwind Robotics has just activated a GitHub Copilot subscription for their personal account. What should they do next to begin receiving code suggestions in their projects?
-
✓ C. Install and enable the GitHub Copilot extension in a supported IDE such as Visual Studio Code or a JetBrains IDE and start coding
The correct option is Install and enable the GitHub Copilot extension in a supported IDE such as Visual Studio Code or a JetBrains IDE and start coding.
This is correct because Copilot delivers suggestions inside your editor once the extension or plugin is installed and you are signed in with your GitHub account. After you enable it in the IDE, Copilot provides real time code completions and suggestions as you type without any repository level configuration.
Create a GitHub Actions workflow that provisions Copilot for each repository is incorrect because Actions workflows do not provision Copilot and there is nothing to automate per repository for editor suggestions.
Toggle a setting in the repository to enable Copilot on that repo is incorrect because Copilot access comes from your account subscription or organizational seat assignment and editor suggestions are not controlled by a per repository switch.
Wait for Copilot to automatically add suggestions to issues and pull requests is incorrect because Copilot suggestions appear while you code in the IDE and it does not automatically post content to issues or pull requests for a personal subscription.
Trace where the feature operates. If functionality clearly runs in the IDE then the next step is usually to install and enable the extension rather than change repository or CI settings.
You can find more of my GitHub practice exams on Udemy and certificationexams.pro.
A support team at Alpine Robotics maintains several repositories on GitHub and wants to cut down on repeated typing during pull request reviews and issue conversations. What is the main benefit they would gain by setting up saved replies?
-
✓ C. Speed up and standardize discussions in reviews and issues by inserting predefined responses
The correct option is Speed up and standardize discussions in reviews and issues by inserting predefined responses.
Saved replies let reviewers insert prewritten comments into pull request reviews and issues which reduces repeated typing and helps conversations move faster. They promote consistency across a team because everyone can reuse the same approved wording and formatting. They can include markdown and links so they are well suited for common guidance and checklists that a support team frequently shares.
Keep sensitive notes and credentials that teammates can reuse across repositories is incorrect because saved replies are not a secure store for secrets and anything inserted becomes visible in the conversation which would risk exposure.
Track edits and merges happening on multiple branches in a repository is incorrect because saved replies do not provide repository analytics or branch tracking as they only help with writing comments more quickly.
Automatically draft new responses to common questions without any reviewer input is incorrect because saved replies must be chosen and inserted by a person and they do not generate content on their own.
Match the feature to the action it enables. For saved replies look for clues like reuse, consistency, and inserting predefined text, and be wary of options that imply automation without input or storing secrets.
Riverton Labs needs to review how many commits were pushed to one of its GitHub repositories each week across the last 12 months. Which GitHub view should they open to see a yearlong visualization of commit activity?
-
✓ C. Commit activity graph
The correct option is Commit activity graph.
This graph displays the total number of commits for each week across the last year. It provides a clear yearlong visualization of commit activity that directly matches what Riverton Labs needs.
The Contributors graph focuses on individual contributors and how much each person has contributed over time rather than showing the overall weekly commit totals for the repository across a year.
The Activity view shows recent repository events and highlights and it does not present a yearlong weekly commit graph.
The Code frequency graph charts lines of code added and removed over time and it does not report the number of commits per week.
Map the metric in the question to the Insights graph name. For weekly commits across a year think Commit activity. For additions and deletions think Code frequency. For who contributed think Contributors.
Engineers at LumaWorks collaborate across 12 time zones and need to propose updates to the production codebase without risking stability. In Git, what approach allows them to submit changes in an isolated workspace and request review before merging to the main branch?
-
✓ C. Create feature branches and open pull requests for review
The correct option is Create feature branches and open pull requests for review.
This approach gives each engineer an isolated workspace to implement changes while keeping the main branch stable. It enables asynchronous code review so changes are discussed and approved before merge. It suits distributed teams across many time zones and reduces the risk of unreviewed code reaching production.
Adopt a centralized version control workflow is incorrect because a centralized model encourages direct commits to a shared trunk which reduces isolation and does not provide a built in review gate before merge.
Enable branch protection rules on the main branch is insufficient on its own. Protection rules enforce requirements on the main branch but they do not give contributors a separate workspace to stage changes or a structured proposal process before merging.
Schedule all commits within a shared four hour window each day is a coordination policy rather than a Git workflow and it neither isolates work nor guarantees code review and it is hard to sustain across twelve time zones.
Scan the scenario for signals like an isolated workspace and review before merge. When both are required, pick the workflow that proposes changes from a separate context and enforces review rather than options that only add policies or scheduling.
At mcnz.com a repository uses a CODEOWNERS file and a developer converts an open pull request to a draft while they continue work, so how are code owner reviews handled for that draft pull request?
-
✓ C. Automatic code owner review requests do not occur while the pull request stays in draft
The correct option is Automatic code owner review requests do not occur while the pull request stays in draft.
This is correct because GitHub does not request reviews from code owners while a pull request is in draft. Automatic requests are sent when a pull request is opened as ready for review or when the author marks a draft as ready for review. You can still ask for feedback by manually adding reviewers but the code owner automation waits until the pull request is ready.
GitHub immediately adds all code owners as reviewers even when the pull request is in draft is wrong because automatic review requests are deferred while the pull request is in draft and they trigger when the pull request becomes ready for review.
Code owners receive a notification but they cannot submit a review on a draft is incorrect because there is no automatic notification from CODEOWNERS while the pull request remains in draft. The automation only requests code owner reviews once the pull request is marked ready for review.
Code owners must merge the draft pull request before it can leave draft is wrong because draft pull requests cannot be merged and only the author or someone with the necessary permissions can mark the pull request as ready for review to leave draft.
When a question mentions a pull request converted to draft with CODEOWNERS, remember that automatic review requests are paused until it is marked ready for review. Look for wording that implies whether the pull request is ready or still a draft.
Your team at LumaVista Studios ships to production every 2 weeks and maintains a service on GitHub that relies on many open source libraries, and you must keep those dependencies secure as new vulnerabilities are disclosed while avoiding automatic upgrades to the newest releases that could break builds. What should you implement to automatically detect insecure dependencies and open update proposals?
-
✓ C. Turn on Dependabot security updates and alerts for the repository
The correct option is Turn on Dependabot security updates and alerts for the repository. This meets the need to automatically detect vulnerable dependencies and open update proposals while avoiding risky automatic upgrades that could break builds.
This feature monitors manifest and lock files against the GitHub Advisory Database and raises alerts when vulnerabilities are disclosed. It can open pull requests that bump to the minimum secure version within your existing version constraints. It respects semantic versioning and your configuration so it avoids major breaking updates unless you opt in. It does not auto merge by default which lets your team review and ship on your regular release cadence.
Enable CodeQL code scanning focuses on analyzing your source code for security issues and quality concerns. It does not track third party dependency advisories or open pull requests to update packages, so it does not satisfy the requirement.
Pin your package files to the latest available versions forces upgrades to the newest releases and increases the chance of breaking changes. It also does not provide ongoing vulnerability detection or automated pull requests tailored to safe minimal updates.
Manually review each library across multiple advisory sites before adding it is slow and error prone for a codebase with many dependencies. It does not deliver continuous automated alerts or update proposals as new vulnerabilities are published.
Map the requirement to the right capability. If you see needs like automatic pull requests, vulnerability alerts, and controlled updates that avoid breaking changes then prefer the built in dependency management features rather than static code analysis or manual checks.
| Jira, Scrum & AI Certification |
|---|
| Want to get certified on the most popular software development technologies of the day? These resources will help you get Jira certified, Scrum certified and even AI Practitioner certified so your resume really stands out..
You can even get certified in the latest AI, ML and DevOps technologies. Advance your career today. |
Cameron McKenzie is an AWS Certified AI Practitioner, Machine Learning Engineer, Solutions Architect and author of many popular books in the software development and Cloud Computing space. His growing YouTube channel training devs in Java, Spring, AI and ML has well over 30,000 subscribers.
