CertificationTestPrep Free diagnostic

GitHub · Foundational · exam code GH-900

Free GitHub Foundations practice questions

This page has 10 free practice questions: no account needed, and every option explains why it’s right or wrong. They come from the GitHub Foundations bank of 287, spread across all seven domains at their exam weights. The free diagnostic asks 20 more, also with no account needed and every answer explained.

Question 1 of 10 · Multiple choice · Domain 1 · Understand Git and GitHub basics (30%)

A developer used to an older version control system expects that creating a branch in a 2 GB repository will take minutes. In Git it is instant. Why?

Question 2 of 10 · Multiple choice · Domain 1 · Understand Git and GitHub basics (30%)

A developer creates a branch named hotfix from main and commits a fix. Nobody has committed to main in the meantime. Back on main, in their local clone, they run git merge hotfix with Git’s default settings. What does Git do?

Question 3 of 10 · Multiple choice · Domain 2 · Work with GitHub repositories (14%)

Eight developers on one company team work on the same repository every day. Some of them fork it to work on features. What does GitHub recommend for this team?

Question 4 of 10 · Multiple choice · Domain 2 · Work with GitHub repositories (14%)

A machine learning team must keep a 400 MiB model file versioned alongside the code that loads it, with each version of the code paired with its model. How should they store it?

Question 5 of 10 · Multiple choice · Domain 3 · Collaborate using GitHub (14%)

An outside contributor with no write access comments on a public issue offering to fix it. A maintainer wants to make it clear on the issue that this person is now working on it. What can the maintainer do?

Question 6 of 10 · Multiple choice · Domain 3 · Collaborate using GitHub (14%)

A team has one large issue, “Launch the new billing page”, and wants to break it into smaller issues that each have their own assignee and status, while still seeing the whole hierarchy from the big issue. What should they use?

Question 7 of 10 · Multiple choice · Domain 4 · Apply modern development practices (13%)

A team’s signing job needs a hardware security module that is plugged into a server in its office. Where should that job run?

Question 8 of 10 · Multiple choice · Domain 5 · Manage projects with GitHub (8%)

After a project cleanup in which dozens of finished items were archived, the project’s Burn up chart shows less completed work than it did the day before. Nothing was reopened. What explains the drop?

Question 9 of 10 · Multiple choice · Domain 6 · Understand privacy, security, and administration (13%)

A developer wants to let a client read the code in a private repository owned by the developer’s personal account, without being able to push. What should they know?

Question 10 of 10 · Multiple choice · Domain 7 · Explore the GitHub community (8%)

A contributor’s fork is 40 commits behind the upstream main branch, and they haven’t changed main in their fork. How can they bring it up to date on GitHub, in the browser, keeping their other branches?

Where do you stand?

20 more free questions, and a map of every skill.

The free diagnostic asks 20 questions at exam weights and shows which skills on the GitHub Foundations exam you know and which you don’t. Full access is $19 for all 287 questions, with practice that follows what you miss.