GitHub Copilot — Question 16

What happens when you enable secret scanning on a private repository?

Answer options

Correct answer: D

Explanation

The correct answer is D because enabling secret scanning allows GitHub to perform a read-only analysis to identify any secrets in the code. Options A, B, and C do not directly relate to the function of secret scanning, as they refer to other features or alerts that are not specifically tied to the secret scanning process.