GitHub Foundations - Full Practice Exam 1

Suggested duration: 100 minutes

Exam code: GH-900

50 questions ยท Free

Start exam

Prepare for GitHub Foundations with 50 original practice questions covering the current objective domains. Includes realistic scenarios, explanations for every answer choice, and a suggested time of 100 minutes.

Study instructions

Choose the best answer unless a question specifies multiple answers. Select the exact requested set for multiple-answer questions. Suggested time is advisory. These independent practice questions are not official exam items.

Questions — 50

  1. A company wants to govern Copilot usage centrally rather than have each employee purchase unmanaged personal access. Which approach fits?
  2. A contributor wants a readable heading and a checklist in a GitHub issue. Which format should they use?
  3. A contributor wants feedback on a proposed code change before it enters the default branch. What should they open?
  4. A developer commits changes on a laptop without internet access. Which statement correctly describes the result?
  5. A developer needs a cloud development environment with a terminal and installed dependencies. Which option fits better than github.dev?
  6. A developer wants Copilot to attempt a multistep change involving edits and test execution. Which statement about agent features is accurate?
  7. A developer wants to inspect new remote commits without integrating them into the current branch. Which command fits?
  8. A developer wants to track a repository they may use later without receiving every conversation notification. What should they choose?
  9. A file is modified but not staged. What does git add normally do?
  10. A finished repository should remain readable while preventing ordinary edits, issues, and pull requests. Which lifecycle action fits?
  11. A first-time contributor wants an approachable task consistent with maintainers' priorities. What is the best approach?
  12. A maintainer needs to group issues toward a version deadline and track completion. Which repository feature fits?
  13. A maintainer wants downloadable artifacts and release notes associated with a version tag. Which GitHub feature fits?
  14. A maintainer wants to show unfinished work and receive early comments without implying readiness to merge. Which PR state fits?
  15. A new contributor wants to understand a project's expected contribution process. Which document should they read first?
  16. A nontechnical reviewer wants to read issues and respond to pull-request discussions from a phone. Which official tool is designed for that workflow?
  17. A private API key was accidentally pushed to a public repository. What is the first essential response?
  18. A project should move closed issues to Done automatically. What should the owner configure?
  19. A public GitHub project has no LICENSE file. Which statements are appropriate? Select 2 answers.
  20. A public repository needs clear expectations for respectful participation and a way to handle misconduct. Which file helps?
  21. A pull request addresses issue 42 in the same repository. Which description can automatically close it when the PR merges into the default branch?
  22. A repository should request reviews from the database team for changes under /schema/. Which file supports path-based reviewer ownership?
  23. A repository tracks a mistakenly committed configuration file. Adding its path to .gitignore does not stop tracking it. Why?
  24. A researcher discovers a vulnerability and wants to report it responsibly. What should they consult before posting details publicly?
  25. A reviewer needs to suggest an exact replacement for a few changed lines. Which PR feature is most useful?
  26. A script needs limited access to selected repositories. Which credential approach follows least privilege?
  27. A team needs a shared container for repositories, access teams, and organization-wide policies. Which account structure fits?
  28. A team plans two-week work cycles and wants issues assigned to recurring time windows. Which project field fits?
  29. A team uses board and table views of one GitHub Project. Which statements are correct? Select 2 answers.
  30. A team wants contributors to propose changes while requiring reviews and passing checks before merging into main. Which control fits?
  31. A team wants repeatable Codespaces tools and runtime configuration checked into its repository. What should it configure?
  32. A team wants tests to run whenever a pull request is updated. Which GitHub capability provides event-driven automation?
  33. A teammate has local commits not present on origin and wants to share them. Which operation sends them to the remote branch?
  34. A teammate says Git and GitHub are interchangeable names. Which distinction is correct?
  35. A user reports a reproducible bug that needs triage and ownership. Which feature is the best starting point?
  36. A workflow defines two independent jobs without needs dependencies. What execution behavior should the author expect when runners are available?
  37. A workflow needs a deployment credential without committing it in YAML. Which mechanisms help? Select 2 answers.
  38. An employee receives an unexpected login prompt. Which account control reduces the risk from a stolen password?
  39. An organization has many repositories and a stable platform team. How should access normally be managed?
  40. Copilot proposes a function for a private repository. Which actions remain the author's responsibility? Select 2 answers.
  41. Enterprise Managed Users are being considered. What is a distinguishing feature?
  42. New repositories should start with a standard directory layout but have independent histories. What should the team provide?
  43. Two branches change the same lines incompatibly. Their merge reports a conflict. What should the developer do?
  44. Users need an open-ended place for questions and ideas that may never become tasks. Which feature fits?
  45. Visitors need setup instructions and a project overview on the repository landing page. Which file is most appropriate?
  46. Which sequence best follows GitHub flow for a small change?
  47. Which statements about commits are correct? Select 2 answers.
  48. You need a local working copy of an existing remote repository and its Git history. Which operation fits?
  49. You need a small shareable code snippet with Git-backed revisions, separate from a full project repository. Which feature fits?
  50. You want an isolated line of development inside an existing repository, with shared history and no separate hosted copy. What should you create?

Comments — 0