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.
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?
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?
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?
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)
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?
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?
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.