nerdexam
Microsoft

GH-500 · Question #107

How many alerts are created when two instances of the same secret value are in the same repository?

The correct answer is D. 1. GitHub secret scanning deduplicates alerts by secret value, not by the number of occurrences. If the exact same secret value appears multiple times within the same repository-whether in different files, commits, or branches-GitHub creates only one alert for that unique secret…

Secret Scanning

Question

How many alerts are created when two instances of the same secret value are in the same repository?

Options

  • A4
  • B2
  • C3
  • D1

How the community answered

(31 responses)
  • A
    3% (1)
  • C
    3% (1)
  • D
    94% (29)

Explanation

GitHub secret scanning deduplicates alerts by secret value, not by the number of occurrences. If the exact same secret value appears multiple times within the same repository-whether in different files, commits, or branches-GitHub creates only one alert for that unique secret value. This prevents alert fatigue and keeps the alert list manageable.

Topics

#Secret scanning#Alert de-duplication#GitHub Advanced Security

Community Discussion

No community discussion yet for this question.

Full GH-500 Practice