GitHub Copilot — Question 2

Which of the following statements most accurately describes push protection for secret scanning custom patterns?

Answer options

Correct answer: D

Explanation

The correct answer is D because push protection requires explicit activation for each custom pattern. Option A is incorrect as push protection is not enabled by default. Option B is misleading since it suggests a binary choice that does not reflect the flexibility of managing individual patterns. Option C is false as custom patterns can have push protection if opted in.