Free Microsoft GH-200 Exam Actual Questions & Explanations

Last updated on: Jul 19, 2026
Author: Evelyn Howard (Microsoft Certified Education Specialist)

The GitHub Actions Exam (GH-200) is designed for developers and DevOps professionals who build and manage automation workflows on the GitHub platform. This certification, part of the Microsoft GitHub Certifications path, validates your ability to design, implement, and maintain CI/CD pipelines using GitHub Actions. Whether you're preparing for your first attempt or refining your knowledge, this page provides a clear roadmap of exam topics, question formats, and practical study strategies to help you succeed.

GH-200 Exam Syllabus & Core Topics

Use this topic map to guide your study for Microsoft GH-200 (GitHub Actions Exam) within the Microsoft GitHub Certifications path.

  • Author and maintain workflows: Demonstrate how to create, configure, and update GitHub Actions workflows using YAML syntax. You must understand workflow triggers, job dependencies, conditional logic, and environment variables to automate build, test, and deployment processes effectively.
  • Consume workflows: Learn to call and reuse workflows across repositories and organizations, manage workflow inputs and outputs, and integrate third-party actions into your automation pipelines. This includes understanding workflow permissions and security contexts.
  • Author and maintain actions: Build custom Docker, JavaScript, and composite actions that encapsulate reusable logic. You must know how to publish actions, manage versioning, and document action inputs and outputs for team consumption.
  • Manage GitHub Actions in the enterprise: Configure organization and enterprise-level policies, manage runner infrastructure, control action usage, and implement security and compliance requirements across multiple teams and repositories.

Question Formats & What They Test

The GH-200 exam combines multiple-choice questions with scenario-based items to evaluate both foundational knowledge and practical decision-making skills. Questions progress in difficulty and reflect real-world situations you will encounter when implementing GitHub Actions at scale.

  • Multiple choice: Test understanding of core concepts, action syntax, workflow triggers, and GitHub Actions terminology. These questions verify that you know what features do and when to apply them.
  • Scenario-based items: Present real-world automation challenges and require you to select the best workflow design, troubleshoot configuration issues, or recommend enterprise governance strategies. You analyze context clues to determine the correct approach.
  • Configuration and workflow design: Some items ask you to identify correct YAML syntax, evaluate job sequencing, or determine appropriate runner selection for a given workload. These test your ability to translate requirements into working solutions.

The exam emphasizes practical application; you are expected to reason through problems, not simply recall definitions.

Preparation Guidance

A structured study plan that maps each topic to weekly goals ensures steady progress and reduces last-minute cramming. Combine topic review with hands-on practice and timed assessments to build confidence and pacing awareness.

  • Map the four core topics (Author and maintain workflows, Consume workflows, Author and maintain actions, Manage GitHub Actions in the enterprise) to a 4-6 week study schedule. Allocate more time to areas where your experience is lighter.
  • Work through practice question sets and carefully review explanations for both correct and incorrect answers. This helps you understand the reasoning behind each option and fills knowledge gaps.
  • Create a concept map linking workflows, actions, and enterprise policies together. Understand how these topics interact in real projects, not in isolation.
  • Complete a timed practice test under exam conditions at least one week before your test date. Use the results to identify remaining weak points and refine your final review.
  • In the final week, focus on terminology, YAML syntax patterns, and common troubleshooting scenarios. Revisit any topics where you scored below 80% on practice questions.

Explore other Microsoft certifications: view all Microsoft exams.

Get the PDF & Practice Test

Strengthen your preparation with up-to-date resources from validexamdumps.com. These materials align to GH-200 and cover practical scenarios with clear explanations.

  • Q&A PDF with explanations: Topic-mapped questions that clarify why correct options are right and others aren't.
  • Practice Test: Realistic items, timed and untimed modes, progress tracking, and detailed review feedback.
  • Focused coverage: Aligned to Author and maintain workflows, Consume workflows, Author and maintain actions, and Manage GitHub Actions in the enterprise, so you study what matters most.
  • Regular reviews: Content refreshes that reflect syllabus and product changes.

Visit the exam page to download the PDF, Online Practice Test, or get Bundle Discount offer for both formats: GitHub Actions Exam.

Frequently Asked Questions

What topics carry the most weight on the GH-200 exam?

