GH-500 · Question #17
GH-500 Question #17: Real Exam Question with Answer & Explanation
The correct answer is B: Enable secret scanning.. {"question_number": 4, "question": "What is a prerequisite to define a custom pattern for a repository?", "correct_answer": "B. Enable secret scanning.", "explanation": "Custom patterns are an extension of the secret scanning feature - they allow you to supplement GitHub's built-
Question
What is a prerequisite to define a custom pattern for a repository?
Options
- AChange the repository visibility to Internal.
- BEnable secret scanning.
- CClose other secret scanning alerts.
- DSpecify additional match criteria.
Explanation
{"question_number": 4, "question": "What is a prerequisite to define a custom pattern for a repository?", "correct_answer": "B. Enable secret scanning.", "explanation": "Custom patterns are an extension of the secret scanning feature - they allow you to supplement GitHub's built-in detection rules with your own regex-based patterns. Because custom patterns are a component of secret scanning, secret scanning must be enabled on the repository first. Repository visibility, existing alert status, and additional match criteria are not required prerequisites to define a custom pattern.", "generated_by": "claude-sonnet", "llm_judge_score": 4}
Topics
Community Discussion
No community discussion yet for this question.