Flashcardsfor IT Certifications

D4: Optimizing & Troubleshooting Code Security

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

Question
Query suites?
1 / 10

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

Last updated: · Report an error on this page

Show all 10 Optimizing & Troubleshooting Code Security practice questions and answers
  1. Query suites?
    default, security-extended, security-and-quality.
  2. Custom queries/packs?
    Add CodeQL packs or custom QL queries in config.
  3. Config file?
    codeql-config.yml: queries, paths, paths-ignore, packs.
  4. Excluding paths?
    paths-ignore to skip vendored/generated code.
  5. Troubleshooting 'no source code seen'?
    Build failed or not traced; use manual build.
  6. Performance issues?
    Large repos: increase runner size, limit paths, use incremental/PR-diff analysis.
  7. Debug logging?
    Enable debug mode/artifact upload of CodeQL databases.
  8. Timeout issues?
    Use larger runners, split languages.
  9. Monorepo strategies?
    Category per language/project, path filters.
  10. Scenario: CodeQL takes 2 hours on monorepo. Optimization?
    Larger runners, paths-ignore generated code, analyze per subproject with categories.