All Microsoft exams
Microsoft GH-200: GitHub Actions
What the GH-200 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-200 exam covers
The topic areas in our GH-200 question bank, with each one's share of the 100 practice questions.
| Topic | Share | Questions |
|---|---|---|
| Ecosystem and deployment | 29% | 29 |
| Security and secrets | 26% | 26 |
| Automation and runners | 23% | 23 |
| Workflow fundamentals | 22% | 22 |
GH-200 cost and format
| Exam code | GH-200 |
|---|---|
| Certification | GitHub Actions |
| Vendor | Microsoft |
| Level | Associate |
| Status | Active |
Last checked October 22, 2026 against the official Microsoft exam page.
GH-200 sample questions
The first 5 questions from the free practice test. Open a question to see the answer and why it is right.
Question 1Ecosystem and deployment
A team wants to deploy a web app to Azure from a workflow using a service that has an official action. Which practice is most appropriate?
- AWrite a custom script that copies passwords and store them in a plain text file
- BDeploy by manually uploading files each time through the web portal
- CSkip authentication to save time so the deploy job runs faster
- DUse the official Azure login and deployment actions with OIDC credentials
Show answer and explanationHide answer
Correct answer: DOfficial Azure actions with OIDC give secure, maintained deployment with short-lived credentials. Custom password scripts, manual uploads and skipped authentication are weaker or unsafe.
Question 2Security and secrets
A workflow needs an API token for a deployment. The token must not appear in logs or in the workflow file. Which approach is correct?
- AStore it as an encrypted repository or environment secret and reference it through the secrets context
- BCommit it to a file named token.txt in the repository root and read it back with a cat command
- CPaste it into the workflow description field of the pull request template so everyone can see it
- DPrint it at the start of the job for debugging and echo it to the console log unredacted
Show answer and explanationHide answer
Correct answer: AEncrypted secrets referenced through the secrets context are masked in logs and kept out of source. Printing, committing and pasting expose the value.
Question 3Automation and runners
A workflow must run a build on a machine with a specific internal toolchain that GitHub-hosted runners do not provide. Which option should be used?
- AA GitHub-hosted runner that is renamed to match the internal toolchain labels in the workflow file
- BRunning the build on a developer laptop manually and uploading the final output
- CA self-hosted runner registered to the repository or organization with the required tools
- DRemoving the build step from the workflow so the job just checks out source code
Show answer and explanationHide answer
Correct answer: CSelf-hosted runners let teams run jobs on their own machines with custom tools. Renaming a hosted runner changes nothing, manual laptop builds are not automation, and removing the step fails the requirement.
Question 4Workflow fundamentals
A team wants a GitHub Actions workflow to run tests on every push to any branch and on pull requests targeting main. Which trigger configuration is correct?
- Aon: workflow_call, so tests run when another workflow calls this file with inputs
- Bon: release published, so tests run after a version tag is pushed to remote
- Con: schedule with cron '*/5 * * * *', so tests run every five minutes on a timer
- Don: push for all branches and pull_request with branches set to main
Show answer and explanationHide answer
Correct answer: DThe push trigger runs on pushes and the pull_request trigger with a branch filter runs for PRs targeting main. Schedule, workflow_call and release triggers do not match the requirement.
Question 5Ecosystem and deployment
A release must be deployed to production only after it has been tested in a staging environment, and the production job should show the deployment history. Which feature provides this?
- ANo deployment tracking, so release records exist in the CI console output
- BEnvironments with a deployment history and sequential jobs that depend on staging
- CA workflow that deploys both environments at the same moment without waiting for staging to pass
- DManual copying of files between servers using scp from a developer laptop with no audit record
Show answer and explanationHide answer
Correct answer: BEnvironments track deployment history and sequential jobs enforce order. Simultaneous deploys skip gating, manual copies are untracked, and no tracking removes visibility.
How to prepare for GH-200
- Read the official Microsoft outline first (exam page), so you know exactly what is in scope.
- Give the most time to Ecosystem and deployment and Security and secrets: together they make up 55% 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-200 question bank
All 100 questions with answers and explanations, as a PDF, an online practice exam, or both.
The full 100-question bank for GH-200 is in final review. The free practice test is open now.
Start the free practice testGH-200 FAQ
Related exams
| Exam | Vendor | Level |
|---|---|---|
| AZ-400: Designing and Implementing Microsoft DevOps Solutions | Microsoft | Expert |
| GH-900: GitHub Foundations | Microsoft | Foundational |
| AZ-401: Designing and Implementing Microsoft Agentic DevOps Solutions (beta) | Microsoft | Expert |
| GH-100: GitHub Enterprise Administrator | Microsoft | Associate |
| AI-103: Developing AI Apps and Agents on Azure | Microsoft | Associate |
| AI-200: Developing AI Cloud Solutions on Azure | Microsoft | Associate |