Code-scanning Queries run by default in CodeQL code scanning on GitHub. Which term describes these default queries?

Prepare for the GitHub Advanced Security Certification exam with our comprehensive quiz featuring detailed questions, hints, and explanations. Enhance your skills and ensure you're ready to pass!

Multiple Choice

Code-scanning Queries run by default in CodeQL code scanning on GitHub. Which term describes these default queries?

Explanation:
The default queries shipped with CodeQL code scanning are called code-scanning. When you enable code scanning in GitHub, this built-in set runs automatically to provide baseline coverage across languages for common security and quality issues. They’re designed to be ready out-of-the-box, giving you immediate findings without extra configuration. Path Queries describe a way of expressing certain patterns in CodeQL (how the query traverses code paths), not the label for the prepackaged default set. The other terms aren’t standard names for GitHub’s out-of-the-box default queries.

The default queries shipped with CodeQL code scanning are called code-scanning. When you enable code scanning in GitHub, this built-in set runs automatically to provide baseline coverage across languages for common security and quality issues. They’re designed to be ready out-of-the-box, giving you immediate findings without extra configuration.

Path Queries describe a way of expressing certain patterns in CodeQL (how the query traverses code paths), not the label for the prepackaged default set. The other terms aren’t standard names for GitHub’s out-of-the-box default queries.