All Microsoft exams
Microsoft GH-500: GitHub Advanced Security
What the GH-500 exam covers and what it costs, with a free 30-question practice test and an explanation for every answer.
- Level
- Associate
- Topic areas
- 4
- Free practice questions
- 30
- Full question bank
- 100 questions
What the GH-500 exam covers
The topic areas in our GH-500 question bank, with each one's share of the 100 practice questions.
| Topic | Share | Questions |
|---|---|---|
| Configure and use code scanning | 28% | 28 |
| Manage security for an organization | 25% | 25 |
| Configure and use dependency management | 24% | 24 |
| Configure and use secret scanning | 23% | 23 |
GH-500 cost and format
| Exam code | GH-500 |
|---|---|
| Certification | GitHub Advanced Security |
| Vendor | Microsoft |
| Level | Associate |
| Status | Active |
Last checked October 22, 2026 against the official Microsoft exam page.
GH-500 sample questions
The first 5 questions from the free practice test. Open a question to see the answer and why it is right.
Question 1Configure and use code scanning
A team wants to find SQL injection and other vulnerabilities in its Python and JavaScript code automatically on every pull request. Which feature should be configured?
- ASecret scanning custom patterns defined per repository
- BOrganization audit log streaming to a SIEM destination
- CDependabot alerts for vulnerable dependency versions
- DCode scanning with CodeQL default or advanced setup
Show answer and explanationHide answer
Correct answer: DCodeQL-based code scanning analyzes source code for vulnerabilities and can run on pull requests. Dependabot checks dependencies, secret scanning finds credentials, and audit logs record administrative events.
Question 2Manage security for an organization
An organization wants all new repositories to have Advanced Security features enabled automatically. Which approach implements this?
- AConfiguring code security settings at the organization level with defaults for new repositories
- BAsking developers to enable features on new repositories when they remember to do so
- CEnabling features manually on each repository after creation via its security settings page
- DDisabling features for new repositories by default to reduce configuration overhead
Show answer and explanationHide answer
Correct answer: AOrganization-level code security configurations can apply defaults to new repositories, which keeps coverage consistent. Manual or memory-based enabling leaves gaps, and disabling defaults works against the goal.
Question 3Configure and use dependency management
A project depends on a library that has a published high-severity vulnerability with a fixed version available. Which GitHub feature alerts maintainers and identifies the fix?
- ACode scanning default setup for C++ to flag risky coding patterns
- BBranch protection rules with required status checks
- CSecret scanning push protection on new commits
- DDependabot security alerts for vulnerable dependencies
Show answer and explanationHide answer
Correct answer: DDependabot security alerts identify vulnerable dependencies and show the patched version when one exists. Secret scanning finds credentials, code scanning analyzes code patterns, and branch protection controls merges.
Question 4Configure and use secret scanning
A developer accidentally commits an AWS access key to a repository. Which GitHub feature stops the push before the secret reaches the remote?
- APush protection in secret scanning
- BBranch protection requiring two reviews
- CDependabot version updates
- DCodeQL default setup
Show answer and explanationHide answer
Correct answer: APush protection blocks commits that contain detected secrets before they reach the repository. Dependabot and CodeQL analyze dependencies and code after the push, and review rules do not inspect for secrets.
Question 5Configure and use code scanning
Which format does code scanning use to upload analysis results from third-party tools to GitHub?
- ACSV only
- BSARIF
- CPDF reports
- DJPEG screenshots
Show answer and explanationHide answer
Correct answer: BSARIF is the Static Analysis Results Interchange Format that code scanning accepts from external tools. CSV and PDF are not the upload format, and screenshots carry no structured results.
How to prepare for GH-500
- Read the official Microsoft outline first (exam page), so you know exactly what is in scope.
- Give the most time to Configure and use code scanning and Manage security for an organization: together they make up 53% of the questions.
- Take the free 30-question practice test and note which topics you miss.
- Go back to the weak topics, then test again. A practice score shows where to study; it does not predict your exam result.
Full GH-500 question bank
All 100 questions with answers and explanations, as a PDF, an online practice exam, or both.
Both formats together. The best value.
Instant access after payment, with 90 days of updates. Checkout is on our store, AIExamCerts.
GH-500 FAQ
Related exams
| Exam | Vendor | Level |
|---|---|---|
| SC-401: Administering Information Security in Microsoft 365 | Microsoft | Associate |
| SC-500: Implementing End-to-End Security Controls for Cloud and AI Workloads | Microsoft | Associate |
| SC-900: Microsoft Security, Compliance, and Identity Fundamentals | Microsoft | Foundational |
| SC-200: Microsoft Security Operations Analyst | Microsoft | Associate |
| SC-300: Microsoft Identity and Access Administrator | Microsoft | Associate |
| SC-100: Microsoft Cybersecurity Architect | Microsoft | Expert |