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 questionsGitHub 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.
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.
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).
Keep practicing
Take the free GITHUB-FOUNDATIONS practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other GITHUB-FOUNDATIONS practice questions
- Question 1What are the defining features of Git?
- Question 3Which of the following are advantages of saved replies? (Each correct answer presents par…
- Question 4Which of the following can be performed within GitHub Desktop?
- Question 5Which of the following best describes cloning a repository?
- Question 6What should be done to locate an existing action that was provided by a GitHub-approved v…
- Question 7What qualifier finds issues that mention a certain user?
