GitHub GH-200 Actual Exam Questions
124 Questions & Answers
GH-200 GitHub Actions exam practice questions for reviewing common workflow design and automation concepts. Select Reveal Solution after choosing your answer.
A team wants a workflow to run when a pull request targets the main branch. Which trigger configuration best fits this requirement?
Reveal Solution
The pull_request event supports branch filters to target pull requests for main.
A platform team needs several repositories to call the same centrally maintained deployment workflow. What should the team create?
Reveal Solution
Reusable workflows can be exposed with workflow_call and invoked by caller workflows.
A deployment workflow must authenticate to a cloud provider without storing a long-lived client secret in GitHub. Which approach should be preferred when supported by the provider?
Reveal Solution
OIDC can exchange a GitHub identity token for short-lived cloud credentials; scope the role narrowly.
A production deployment should pause until an authorized reviewer approves it. Which GitHub Actions feature is designed for this gate?
Reveal Solution
Environment protection rules can require reviewer approval before a deployment proceeds.
A test job must run the same test suite on three supported runtime versions. Which strategy is the most maintainable?
Reveal Solution
A matrix runs the job for each defined value while keeping the steps in one maintainable workflow.