Flashcardsfor IT Certifications

D2: Secret Protection Scenarios

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

Question
Secret committed to a public repo by mistake?
1 / 10

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

Last updated: · Report an error on this page

Show all 10 Secret Protection Scenarios practice questions and answers
  1. Secret committed to a public repo by mistake?
    Rotate immediately — assume compromise; partners may auto-revoke.
  2. Secret found in old commit history?
    Rotate; optionally rewrite history; close alert as revoked.
  3. Test fixture keys causing alerts?
    Exclude paths via secret_scanning.yml or close as used in tests.
  4. Contractor bypassed push protection with 'fix later'?
    Alert created; follow up to remove and rotate.
  5. Need approval before bypass?
    Enable delegated bypass.
  6. Detect database connection strings?
    Enable non-provider patterns.
  7. Detect passwords in config?
    Enable generic secret detection (AI).
  8. Org-specific token format?
    Custom pattern with push protection.
  9. Validate if leaked token still works?
    Enable validity checks.
  10. Notify security team of every new secret alert?
    Webhook/notifications to security managers.