Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
GitHub logo

GitHubAdvanced Security (GH-500)

Domain 4Objective 4

Optimize and Automate Code Security Operations GH-500 Practice Questions (Page 2)

Part of the Configure and use Code Security (formerly Code Scanning with CodeQL) domain, which accounts for 10-15% of the GH-500 exam.

12questions here
3free pages
5concepts
10-15%of the exam

Questions 6–10

  1. 6application · medium

    A team wants to run CodeQL code scanning on a schedule to catch vulnerabilities that might be introduced by dependency updates, even when no code changes are pushed. They also want to avoid running the scan on every push to reduce resource usage. What is the best approach?

    Select an answer first
  2. 7application · medium

    A team uses CodeQL for a JavaScript/TypeScript project. They want to exclude certain directories (e.g., `dist`, `node_modules`) from analysis to reduce noise and scan time. How should they configure this?

    Select an answer first
  3. 8expert · hard

    A team uses CodeQL on a large monorepo with multiple languages. They want to reduce scan time by running the analysis only on changed files. However, they are concerned that this might miss vulnerabilities in files that are not changed but are affected by the changes. What is the best approach?

    Select an answer first
  4. 9application · medium

    A team wants to run a custom query that is stored in a separate repository. They have added the repository to the `pack` input in the `init` step. However, the scan fails because the query pack cannot be found. What is the most likely cause?

    Select an answer first
  5. 10application · medium

    A CodeQL scan fails during the build step for a C++ project with the error: 'No source code was seen during the build.' The project uses CMake. What is the most likely cause and fix?

    Select an answer first
Finished these 5 questions?

Review the revealed explanations, or continue through the curriculum.

Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by GitHub. “GH-500” is a trademark of its owner, used for identification only.