ExamDumpster

Free GH-200 sample questions

Real questions from the GitHub Actions practice bank, with the correct answer and an explanation for each one. No junk, no filler.

Try them in the simulator Same questions, with study, timed and flashcard modes.

Showing 8 of 17 free sample questions.

Question 1Choose one

You are architecting a CI/CD workflow for a monorepo containing a frontend application (in `/client`) and a backend API (in `/api`). You need to configure the workflow to trigger ONLY when changes are pushed to the `main` branch affecting the backend API code. Changes to documentation (Markdown files) inside the api directory should NOT trigger the workflow. Which trigger configuration should you use?

Question 2Choose one

A DevOps engineer is configuring a scheduled workflow that must run every Monday at 8:00 AM UTC. The workflow is critical for weekly reporting. Which cron schedule expression correctly implements this requirement?

Question 3Choose one

You are creating a workflow that accepts manual inputs to deploy a specific version of an application to a chosen environment. You need to ensure the `environment` input can only be one of three values: 'dev', 'staging', or 'prod'. How should you define this input in the `workflow_dispatch` trigger?

Question 4Choose one

CASE STUDY: GlobalLogistics Corp GlobalLogistics has a complex deployment pipeline. The workflow `deploy.yml` consists of three jobs: `build`, `test`, and `deploy`. Requirements: 1. `build` must run first. 2. `test` must run only if `build` succeeds. 3. `deploy` must run only if `test` succeeds. 4. If `test` fails, a special cleanup job called `report-failure` must run to upload logs to an S3 bucket. How should you configure the `report-failure` job dependencies?

Question 5Choose 2

You need to select a runner for a job that requires a Linux environment with 64GB of RAM and custom GPU drivers installed. You have configured a self-hosted runner with these specifications and assigned it the labels: `linux`, `x64`, `gpu`, and `high-mem`. Which `runs-on` configuration ensures the job lands on this specific runner or one with identical capabilities? (Select TWO)

Question 6Choose one

A developer defines an environment variable `API_KEY` at the workflow level, but redefines it with a different value in a specific job, and again within a specific step. When the step executes, which value of `API_KEY` will be used?

Question 7Choose one

You are maintaining a public repository. A contributor submits a Pull Request from a forked repository. Your workflow normally runs integration tests using a secret `DB_PASSWORD`. Why does the workflow fail when triggered by the PR from the fork?

Question 8Choose one

Your workflow requires a Redis database for integration testing. You want to configure a service container for Redis that is accessible to the job steps. Which configuration correctly sets up the Redis service and maps the port?

9 more free samples are waiting

Create a free account to unlock the whole GH-200 sample bank, or get full access to all 250 practice questions in the simulator.

Create account