GITHUB-FOUNDATIONS practice question 2 of 15

Which of the following two-factor authentication (2FA) methods can you use to secure a GitHub account? (Each answer presents a complete solution. Choose three.)

Full set: 75 questions
Answer options
A: Authenticator app Correct answer
B: Security questions
C: GitHub mobile Correct answer
D: Security keys Correct answer
E: Single sign-on
Correct Answer:
A. Authenticator app; C. GitHub mobile; D. Security keys
Explanation

GitHub supports three first-party two-factor authentication mechanisms:
1. A Time-based One-Time Password (TOTP) generated by any authenticator app.
2. GitHub Mobile, which can deliver push approvals or generate 8-digit codes.
3. FIDO U2F/WebAuthn security keys (USB/NFC/BLE hardware). These methods satisfy the “second factor” requirement during sign-in or when performing sensitive actions. GitHub’s official documentation lists only these (and legacy SMS) as valid 2FA options for individual accounts.

Why Incorrect

B. Security questions are not accepted as a second factor on GitHub; they are not offered anywhere in the authentication flow.
E. Single sign-on (SAML/OIDC) shifts authentication to an external identity provider; it is an alternative login method, not a GitHub-managed second factor.

References

1. GitHub Docs – “About two-factor authentication” §“Supported 2FA methods” (docs.github.com/en/authentication)

2. GitHub Docs – “Configuring two-factor authentication” Step 4 listings for “Authentication application,” “GitHub Mobile,” and “Security key” (same URL).

3. GitHub Docs – “Supported security keys” §“Using a security key for 2FA” (docs.github.com/en/security).

4. GitHub Docs – “About SAML for enterprise IAM” (clarifies SSO is separate from 2FA).

Scroll to Top