nerdexam
Microsoft

GH-500 · Question #114

Which syntax in a query suite tells CodeQL to look for one or more specified .ql files?

The correct answer is B. query. Locating queries to add to a query suite When creating a query suite, you first need to specify the locations of the queries that you want to select. You can define the location of one or more queries using: A query instruction: Tells CodeQL to look for one or more specified…

Implement and manage CodeQL

Question

Which syntax in a query suite tells CodeQL to look for one or more specified .ql files?

Options

  • Aqlpack
  • Bquery
  • Cqls

How the community answered

(24 responses)
  • A
    4% (1)
  • B
    92% (22)
  • C
    4% (1)

Explanation

Locating queries to add to a query suite When creating a query suite, you first need to specify the locations of the queries that you want to select. You can define the location of one or more queries using: A query instruction: Tells CodeQL to look for one or more specified .ql files: - query: <path-to-query> The argument must be one or more file paths, relative to the CodeQL pack containing the suite

Topics

#CodeQL#query suites#query specification#GHAS

Community Discussion

No community discussion yet for this question.

Full GH-500 Practice