GH-500 · Question #98
GH-500 Question #98: Real Exam Question with Answer & Explanation
The correct answer is B: Push protection must be enabled for all, or none, of a repository's custom patterns.. {"question_number": 4, "question": "Which of the following statements most accurately describes push protection for secret scanning custom patterns?", "correct_answer": "B - Push protection must be enabled for all, or none, of a repository's custom patterns", "explanation": "Push
Question
Which of the following statements most accurately describes push protection for secret scanning custom patterns?
Options
- APush protection is enabled by default for new custom patterns.
- BPush protection must be enabled for all, or none, of a repository's custom patterns.
- CPush protection is not available for custom patterns.
- DPush protection is an opt-in experience for each custom pattern.
Explanation
{"question_number": 4, "question": "Which of the following statements most accurately describes push protection for secret scanning custom patterns?", "correct_answer": "B - Push protection must be enabled for all, or none, of a repository's custom patterns", "explanation": "Push protection for custom patterns is not a per-pattern toggle. It operates at the repository or organization level, meaning that when push protection is enabled, it applies uniformly to all custom patterns defined for that scope. You cannot selectively enable push protection for some custom patterns while leaving others without it. This all-or-nothing behavior ensures consistent enforcement rather than a patchwork of protections that could create gaps.", "generated_by": "claude-sonnet", "llm_judge_score": 4}
Topics
Community Discussion
No community discussion yet for this question.