CodeQL Database Creation Quiz

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

Quiz covering CodeQL Advanced Topics

What you'll be asked

  1. Which command is primarily used to initialize a new CodeQL database from source code?
  2. When creating a CodeQL database for a compiled language like C++ or Java, why is it necessary to provide a build command?
  3. What is the purpose of the '--db-cluster' flag when running the database create command?
  4. If you are creating a CodeQL database for a project that uses a build system not natively supported by CodeQL, which approach should you take?
  5. You are attempting to create a CodeQL database for a large C++ project, but the process fails during the build phase due to missing dependencies. What is the most effective way to troubleshoot this?

Answers and explanations come after you submit.