D4: Setting Up Code Security
GH-500 GitHub Advanced Security exam practice questions · 10 flashcards
Question
Default setup?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Setting Up Code Security practice questions and answers
- Default setup?One-click CodeQL configuration managed by GitHub; auto-detects languages.
- Advanced setup?Custom codeql.yml workflow for queries, build steps, schedule.
- External CI?CodeQL CLI in Jenkins/Azure Pipelines, upload SARIF.
- CodeQL workflow steps?init → autobuild/manual build → analyze.
- Build modes?none (interpreted/Java/C# buildless), autobuild, manual.
- Matrix for languages?Run analysis per language in a matrix.
- Scan frequency?On push, PR, and schedule (weekly) for new queries.
- Workflow templates for code scanning?Org templates for approved configurations.
- Permissions needed?security-events: write (and contents: read, actions: read).
- Scenario: compiled C++ project needs specific build commands. Setup?Advanced setup with manual build mode.