Free GH-900 Practice Test Questions and Answers (2026)

Last Update Check

View Mode
Q: 1
While maintaining the gist history, which of the following is the most efficient way to create a public gist based on another user's gist?
Options
37 comments in the community discussion
5
Option A same thing pops up in every MS exam pool, always forking for history.
3
Honestly, Microsoft wording is always so roundabout in these. Option A, fork the gist.
Q: 2
Pull requests can only be created between two branches that are:
Options
33 comments in the community discussion
2
Guessing B, since I've seen PRs happen between branches made by different users in some workflows.
1
Seen this on similar practice tests, it's D. The branches have to be different for a pull request, it's a system requirement.
Q: 3
Which of the following GitHub syntax formats is consistent with the associated text?
Options
37 comments in the community discussion
2
Probably C, since that's the real comment syntax in Markdown. E looks close but that's visible, not hidden. Agree?
2
Nah, not D. C matches the actual comment syntax, D is a trap since that's just plain text.
Q: 4
Where should a repository admin navigate to view pre-built visualizations from repository data?
Options
38 comments in the community discussion
5
C . GitHub's default "Insights" tab gives all the built-in visualizations, not some fake "Charts" section. Seen similar questions on practice exams. If it's just standard features, C is the only logical pick, unless I'm missing something wild.
4
Option C
Q: 5
What are the key areas of focus for GitHub? (Each answer presents a complete solution. Choose three.)
Options
38 comments in the community discussion
1
A B, D here. C is a bit of a trap since GitHub isn't meant as a social platform for PMs, even if it has some project tools. Seen similar in other exams and these three line up with GitHub's main focus areas.
1
Honestly, if "key areas" includes integrations, I could see someone arguing for E since GitHub lets you link with video call apps. But official focus is A, B, D. Maybe a trick question? I think those three are right unless they're sneaking in edge cases.
Q: 6
What is the primary purpose of creating a security policy in a repository?
Options
34 comments in the community discussion
1
C tbh, security policy is mainly about disclosure not reviews or secrets stuff.
1
B tempts me since secret push protection is security related, but I think that's just a settings thing not really covered by the policy doc. B looks close, just not the primary purpose. Open to counterpoints if someone disagrees.
Q: 7
Who can be assigned to an Issue or pull request? (Each answer presents a complete solution. Choose two.)
Options
30 comments in the community discussion
2
B and D tbh, those are the only two ways you can get assigned to an issue or PR on GitHub.
1
I saw a similar question in some official practice sets, and B and D matched the answer key.
Q: 8
How can a user choose to receive ongoing updates about a specific activity on GitHub.com?
Options
39 comments in the community discussion
6
C. That's how you get every update, not just the ones you tweak.
2
C. encountered exactly similar question in my exam. Subscribing to all repo activity sends ongoing updates for everything, matches what they're asking.
Q: 9
Where can you go to discover, browse, and install tools?
Options
39 comments in the community discussion
4
Makes sense to pick A here. Marketplace covers finding and installing integrations, not just browsing repos like D does. Not 100% but that fits how GitHub splits things for tools.
1
Yeah, that's A. GitHub Marketplace is where you actually discover and install tools or integrations-not just browse repos like you can in Explore (D). Pretty common setup on their exams. If you need to do more than just look, option A is the one. Correct me if I'm off here.
Q: 10
What does a CODEOWNERS file do in a repository?
Options
35 comments in the community discussion
5
D. CODEOWNERS triggers review requests but doesn't actually restrict editing access. Pretty sure that's the intent here, right?
4
Option D. because CODEOWNERS automatically assigns reviewers for PRs that touch certain files. It doesn't block editing or set explicit permissions, just makes sure the right people review changes. Pretty sure that's what they want here, but open to correction.
Q: 11
What are the defining features of Git?
Options
36 comments in the community discussion
1
Nah, I don't think it's C here. A is the only one with distributed control and open source, which are what really define Git. C tempts you with local branching but misses the main architecture. B and D trap you with centralized or cloud-only, not how Git works.
1
C here. Had something like this in a mock, and local branching plus multiple workflows stood out to me as core Git features. I thought Git was mainly known for easy branching and staging, not just distributed control. Pretty sure about C, but open to other takes.
Q: 12
Which of the following options is available as a default Discussion category?
Options
31 comments in the community discussion
1
C , had something like this in a mock and Show and tell was the only default category listed. Defaults can be changed but unless specified, C fits the standard setup. Open if anyone knows GitHub changed this.
1
C . Show and tell's always there from the start as a category, I don't see Bug report or Security concern by default unless someone adds them. Maybe orgs can tweak it but in most public repos it's C. Correct me if I'm missing something.
Q: 13
What are two recommended ways of improving the discoverability of a repository? (Each answer presents a complete solution. Choose two.)
Options
35 comments in the community discussion
2
C and A?
2
Its A and C for me. Registering with GitHub search and adding labels both seem like they'd help people find the repo more easily, especially if they're searching by category or specific keywords. I haven't seen many repos without labels, so I think that's important. Maybe I'm missing something but feels right. Agree?
Q: 14
After 30 minutes of inactivity, a GitHub Codespace will:
Options
34 comments in the community discussion
2
Option D is correct. It just times out after 30 min idle, doesn't restart or delete. A lot of folks confuse timeout with restart, but Codespace sessions are only paused so you can reconnect. If it actually auto-restarted, that'd be way more disruptive. Anyone have docs saying otherwise?
2
C imo. Some cloud dev tools do restart after a long idle period, so I wouldn't be surprised if Codespaces just does a full restart at 30 minutes too. Not 100 percent sure though, anyone get a different result?
Q: 15
From the list of projects for an organization, how can a user identify a GitHub Projects template?
Options
38 comments in the community discussion
2
C . The Templates tab is where GitHub shows official project templates, not custom file-based ones. D only works if the org has their own setup, but by default it's C. Unless the exam is being tricky with definitions.
1
C , D's a decoy for repo-based templates but the question asks about org project lists not files.
Question 1 of 20

Premium Access Includes

  • Quiz Simulator
  • Exam Mode
  • Progress Tracking
  • Question Saving
  • Flash Cards
  • Drag & Drops
  • 3 Months Access
  • PDF Downloads
Get Premium Access
Scroll to Top