Microsoft

GH-500 practice question 13

GitHub Advanced Security · free question 13 of 20

Question

Which of the following secret scanning features can verify whether a secret is still active?
  • A. branch protection
  • B. validity checks Correct
  • C. push protection
  • D. custom patterns

Explanation

Validity checks query the relevant provider to determine whether a detected token is still active and, when possible, whether it was ever active. Push protection blocks supported secrets before they are pushed but does not test whether they work. Custom patterns only define additional formats to detect, and branch protection governs changes to branches rather than being a secret scanning feature.

Practice the whole free set

Answer all 20 free GH-500 questions with instant feedback, or unlock all 86 questions with Learn and Exam modes.