Authoring and maintaining workflows typically accounts for the largest share of questions, followed by managing GitHub Actions in the enterprise. Both topics are critical for real-world implementation, so prioritize these areas during your study. However, all four domains are tested, so do not skip any topic.

How do the four exam topics connect in a real project?

In practice, you author workflows that call custom actions you have created or consumed from the marketplace. As your organization grows, you manage policies and runners at the enterprise level to govern how teams use GitHub Actions. Understanding these connections helps you see the exam as a cohesive whole rather than isolated concepts.

How much hands-on experience do I need, and what labs should I prioritize?

Hands-on practice is invaluable. Create a test repository and build at least two complete workflows from scratch, one custom action, and experiment with workflow reuse. Prioritize labs that cover conditional logic, matrix strategies, and calling reusable workflows, as these appear frequently on the exam.

What common mistakes do candidates make on GH-200?

Many candidates confuse workflow-level and job-level context, misunderstand runner selection criteria, or overlook permission requirements for actions. Others rush through scenario questions without reading all options carefully. Review explanations for any practice questions you answer incorrectly to avoid repeating these mistakes.

What is an effective review strategy in the final week before the exam?

Focus on your weakest topics and review YAML syntax patterns daily. Do one full-length timed practice test 3-4 days before the exam, then spend the final days reviewing explanations and terminology. Avoid learning new content in the last 48 hours; instead, reinforce what you already know and build confidence.

Question No. 1

Your organization has a secret that must be available to all the repositories within GitHub Actions workflows.

You need to store the secret. The solution must minimize administrative effort.

What should you do in GitHub?

Show Answer Hide Answer
Correct Answer: D

The correct solution is to create an organization-level Actions secret. This minimizes administrative effort because the secret can be managed once at the organization level and made available to all repositories or selected repositories through an access policy. Option D gives the correct navigation path: organization page, Settings, Secrets and variables, then Actions. Option A would require duplicating the secret in every repository, increasing maintenance overhead and risk of inconsistent values. Option B is wrong because personal developer settings do not centrally expose a secret to all organization repositories. Option C is incomplete because the current GitHub path places Actions secrets under ''Secrets and variables,'' not just a generic ''Security > Secrets'' location. GitHub documents organization secrets and the repository access policy model for sharing them.


Question No. 2

While awaiting approval, how many days can a workflow be in the ''Waiting'' state before it automatically fails?

Show Answer Hide Answer
Correct Answer: C

When a workflow job targets an environment that has required reviewers, the job enters a waiting state until it is approved or rejected. GitHub Actions does not allow that waiting state to remain indefinitely. If the job is not approved within the allowed period, the workflow fails automatically. The correct duration is 30 days, making option C correct. Options A, B, and D do not match the GitHub Actions environment approval behavior. This is important for deployment governance because required reviewers can block access to protected environments and environment secrets, but pending approvals still have a maximum lifetime. This exam topic aligns with protected environments, deployment approvals, required reviewers, and workflow execution control.

================


Question No. 3

Which default environment variable specifies the branch or tag that triggered a workflow?

Show Answer Hide Answer
Correct Answer: B

The GITHUB_REF environment variable specifies the branch or tag that triggered the workflow. It contains the full reference to the branch or tag, such as refs/heads/main for a branch or refs/tags/v1.0 for a tag.


Question No. 4

Based on the YAML below, which two statements are correct? (Choose two.)

Show Answer Hide Answer
Correct Answer: A, D

The publish-npm job includes the JS-DevTools/npm-publish action, which is used to publish an npm package to an npm registry.

The publish-npm job has the needs: build directive, meaning it will only run after the build job successfully completes.


Question No. 5

You need to create a reusable GitHub Actions workflow template named ci.yml. The solution must ensure that ci.yml appears on the New workflow interface of GitHub Actions. Where should you store ci.yml?

Show Answer Hide Answer
Correct Answer: C

Organization starter workflow templates must be stored in a special workflow template directory so that they appear in the GitHub Actions ''New workflow'' interface. The correct location is .github/workflow-templates, typically in the organization's .github repository. Therefore, option C is correct. Option A, .github/workflows, is where active workflow files are stored inside a repository so they can be triggered by events. It is not the correct location for organization-level starter templates. Option B is not a valid GitHub Actions workflow template directory. Option D is incorrect because storing the file in each repository's root does not publish it as a reusable starter workflow template. This checks workflow template reuse and organization automation standardization.

================