GitHub Foundations · GH-900 · Skills outline of January 2026 · Official skills outline · Original practice content

Free GH-900 practice questions: Understand privacy, security, and administration

Reviewed by the FlashGenius certification content team · Last updated: December 5, 2026 · Aligned to the published GH-900 skills outline and weights

The Understand privacy, security, and administration domain is 10-15% of the GH-900 exam and covers 2FA and passkeys, repository and organization roles, Enterprise Managed Users, Copilot policies, visibility settings, branch protection, and teams. Review each answer and explanation as you practice.

GH-900 has 60 scored multiple-choice questions (plus about 10-15 unscored ones) in 100 minutes, costs $99 USD, needs a scaled 700 to pass, and the certification does not expire.

Take the 10-question GH-900 quick-start test · Create a free account

What Understand privacy, security, and administration covers on the GH-900 exam

This domain is 10-15% of the GH-900 exam (about 9 questions in a 60-question mock). The official skills outline includes:

How to study Understand privacy, security, and administration

GH-900 Understand privacy, security, and administration sample questions with answers

Understand privacy, security, and administration

Sample question 1

A volunteer who has started publishing releases of a small library is told by GitHub that she must enable two-factor authentication. She asks which method GitHub recommends as her primary 2FA method. What should she choose?

  1. A time-based one-time password (TOTP) authenticator app
  2. A passkey saved in her password manager
  3. A hardware security key plugged into her laptop
  4. Text message (SMS) codes sent to her mobile number
Show correct answer and explanation

Correct answer: A. A time-based one-time password (TOTP) authenticator app

A is correct because GitHub recommends a TOTP app as the primary 2FA method, with passkeys, security keys or GitHub Mobile added as backups. B is incorrect because GitHub does not support passkeys as the primary 2FA method; a passkey can be added only as a backup. C is incorrect because GitHub does not support security keys as the primary 2FA method; they are recommended as a backup. D is incorrect because SMS is supported but GitHub notes it carries risks, so it is not the recommended primary method. Skills measured: Understand privacy, security, and administration > Security and access management.

Understand privacy, security, and administration

Sample question 2

A designer has 2FA set up with an authenticator app and adds a passkey to his GitHub account. The next time he signs in on GitHub.com, he chooses the passkey. What does the passkey sign-in cover?

  1. Both the password and the 2FA requirement, in one step
  2. Only sudo mode, since passkeys cannot be used to sign in
  3. Only the password, so he must still type an app code
  4. Only the 2FA step, after he types his password first
Show correct answer and explanation

Correct answer: A. Both the password and the 2FA requirement, in one step

A is correct because a passkey satisfies both the password and the two-factor requirement at sign-in, so no separate authenticator code is needed. B is incorrect because passkeys can be used to sign in, and they can also be used for sudo mode and password reset. C is incorrect because a passkey sign-in satisfies the 2FA requirement as well as the password, so no extra code is requested. D is incorrect because a passkey replaces the password too; it is not just a second factor entered after the password. Skills measured: Understand privacy, security, and administration > Security and access management.

Understand privacy, security, and administration

Sample question 3

A team lead is writing a short guide on passkeys for her colleagues. Which statement about passkeys on GitHub is true?

  1. A passkey can be registered as the primary 2FA method, so no authenticator app or SMS number is needed.
  2. Passkeys resist phishing because each passkey is bound to the website domain it was created for.
  3. Passkeys work only when stored on a hardware key, so synced passkeys in a password manager are refused.
  4. Passkeys can be used to sign in, but they cannot be used for sudo mode or to reset a password.
Show correct answer and explanation

Correct answer: B. Passkeys resist phishing because each passkey is bound to the website domain it was created for.

B is correct because a passkey only works on the domain it was registered for, so a look-alike phishing site cannot use it. A is incorrect because GitHub does not support passkeys as the primary 2FA method; a TOTP app or SMS must still be set up as primary. C is incorrect because GitHub accepts both synced (cloud-backed) passkeys and device-bound passkeys such as FIDO2 keys. D is incorrect because GitHub documents passkeys as usable for sudo mode and for password reset as well as sign-in. Skills measured: Understand privacy, security, and administration > Security and access management.

Understand privacy, security, and administration

Sample question 4

If a user who is required to enable 2FA lets the enrollment period and the grace period pass without doing so, GitHub ___.

  1. deletes their personal access tokens and SSH keys
  2. permanently deletes the account after 30 days
  3. blocks their access to GitHub.com until they enable 2FA
  4. makes every repository they own private
Show correct answer and explanation

Correct answer: C. blocks their access to GitHub.com until they enable 2FA

C is correct because after the 45-day enrollment period and 7-day grace period, the user must enable 2FA before they can use GitHub.com again. A is incorrect because existing tokens keep working; GitHub blocks web access to GitHub.com rather than deleting credentials. B is incorrect because the account is not deleted; access is restored as soon as the user enables 2FA. D is incorrect because mandatory 2FA does not change repository visibility; it only blocks the user's access until 2FA is enabled. Skills measured: Understand privacy, security, and administration > Security and access management.

Understand privacy, security, and administration

Sample question 5

A maintainer uses a TOTP app on her phone as her primary 2FA method. She wants a backup method that still works if she loses that phone and that also resists phishing. What should she add?

  1. A security key kept somewhere other than the phone
  2. GitHub Mobile on the same phone as the TOTP app
  3. SMS codes sent to that same phone's number
  4. A passkey that replaces the TOTP app as primary
Show correct answer and explanation

Correct answer: A. A security key kept somewhere other than the phone

