Microsoft · GH-500
Validates expertise in configuring, managing, and operating GitHub Advanced Security tools including code scanning, secret scanning, and dependency management to secure software development workflows.
Practice Questions
299
≈ 5 practice exams
Duration
100 minutes
Passing Score
Not publicly disclosed
Difficulty
IntermediateLast Updated
Jan 2025
Use this GH-500 practice exam to prepare for GitHub Advanced Security (GH-500) with realistic questions, detailed explanations, and focused study modes. The practice bank includes 299 questions for Microsoft GH-500, so you can review the exam steadily instead of relying on one long cram session.
As you practice, pay extra attention to recurring topics such as GHAS Security Features, Secret Scanning, Dependabot & Dependency Review, Code Scanning with CodeQL, and Security Best Practices. Start with short sessions to identify weak areas, then move into timed quizzes once your accuracy is consistent.
The explanations are especially useful when you want to connect exam wording to the responsibilities and scenarios described in the official certification guidance. Use the free preview first, then unlock the full question bank when you are ready to build a complete study routine.
The GitHub Advanced Security (GH-500) certification validates proficiency in configuring, managing, and operationalizing the full suite of GitHub Advanced Security (GHAS) tools to secure modern software development workflows. Candidates demonstrate mastery across three core security pillars: secret scanning (including push protection and custom patterns), dependency management via Dependabot and Dependency Review, and automated code analysis using CodeQL and third-party SARIF-compatible tools. The exam also covers Security Overview, alert management, and enforcement of security policies through Repository Rulesets and GitHub Actions workflows.
The certification is maintained by GitHub and administered through Microsoft's Pearson VUE testing infrastructure. It was updated in 2025 to reflect a revised seven-domain structure, expanding coverage of GitHub Enterprise configuration and sharpening the weight given to best practices and corrective measures. Holding this credential demonstrates the ability to shift security left—embedding automated vulnerability detection directly into the development lifecycle rather than treating it as a post-deployment concern. The certification is valid for two years from the date of achievement.
The GH-500 exam targets system administrators, software developers, application administrators, and IT professionals who work with GitHub Enterprise Cloud (GHEC) or GitHub Enterprise Server (GHES) and are responsible for securing codebases at scale. Ideal candidates include DevSecOps engineers integrating security gates into CI/CD pipelines, application security specialists managing organizational vulnerability programs, and GitHub administrators enforcing repository and organization-level security policies.
Candidates should have hands-on experience enabling and configuring GHAS features across repositories and organizations, familiarity with GitHub Actions workflows, and an understanding of software supply chain security concepts including dependency graphs, SBOMs, and CVE/CWE classification. The intermediate difficulty level assumes prior GitHub platform experience; this is not an entry-level credential.
Microsoft does not list formal prerequisites for GH-500, but the official audience profile specifies intermediate-level experience with GitHub Enterprise Administration. Candidates are expected to understand GitHub's repository, organization, and enterprise permission model before attempting the exam, as access control questions appear across multiple domains.
Recommended preparation includes practical experience enabling GHAS features on private repositories, working knowledge of GitHub Actions (creating and modifying workflow YAML files), familiarity with CodeQL query suites and SARIF output formats, and experience interpreting Dependabot alerts and dependency graphs. Completing the official Microsoft Learn training course GH-500T00-A: GitHub Advanced Security provides structured coverage of all exam objectives and is the primary recommended prerequisite resource.
The GH-500 exam is delivered through Pearson VUE and includes a 100-minute time limit. The exam is proctored and may include interactive lab components in addition to standard multiple-choice and scenario-based questions. Candidates can experience the question interface in advance via the official exam sandbox at GHCertDemo.starttest.com before scheduling.
The exam is available in English, Spanish, Portuguese (Brazil), Korean, and Japanese. Pricing is approximately $99 USD, varying by country or region of testing. No official passing score is published on the Microsoft Learn certification page; third-party sources cite 700/1000 as a commonly reported threshold, but this should be verified against official communications at time of registration. If a candidate fails, a retake is permitted 24 hours after the first attempt; subsequent retake wait times vary per Microsoft's standard retake policy. A free practice assessment is available on Microsoft Learn (assessment ID 590484996).
Professionals holding the GH-500 certification are positioned for roles such as DevSecOps engineer, application security engineer, GitHub Enterprise administrator, and security-focused software developer. As software supply chain security has become a regulatory and enterprise priority — driven by executive orders, frameworks like SLSA, and incidents targeting dependency ecosystems — the ability to operationalize GHAS tools within existing GitHub workflows is a differentiated and in-demand skill. The certification is relevant across both enterprise cloud environments (GitHub Enterprise Cloud) and self-hosted deployments (GitHub Enterprise Server), broadening its applicability across industries.
Because the credential is issued by GitHub (administered via Microsoft) rather than a generic cloud provider, it signals specific platform expertise to employers already standardized on GitHub for source control and CI/CD. It complements adjacent certifications such as GitHub Actions (GH-200), GitHub Administration (GH-700), and Microsoft's AZ-500 (Azure Security Engineer) for professionals building a security specialization. The two-year validity period requires periodic renewal, keeping certified professionals current with an actively evolving product.
5 sample questions with answers and explanations. The full bank has 299 questions, enough for 5 full-length practice exams.
Preview — answers shown1. TechGuard Enterprises has enabled secret scanning and discovered several exposed GitHub personal access tokens in their repositories. The security team needs to understand the appropriate response procedures for different types of exposed credentials. They want to establish standardized incident response procedures for various secret types. What should be their response procedure for exposed GitHub personal access tokens?
Explanation
TechGuard should immediately delete the compromised GitHub personal access token, create a new token, and update any services that use the old token. This is GitHub's recommended response procedure for exposed GitHub personal access tokens. Once a token has been committed to a repository, it should be considered compromised regardless of repository visibility, as multiple parties may have access to the repository or its history. The response must include revoking the exposed credential to prevent unauthorized access, generating a replacement token, and updating all systems and services that depend on the credential. This complete remediation process ensures that the exposed credential cannot be used maliciously while maintaining necessary functionality through the replacement token.
2. MicroServices Corp has a complex application with multiple package managers including npm, pip, and Maven. Their development team needs to create a comprehensive Dependabot configuration that handles different update strategies for different ecosystems. What elements should they include in their .github/dependabot.yml configuration? (Select two!)
Multiple correct answersExplanation
A comprehensive Dependabot configuration should include package ecosystem specifications that define which package managers to monitor (npm, pip, Maven, etc.) and update schedule and frequency settings that can be customized for each ecosystem based on the team's workflow needs. For example, critical production dependencies might have daily security updates while development dependencies might have weekly updates. This configuration provides the foundation for automated dependency management while allowing customization based on application requirements and team capacity.
3. CyberDefense Technologies wants to implement code scanning but needs to understand the relationship between CodeQL databases and query execution. They want to optimize their scanning for both performance and comprehensive vulnerability detection. Which statement best describes how CodeQL analysis works?
Explanation
CodeQL creates a database representation of the codebase, then runs queries against this database to identify vulnerabilities by treating code like data for sophisticated analysis. This approach allows CodeQL to perform complex semantic analysis that goes beyond simple pattern matching. The CodeQL database contains structured representations of code syntax, semantics, and data flow that enable precise vulnerability detection with fewer false positives than traditional static analyzers. Queries are written in the CodeQL language to identify specific vulnerability patterns, security issues, and coding errors. This database-driven approach enables CodeQL to find complex vulnerabilities that involve data flow analysis, taint tracking, and sophisticated control flow patterns that would be difficult to detect with simpler scanning methods.
4. DataSecure Ltd has discovered that their secret scanning implementation is generating alerts for expired or inactive credentials that no longer pose security risks. They want to optimize their alert management by understanding which exposed secrets are still active and require immediate attention versus those that have already been deactivated. Which GitHub feature helps them prioritize their remediation efforts?
Explanation
DataSecure should utilize validity checks that automatically verify whether exposed tokens are still active. GitHub's validity checks feature determines whether a detected token is still active and, when possible, whether it was ever active by querying the relevant service provider. This information helps prioritize remediation efforts by focusing immediate attention on active secrets that pose current security risks while allowing lower priority handling of credentials that have already been revoked or expired. Validity checks provide crucial context for incident response, enabling security teams to make informed decisions about remediation urgency and resource allocation. This automated verification reduces manual testing overhead while ensuring that active threats receive appropriate priority in the remediation workflow.
5. A company uses a third-party security tool that is not from the GitHub Marketplace, but the tool supports exporting its findings in the industry-standard SARIF format. The company's DevOps team configures their CI/CD pipeline to run this tool and then use a simple action to upload the resulting SARIF file. Where in the GitHub user interface will developers see the findings from this tool?
Explanation
GitHub uses the SARIF format as a universal standard for ingesting static analysis results. When a SARIF file is uploaded, its findings are displayed directly within the 'Code scanning' alerts view under the repository's 'Security' tab. This allows results from any compatible third-party tool to be shown in the same unified interface as GitHub's native CodeQL results, providing a single pane of glass for developers.
Microsoft Certified: Fabric Data Engineer Associate (DP-700)
DP-700 · 819 questions
GitHub Actions (GH-200)
GH-200 · 310 questions
GitHub Administration (GH-100)
GH-100 · 447 questions
GitHub Copilot (GH-300)
GH-300 · 352 questions
Microsoft Certified: Identity and Access Administrator Associate (SC-300)
SC-300 · 489 questions
Microsoft Certified: Fabric Analytics Engineer Associate (DP-600)
DP-600 · 792 questions
$17.99
One-time access to this exam