Flashcardsfor IT Certifications

D2: Push Protection & Validity Checks

GH-500 GitHub Advanced Security exam practice questions · 10 flashcards

Question
Push protection?
1 / 10

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

Show all 10 Push Protection & Validity Checks practice questions and answers
  1. Push protection?
    Blocks pushes containing supported, high-confidence secrets before they enter the repo.
  2. Push protection surfaces?
    Command line pushes, web UI commits, API, and Copilot/IDE (where supported).
  3. Bypassing push protection?
    User selects reason: used in tests, false positive, fix later — creates alert (except false positive closes).
  4. User-level push protection?
    Protects your pushes to any public repo.
  5. Validity checks?
    Check whether detected tokens are still active with the provider.
  6. Validity statuses?
    Active, inactive, unknown.
  7. Prioritized alerting?
    Focus on active, high-confidence secrets first.
  8. Push protection for custom patterns?
    Can be enabled per custom pattern.
  9. Why prevention at source?
    Remediating after push requires rotation and history cleanup.
  10. Scenario: developer's push blocked by a real AWS key. Correct action?
    Remove the secret from commits (amend/rebase), rotate if exposed, push again.