Examworthyexamworthy.com

GitHub Advanced Security (GH-500) cheat sheet

GitHub

Exam version 2026Reviewed 2026-06-11

Free to share. Examworthy is not affiliated with or endorsed by GitHub; GH-500 and related marks belong to their respective owners.

At a glance

Approximately 75
Questions
90 min
Time allowed
700 / 1000
Pass mark
$99
Cost (USD)

Format: Multiple choice and multiple response, online proctored

Domain weight map

Heaviest first - spend your time here
Describe GitHub Security suites, features, and ecosystem18% · 53 Q
Configure and use Secret Protection18% · 52 Q
Configure and use supply chain security18% · 50 Q
Security operations: best practices, prioritization, and remediation18% · 55 Q
Configure and use Code Security14% · 42 Q
GitHub Security suites administration14% · 40 Q

How this exam thinks

GH-500 is a configure-the-right-control exam: nearly every question is a scenario where the answer is the documented GitHub Advanced Security feature, enabled at the correct repository, organisation, or enterprise scope, that prevents the problem early rather than remediating it late.

Spot the trap

Tempting wrong answers, and why they fail

Tempting but wrong

CodeQL belongs to Secret Protection because it scans source files for sensitive strings before they are committed.

Why it fails

Wrong. Secret Protection covers secret scanning and push protection for credentials. CodeQL performs static analysis of code logic for vulnerabilities; it does not hunt for committed credentials, so it sits in Code Security, not Secret Protection.

Describe GitHub Security suites, features, and ecosystem

Tempting but wrong

Secret scanning runs on a public repository only after the maintainer buys a Secret Protection or GitHub Advanced Security licence and assigns a seat.

Why it fails

A paid licence and seat are required only for private and internal repositories. Public repositories on GitHub.com receive secret scanning free of charge, so no purchase or seat assignment is needed for them.

Configure and use Secret Protection

Tempting but wrong

The dependency graph only reads lock files and ignores manifests, so a repository with no committed lock file has an empty dependency graph.

Why it fails

The graph does parse supported manifests such as package.json, which is why direct dependencies still appear without a lock file. A missing lock file only prevents resolving the exact pinned transitive versions; it does not leave the graph empty.

Configure and use supply chain security

Tempting but wrong

A CVE identifier groups together every vulnerability sharing the same root cause across all affected products.

Why it fails

A CVE names one specific publicly disclosed vulnerability in a particular product, not a reusable category of weakness shared across products. The framework that groups flaws by shared root cause or type is CWE, not CVE.

Security operations: best practices, prioritization, and remediation

Tempting but wrong

Storing a tool's JSON report as a workflow artifact lets GitHub parse it into the code scanning alerts list automatically.

Why it fails

A workflow artifact is just a stored file for download; GitHub does not parse arbitrary artifacts into alerts. Code scanning only ingests results delivered specifically as SARIF through the upload-sarif action or SARIF API, so an artifact alone produces no alerts.

Configure and use Code Security

Tempting but wrong

You can keep security configurations identical across an enterprise by exporting and importing the JSON between organisations.

Why it fails

There is no export-import flow for security configurations, and recreating them in every organisation is exactly the per-organisation work to avoid. Distribution happens by authoring an enterprise-level security configuration that flows down, not by copying config files.

GitHub Security suites administration

Tempting but wrong

CodeQL belongs to Supply Chain Security because it evaluates the security of third-party dependencies pulled into the build.

Why it fails

Wrong. Supply Chain Security covers the dependency graph, Dependabot, and dependency review, which assess third-party components. CodeQL analyses first-party source code rather than declared dependencies, so it belongs to Code Security.

Describe GitHub Security suites, features, and ecosystem

Tempting but wrong

Secret scanning runs on public repositories only when they belong to a paid organisation account, not on personal public repositories.

Why it fails

Account type is not the gate. Free public-repository secret scanning applies whether the repository is owned by a personal account or an organisation, so it is wrong to restrict it to paid organisations.

Configure and use Secret Protection

Key terms

GitHub Advanced SecurityCode SecuritySecret ProtectionSupply Chain SecuritySecurity Overviewpublic repositoriesGitHub Enterprise CloudGitHub Enterprise Serverfeature availabilitysecure SDLCprevention-firstgate-based securitysecurity campaignsshift leftsecurity alertsalert management

Exam-day rules

  • Read the scenario for its requirement first. The security need named in the question, paired with the scope it concerns, is what picks the answer, so find both before you judge the options.
  • Prefer the documented, built-in mechanism. When an option describes a supported GitHub feature and another describes a hand-rolled workaround such as re-pushing files or parsing artifacts, the supported feature is almost always the answer.
  • Choose prevention over cleanup. Push protection at push time, dependency review before merge, and a CodeQL pull request scan beat after-the-fact remediation when the scenario allows catching the problem early.
  • Match the enablement scope exactly. Decide whether the action belongs at repository, organisation, or enterprise level, and remember a default security configuration only covers repositories created after it is set, so existing ones need bulk attachment.
  • Map every feature to its product. Code scanning with CodeQL is Code Security, secret scanning and push protection are Secret Protection, and dependency review and Dependabot are supply chain features; licensing questions hinge on this split.

Revision schedule

  1. Day 1
    Map the blueprint and book a date
  2. Week 1
    Build the product and scope maps
  3. Weeks 1 to 2
    Go deep on Secret Protection and supply chain security
  4. Weeks 2 to 3
    Lock Code Security and the CodeQL model
  5. Weeks 3 to 4
    Cover security operations and remediation at scale

Practise GH-500 free

Every question has a worked explanation and a per-distractor rationale. No sign-up.

1146 audited flashcards in this deck.

Practise GH-500 free
Examworthy - GitHub Advanced Security (GH-500) cheat sheet. Free to share.examworthy.com