nerdexam
MicrosoftMicrosoft

GH-500 · Question #100

GH-500 Question #100: Real Exam Question with Answer & Explanation

The correct answer is D: performing a dry run. {"question_number": 6, "question": "After defining a secret scanning custom pattern, what is the final step before publishing the pattern?", "correct_answer": "D - performing a dry run", "explanation": "Before publishing a custom pattern, GitHub requires you to perform a dry run.

Configure and use secret scanning

Question

After defining a secret scanning custom pattern, what is the final step before publishing the pattern?

Options

  • Adefining a custom pattern
  • Badding additional match requirements
  • Cenabling push protection
  • Dperforming a dry run

Explanation

{"question_number": 6, "question": "After defining a secret scanning custom pattern, what is the final step before publishing the pattern?", "correct_answer": "D - performing a dry run", "explanation": "Before publishing a custom pattern, GitHub requires you to perform a dry run. A dry run tests the pattern against the repository's existing content and shows which matches it would generate - without creating actual alerts. This step is critical for validating that the regex is accurate, identifying potential false positives, and tuning the pattern before it goes live. Skipping the dry run and publishing directly could flood the repository with noisy or irrelevant alerts.", "generated_by": "claude-sonnet", "llm_judge_score": 4}

Topics

#Secret Scanning#Custom Patterns#Dry Run#GHAS

Community Discussion

No community discussion yet for this question.

Full GH-500 PracticeBrowse All GH-500 Questions