Custom CodeQL Queries Quiz

5 questions Pass: 70% +25 pts (50 with Pro)

Quiz covering Code Scanning Management

What you'll be asked

  1. What is the primary file extension used for CodeQL query files?
  2. When creating a custom CodeQL query suite, which file format is used to define the collection of queries to be executed?
  3. In a CodeQL query, what is the purpose of the 'select' clause?
  4. If you want to run a custom CodeQL query in GitHub Actions, where should you place the query file within your repository?
  5. When writing a custom CodeQL query to detect a specific vulnerability, why is it important to use 'Data Flow' analysis instead of simple 'Abstract Syntax Tree' (AST) matching?

Answers and explanations come after you submit.