2 packs: 15% off with code BUY2. 3 or more: 20% off with code BUY3.

GITHUB · GH-200

GitHub GH-200 Actions Exam Practice Questions

99% pass rateUpdated 1 Nov 2026124 questions2 PDFs by email
5.02 reviews
(2 customer reviews)

US$39

Every question with the correct answer and why the other options are wrong.

Download the free sample

Card, Apple Pay, Google Pay or PayPal. Your PDF is prepared and emailed to you after checkout, usually within a few hours.

99% pass rate. Pass or your money back.Fail the exam after using this pack and we refund it, or swap it for any other pack. How the guarantee works
All the GH-200 exam questions are real, have tested, thanks, I passed my test smoothly.
Darron CordGH-200
Category:
TRY BEFORE YOU BUY

Three of the 124 questions in this pack

Question 1

Scheduled workflows run on the:

  1. specified commit and branch from the workflow YAML file.
  2. latest commit from the branch named schedule.
  3. latest commit and branch on which the workflow was triggered.
  4. latest commit from the branch named main.
  5. latest commit on the default or base branch.
Show answer and explanation

Correct answer: E. latest commit on the default or base branch.

Scheduled workflows (triggered by the schedule event) execute on the latest commit of the default or base branch, typically main or master. This ensures consistency since the workflow schedule is defined in the repository's default branch and runs against the most current code on that branch.

Why the other options are wrong

  • A. Scheduled workflows don't run on arbitrary specified commits; they run on the latest commit of a specific branch.
  • B. There is no standard branch named 'schedule' that workflows default to.
  • C. Scheduled workflows don't run on the branch where they were triggered, they run on the default branch.
  • D. While main is often the default branch, the correct answer is more general: the default or base branch, which may vary.

Question 2

Custom environment variables can be defined at multiple levels within a workflow file including: (Each answer presents a complete solution. Choose three.)

  1. top level.
  2. step level.
  3. default level.
  4. runner level.
  5. job level.
  6. stage level.
Show answer and explanation

Correct answer: A, B, E. top level; step level; job level.

Custom environment variables in GitHub Actions workflows can be defined at three levels: top level (applies to all jobs and steps), job level (applies to all steps within a job), and step level (applies only to that specific step). There are no 'default', 'runner', or 'stage' levels in GitHub Actions workflow syntax.

Why the other options are wrong

  • C. There is no 'default level' in GitHub Actions workflow structure.
  • D. Runner-level is not a valid scope for defining environment variables in workflows.
  • F. GitHub Actions does not use 'stage' terminology; it uses 'job' instead.

Question 3

You are a DevOps engineer working on deployment workflows. You need to execute the deploy job only if the current branch name is feature-branch. Which code snippet will help you to implement the conditional execution of the job?

  1. jobs: deploy: if: github.ref_name == 'feature-branch' runs-on: ubuntu-latest steps: - uses: actions/checkout@v3
  2. jobs: deploy: if: github.branch.name == 'feature-branch' runs-on: ubuntu-latest steps: - uses: actions/checkout@v3
  3. jobs: deploy: if: github.ref.name == 'feature-branch' runs-on: ubuntu-latest steps: - uses: actions/checkout@v3
  4. jobs: deploy: if: github.branch_name == 'feature-branch' runs-on: ubuntu-latest steps: - uses: actions/checkout@v3
Show answer and explanation

Correct answer: A. jobs: deploy: if: github.ref_name == 'feature-branch' runs-on: ubuntu-latest steps: - uses: actions/checkout@v3

The correct syntax uses github.ref_name to access the current branch name. The ref_name context variable specifically contains the branch or tag name that triggered the workflow, and the condition github.ref_name == 'feature-branch' properly checks for the feature-branch.

Why the other options are wrong

  • B. github.branch.name does not exist in the GitHub Actions context.
  • C. github.ref.name is incorrect; the context variable is github.ref_name, not a nested object.
  • D. github.branch_name does not exist; the correct context variable is github.ref_name.

See all 31 free questions Get the full pack, US$39

REVIEWS

2 reviews for GitHub GH-200 Actions Exam Practice Questions

  1. Darron Cord –

    All the GH-200 exam questions are real, have tested, thanks, I passed my test smoothly.

  2. Lilith Mercer –

    The GH-200 exam wasn’t easy, but after working through practice tests and study resources, I was able to pass. The material covered everything I needed and more.

Only logged in customers who have purchased this product may leave a review.

How much of the GitHub GH-200 Actions bank is free?

124 questions in the bank

Each step includes the one before, so buying only adds new questions.

  • You are here10questionsFree sampleThree on this page, all ten as a PDF.Download the sample
  • 3125% of the bankPractice pageFree on the site, every answer explained.Go to the practice page
  • 62the first half of the packHalf PackFree by email, as one PDF, every answer explained.Get the Half Pack
  • 124100%, the whole bankFull pack, US$39Plus the questions-only PDF, monthly updates, refund if you fail.Get the full pack
ABOUT THIS PACK

What’s in the GitHub GH-200 Actions pack

  • 124 questions mapped to the GH-200 exam objectives
  • Answers and explanations for every question, including the wrong options
  • A questions-only PDF for timed practice runs
  • Delivered by email shortly after checkout
  • Free monthly updates for as long as the exam is live
  • Pass or your money back

A GH-200 attempt costs US$99. This pack is US$39, paid once.

What makes the GH-200 hard

GH-200 was rebuilt in January 2026. It went from four domains to five, added a security and optimisation domain, and Microsoft's change log says objectives were added, removed, moved and reworded throughout, so an older four-domain question set is for a different exam.

What it tests now is whether a candidate can run Actions at scale, not just write a YAML file. Workflow authoring and enterprise management are the two biggest domains at 20 to 25% each: workflow_dispatch inputs mapped into workflow_call, service containers, matrix strategies, contexts and expression evaluation, then runner groups, IP allow lists and secrets managed through the REST API.

The newer security domain covers GITHUB_TOKEN versus PAT permissions, OIDC federation to cloud providers, pinning actions to full commit SHAs under immutable actions enforcement, script injection mitigation, and SLSA artifact attestations. The blueprint even names the Ubuntu 20.04 deprecation and the Windows Server 2025 move for windows-latest, which shows how current the questions are.

About the exam

GH-200 (GitHub Actions) is delivered by Microsoft and maintained by GitHub. It covers authoring and managing workflows, consuming and troubleshooting workflows, authoring and distributing custom actions, managing Actions for the enterprise including runners and secrets, and securing and optimising automation. It is an intermediate-level exam with no prerequisites, and skills are measured as of January 2026.

Questions before you buy

How quickly do I receive it?

Your PDF is prepared and sent to your email address after checkout, and you get a confirmation as soon as it is on its way.

Are updates included?

Yes. The pack is updated every month for as long as the exam is live, and updates are free for everyone who has bought it.

What if I fail the exam?

We refund the pack, or swap it for any other pack if you would rather keep studying. Sit the exam 7 to 30 days after buying, then send your official score report within 7 days of the exam date, as set out in the refund policy.

What is your pass rate?

99% of customers who prepare with a CertStash pack pass. If you do not, we refund the pack, or swap it for another pack.

Can I share it with colleagues?

Each purchase is licensed to one person. For a team, school or training organisation, email support@certstash.com for a licence that fits.