Flashcardsfor IT Certifications

D4: CodeQL Concepts

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

Question
CodeQL database?
1 / 10

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

Last updated: · Report an error on this page

Show all 10 CodeQL Concepts practice questions and answers
  1. CodeQL database?
    Relational representation of code extracted during build/analysis.
  2. QL language?
    Declarative, object-oriented query language for CodeQL.
  3. Sources and sinks?
    Sources: untrusted input; sinks: dangerous operations; taint tracking connects them.
  4. Sanitizers?
    Functions that make data safe, breaking taint flow.
  5. Supported languages?
    C/C++, C#, Go, Java/Kotlin, JavaScript/TypeScript, Python, Ruby, Swift, Rust, GitHub Actions workflows.
  6. Interpreted vs compiled extraction?
    Interpreted languages analyzed without build; compiled need build (or buildless modes).
  7. CodeQL packs?
    Versioned bundles of queries/libraries/models.
  8. VS Code CodeQL extension?
    Write and run queries locally against databases.
  9. Query metadata?
    @kind, @severity, @security-severity, @precision, @id, @tags.
  10. Scenario: find all paths from HTTP params to SQL calls. CodeQL approach?
    Taint-tracking query with sources = request params, sinks = SQL execution.