A is correct because a security key is a phishing-resistant backup method, and one kept separate from the phone still works if the phone is lost. B is incorrect because GitHub Mobile on the same phone would be lost along with the TOTP app, so it gives no independent backup. C is incorrect because SMS codes go to the same device and number, and GitHub notes SMS carries risks such as interception. D is incorrect because GitHub does not allow a passkey as the primary 2FA method; passkeys can be added only as backups. Skills measured: Understand privacy, security, and administration > Security and access management.

Understand privacy, security, and administration

Sample question 6

GitHub requires 2FA for users who contribute code on GitHub.com and become eligible through certain activities. Which activity can make a user eligible for mandatory 2FA?

  1. Starring a repository in their field
  2. Following another developer's profile
  3. Creating a release in a repository
  4. Watching a repository for notifications
Show correct answer and explanation

Correct answer: C. Creating a release in a repository

C is correct because creating a release is one of the activities GitHub lists that can make a user required to enable 2FA. A is incorrect because starring is a way to bookmark projects; it is not one of the activities that trigger mandatory 2FA. B is incorrect because following is a way to keep up with another user's activity; it is not an eligibility trigger for mandatory 2FA. D is incorrect because watching only subscribes you to notifications; it is not an eligibility trigger for mandatory 2FA. Skills measured: Understand privacy, security, and administration > Security and access management.

Understand privacy, security, and administration

Sample question 7

A hospital group runs GitHub Enterprise Cloud with Enterprise Managed Users. A new analyst asks whether she must also set up GitHub's own mandatory 2FA on her managed account. What is the correct answer?

  1. Yes, but only by registering a passkey as her primary method
  2. No, because managed users can sign in with a password alone
  3. No, managed users sign in through the identity provider, which handles MFA
  4. Yes, she must set up a TOTP app within 45 days of her first sign-in
Show correct answer and explanation

Correct answer: C. No, managed users sign in through the identity provider, which handles MFA

C is correct because GitHub's mandatory 2FA does not apply to Enterprise Managed Users, because they authenticate through the company's identity provider. A is incorrect because mandatory 2FA does not apply to managed users, and passkeys are never accepted as a primary 2FA method. B is incorrect because managed users do not use a GitHub password at all; they authenticate on the identity provider. D is incorrect because the 45-day mandatory 2FA enrollment does not apply to managed user accounts, which authenticate on the IdP. Skills measured: Understand privacy, security, and administration > Security and access management.

Understand privacy, security, and administration

Sample question 8

Match each 2FA method to how GitHub describes it. 1. TOTP authenticator app. 2. Passkey. 3. SMS text message.

  1. 1 recommended primary method, 2 supported but carries risks, 3 phishing-resistant backup that can also replace the password
  2. 1 phishing-resistant backup that can also replace the password, 2 recommended primary method, 3 supported but carries risks
  3. 1 supported but carries risks, 2 recommended primary method, 3 phishing-resistant backup that can also replace the password
  4. 1 recommended primary method, 2 phishing-resistant backup that can also replace the password, 3 supported but carries risks
Show correct answer and explanation

Correct answer: D. 1 recommended primary method, 2 phishing-resistant backup that can also replace the password, 3 supported but carries risks

D is correct because GitHub recommends a TOTP app as primary, allows passkeys as phishing-resistant backups that also cover the password at sign-in, and warns that SMS has risks. A is incorrect because SMS codes can be intercepted and do not replace a password, while passkeys are the phishing-resistant option. B is incorrect because GitHub does not support passkeys as the primary method, and a TOTP code does not replace the password. C is incorrect because a TOTP app is the recommended primary method, passkeys cannot be primary, and SMS is not phishing-resistant. Skills measured: Understand privacy, security, and administration > Security and access management.

Understand privacy, security, and administration

Sample question 9

A developer sets up 2FA with an authenticator app. Put the steps in order. 1. Scan the QR code with the authenticator app. 2. Download the recovery codes and confirm they are saved. 3. In Password and authentication settings, choose to enable 2FA. 4. Enter the six-digit code shown in the app to verify it.

  1. 1, 3, 4, 2
  2. 3, 2, 1, 4
  3. 3, 1, 4, 2
  4. 3, 1, 2, 4
Show correct answer and explanation

Correct answer: C. 3, 1, 4, 2

C is correct because the user starts 2FA setup in Password and authentication, scans the QR code, verifies a code from the app, and finally downloads and confirms the recovery codes. A is incorrect because the QR code is displayed only after the user chooses to enable 2FA, so it cannot be scanned first. B is incorrect because GitHub shows the recovery codes only after the app has been linked and a code from it verified. D is incorrect because the code from the app is verified before the recovery codes are shown and saved. Skills measured: Understand privacy, security, and administration > Security and access management.

Understand privacy, security, and administration

Sample question 10

A technical writer needs to view an organization repository and comment on its issues, but she will never change code or manage issues. Which repository role gives her the least access she needs?

  1. Write
  2. Triage
  3. Maintain
  4. Read
Show correct answer and explanation

Correct answer: D. Read

D is correct because Read is meant for non-code contributors who view and discuss the project, which covers reading and commenting. A is incorrect because Write lets people push to the repository, which goes well beyond viewing and commenting. B is incorrect because Triage adds managing issues and pull requests, which she does not need, so it is more than the least access. C is incorrect because Maintain is for people who manage the repository's settings, far more access than she needs. Skills measured: Understand privacy, security, and administration > Security and access management.

Keep practicing

GH-900 practice test hub · Mixed quick start · GH-300 GitHub Copilot practice test · AI-901 Azure AI Fundamentals practice test · AZ-900 Azure Fundamentals practice test

FlashGenius is an independent study resource and is not affiliated with or endorsed by GitHub or Microsoft. GitHub is a trademark of GitHub, Inc. 300 original practice questions.