Query Suites and Packs Quiz

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

Quiz covering Code Scanning Fundamentals

What you'll be asked

  1. What is the primary purpose of a CodeQL query suite?
  2. When defining a CodeQL query suite using a YAML file, which keyword is used to include all queries from a specific directory?
  3. What is the main advantage of using a CodeQL pack over individual query files?
  4. If you want to exclude a specific query from a suite that imports a large directory, which keyword should you use in your YAML configuration?
  5. In a complex CodeQL environment, how does the query resolver determine which queries to run when a suite references a pack that has multiple versions installed?

Answers and explanations come after you submit.