
GitHubActions Certification
Domain 2Objective 1
Interpret Workflow Behavior and Results GH-200 Practice Questions (Page 5)
Part of the Consume and troubleshoot workflows domain, which accounts for 15-20% of the GH-200 exam.
26questions here
6free pages
10concepts
15-20%of the exam
Questions 21–25
- 21
A developer is examining a workflow file and sees the following trigger configuration: ```yaml on: push: branches: - main ``` When will this workflow run?
Select an answer first - 22
Consider the following YAML snippet: ```yaml defaults: &defaults runs-on: ubuntu-latest job1: <<: *defaults steps: - run: echo "Hello" ``` What is the effective value of `runs-on` for `job1`?
Select an answer first - 23
Given the following YAML: ```yaml common: &common env: NODE_ENV: production job: <<: *common env: DEBUG: true ``` What is the effective `env` for `job` after YAML expansion?
Select an answer first - 24
In a workflow job log, what does a step with a green checkmark (✓) indicate?
Select an answer first - 25
A workflow with a matrix strategy has 8 jobs. The run failed for 2 jobs: `build (ubuntu-latest, 16)` and `build (windows-latest, 14)`. The logs for `build (ubuntu-latest, 16)` show a compilation error in a C++ file. The logs for `build (windows-latest, 14)` show a different error: `The system cannot find the file specified.` The developer suspects a common cause. What is the most likely common cause?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by GitHub. “GH-200” is a trademark of its owner, used for identification only.