GH-900 practice question 10 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: 144 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 enhances account security by requiring a second factor for authentication. The supported methods include using a Time-based One-Time Password (TOTP) from an authenticator app, receiving a push notification for verification on the GitHub Mobile app, or using a physical security key that supports the WebAuthn standard. These methods provide a robust layer of security by combining something you know (your password) with something you have (your phone or a security key).

Why Incorrect

B. Security questions: GitHub does not use security questions as a two-factor authentication method. This method is generally considered less secure and is not offered for 2FA.
E. Single sign-on: Single sign-on (SSO) is an authentication scheme that delegates authentication to an external identity provider; it is not a 2FA method itself.

References

1. GitHub Docs. "Configuring two-factor authentication." GitHub, Inc. Accessed 2023. This document explicitly lists the supported 2FA methods. It states, "You can configure two-factor authentication using a TOTP mobile app or via text message. You can also add a security key... You can also configure GitHub Mobile to use for 2FA." This directly supports options A, C, and D.

2. GitHub Docs. "About two-factor authentication." GitHub, Inc. Accessed 2023. This page provides an overview of 2FA on GitHub and mentions the primary methods: "an authentication code generated by an application on your mobile device or a security key." This further validates options A and D.

3. University of California, Berkeley - Information Security Office. "Two-Factor Authentication (2FA)." This resource explains the different types of 2FA, categorizing authenticator apps (TOTP) and hardware tokens (security keys) as standard methods, aligning with GitHub's implementation. It clarifies that security questions are a form of knowledge-based authentication, distinct from possession-based 2FA factors.

Scroll to Top