↓ Try a sample question (with explanation)

Microsoft · Practice questions

GH-200 GitHub Actions

Study 90 GH-200 GitHub Actions practice questions with explanations. 20 of them are free to try, no sign-up needed.

Buy to unlock all questions, full reading mode and PDFs.

About this question bank

Questions
90 in total
Free to try
20 questions (no sign-up)
Exam domains
4 domains
Price
JPY 1,500 (≈ US$10; shown in your local currency at checkout) · one-time payment · 3 months
PDF
Japanese–English · Chinese–English · Korean–English · English (for buyers)
Data version
2026-12

About this exam

This is the exam for the GitHub Actions certification from GitHub. It is aimed at developers and DevOps engineers who automate builds, tests and deployments with GitHub Actions, and covers authoring and maintaining workflows, creating and reusing actions, and managing GitHub Actions across an organization.

Try a sample question

This is an original sample question written by itmoshi based on the exam objectives.

An organization on GitHub Enterprise Cloud has a private repository whose workflow includes a deploy job that deploys to production using production cloud credentials; it is the only job configured to reference the production environment. Requirements: the credentials must be readable only by jobs that reference the production environment (that is, the deploy job); the deploy job must run only after a release manager approves it, and under the configured rules administrators must not be able to bypass approval of a pending deployment; and the repository's test workflows, which do not reference production, must not be able to read the credentials. How should you configure this?

  1. AStore the credentials as a repository secret and reference them from the deploy job through the secrets context
  2. BStore the credentials as an organization secret and limit repository access to this repository only
  3. CBase64-encode the credentials and put them in the workflow file's env block as job environment variables
  4. DStore an environment secret in production, make release managers required reviewers, and disallow admin bypass
Show answer and explanation

Answer:D Use environment secrets with environment protection rules to limit secrets to specific jobs and require approval.

Why it is correct

A secret stored in an environment can only be read by jobs that reference that environment. Setting environment: production on the deploy job, and not on test jobs, keeps the secret out of the test workflows. Making the release managers required reviewers in the environment's protection rules means the job does not start, and does not receive the secret, until one of them approves. Turning off "Allow administrators to bypass configured protection rules" stops administrators from bypassing approval of a pending deployment (administrators can still edit the rules themselves, which needs separate control).

The other options

  • ✗ A A repository secret can also be referenced by the repository's test workflows, and there is no approval step. It suits low-impact values used by many jobs in a repository.
  • ✗ B Organization secrets can only be scoped down to repositories, so the repository's test workflows can still reference them, and there is no approval. Use them to share one value across many repositories.
  • ✗ C Base64 is encoding, not encryption: anyone who can read the workflow file can decode it, and a value placed in env is not automatically masked in logs the way a secret is. This is only a way to pass non-sensitive settings inside a workflow.

Key takeaway

Secret scope: organization → shared across repositories; repository → available to that repository's workflows; environment → only jobs that reference that environment. Approvals, wait timers and deployment branch limits → environment protection rules, including whether administrators may bypass them.

Try 20 questions like this for free

Most frequent topics

  1. Managing secrets and environment variables securely in workflows22 questions
  2. Building JavaScript, Docker and composite actions with action.yml metadata11 questions
  3. Triggering workflows on push, pull_request and schedule events10 questions
  4. Defining workflows in YAML with on, jobs, steps and runs-on9 questions
  5. Creating actions reusable across repositories8 questions
  6. Managing self-hosted runners at organization and repository level6 questions

Number of questions per topic among the 90 in this bank (top topics), as classified by itmoshi.

Exam domains

  1. Author and maintain workflows48 questions
  2. Consume workflows5 questions
  3. Author and maintain actions22 questions
  4. Manage GitHub Actions for the enterprise15 questions

Other Microsoft exams

← All exams

itmoshi is an unofficial study service and is not affiliated with Microsoft or any exam provider.