[Mar-2026] The Best GitHub Administrator GH-200 Professional Exam Questions
Try 100% Updated GH-200 Exam Questions [2026]
NEW QUESTION # 57
Which of the following is the lowest repository permission you need to have for downloading workflow artifacts?
- A. Read
- B. Triage
- C. Maintain
- D. Write
- E. Admin
Answer: A
Explanation:
Downloading workflow artifacts
You can download archived artifacts before they automatically expire.
Who can use this feature?
People who are signed into GitHub and have read access to a repository can download workflow artifacts.
Reference:
https://docs.github.com/en/actions/how-tos/manage-workflow-runs/download-workflow-artifacts
NEW QUESTION # 58
An organization's policies specify only local actions are allowed. How should actions be distributed for this organization?
- A. via a repository owned by a third party
- B. via the .github repository owned by the organization
- C. via the GitHub Marketplace
- D. via repositories owned by the organization
Answer: D
Explanation:
Local GitHub Actions refer to two concepts: custom actions developed within your own repository and the process of running any GitHub Action locally on your machine for faster testing and debugging.
1. Local Actions (within your repository)
Definition:
These are custom actions that you define and store directly in your repository under the .github/actions/ directory. They are not publicly shared, unlike actions from the GitHub Marketplace.
Purpose:
They are used for project-specific, repetitive tasks that you want to reuse within your workflows without publishing them globally.
How it works:
You can call these local actions in your workflow files as if they were standard published actions.
2. Running Actions Locally (on your development machine)
Note:
Pinned repositories
You can give users easy access to important or frequently used repositories, by choosing up to six repositories for public users and six repositories for members of the organization. Once you pin repositories to your organization profile, the "Pinned" section is shown above the
"Repositories" section of the profile page.
Reference:
https://dev.to/codenamegrant/supercharging-your-workflows-with-local-github-actions-2o23
https://docs.github.com/en/organizations/collaborating-with-groups-in-organizations/customizing- your-organizations-profile
NEW QUESTION # 59
Disabling a workflow allows you to stop a workflow from being triggered without having to delete the file from the repo. In which scenarios would temporarily disabling a workflow be most useful?
(Each correct answer presents a complete solution. Choose two.)
- A. A runner needs to have diagnostic logging enabled.
- B. A workflow needs to be changed from running on a schedule to a manual trigger.
- C. A workflow error produces too many, or wrong, requests, impacting external services negatively.
- D. A workflow sends requests to a service that is down.
- E. A workflow is configured to run on self-hosted runners.
Answer: C,D
Explanation:
Temporarily disabling a workflow can be useful in many scenarios. These are a few examples where disabling a workflow might be helpful:
[B] A workflow error that produces too many or wrong requests, impacting external services negatively.
A workflow that is not critical and is consuming too many minutes on your account.
[D] A workflow that sends requests to a service that is down.
Workflows on a forked repository that aren't needed (for example, scheduled workflows).
Reference:
https://docs.github.com/en/actions/how-tos/manage-workflow-runs/disable-and-enable-workflows
NEW QUESTION # 60
You need to create new workflows to deploy to an unfamiliar cloud provider. What is the fastest and safest way to begin?
- A. Search GitHub Marketplace for actions created by GitHub.
- B. Use the actions/jenkins-plugin action to utilize an existing Jenkins plugin for the cloud provider.
- C. Create a custom action to wrap the cloud provider's CLI.
- D. Download the CLI for the cloud provider and review the associated documentation.
- E. Search GitHub Marketplace for verified actions published by the cloud provider.
Answer: E
Explanation:
Searching the GitHub Marketplace for verified actions published by the cloud provider is the quickest and safest approach. Many cloud providers offer verified GitHub Actions that are maintained and optimized to interact with their services. These actions typically come with the correct configurations and best practices, allowing you to get started quickly without reinventing the wheel.
Note: About GitHub Marketplace for apps
GitHub Marketplace where you can share your apps with everyone.
GitHub Marketplace connects you to developers who want to extend and improve their GitHub workflows. You can list free and paid tools for developers to use in GitHub Marketplace. GitHub Marketplace offers developers two types of tools: GitHub Actions and Apps, and each tool requires different steps for adding it to GitHub Marketplace.
GitHub Actions
Anyone can publish an action in GitHub Marketplace. GitHub verifies some partner organizations and these are shown as verified creators.
Reference:
https://docs.github.com/en/enterprise-cloud@latest/apps/github-marketplace/github-marketplace- overview/about-github-marketplace-for-apps
NEW QUESTION # 61
Which workflow event is used to manually trigger a workflow run?
- A. workflow_run
- B. workflow_dispatch
- C. status
- D. create
Answer: B
Explanation:
Manually running a workflow
When a workflow is configured to run on the workflow_dispatch event, you can run the workflow using the Actions tab on GitHub, GitHub CLI, or the REST API.
Configuring a workflow to run manually
To run a workflow manually, the workflow must be configured to run on the workflow_dispatch event.
To trigger the workflow_dispatch event, your workflow must be in the default branch.
Reference:
https://docs.github.com/en/actions/how-tos/manage-workflow-runs/manually-run-a-workflow
NEW QUESTION # 62
As a developer, you want to review the step that caused a workflow failure and the failed step's build logs. First navigate to the main page of the repository on GitHub. Which section contains the step failure information?
- A. Issues
- B. Actions
- C. Code
- D. Insights
- E. Pull requests
Answer: B
Explanation:
The Actions tab on the main page of the repository is where you can find detailed information about the workflow runs, including step failures and build logs. You can review the status of each job and step within the workflow, see the failure messages, and access logs for debugging.
NEW QUESTION # 63
Custom environment variables can be defined at multiple levels within a workflow file including:
(Each answer presents a complete solution. Choose three.)
- A. step level.
- B. job level.
- C. runner level.
- D. top level.
- E. stage level.
- F. default level.
Answer: A,B,D
Explanation:
Defining environment variables for a single workflow
To set a custom environment variable for a single workflow, you can define it using the env key in the workflow file. The scope of a custom variable set by this method is limited to the element in which it is defined. You can define variables that are scoped for:
The entire workflow, by using env at the top level of the workflow file.
The contents of a job within a workflow, by using jobs.<job_id>.env.
A specific step within a job, by using jobs.<job_id>.steps[*].env.
Reference:
https://docs.github.com/en/actions/how-tos/write-workflows/choose-what-workflows-do/use- variables
NEW QUESTION # 64
As a developer, your self-hosted runner sometimes looses connection while running jobs. How should you troubleshoot the issue affecting your self-hosted runner?
- A. Locate the self-hosted runner in your repository's settings page and download its log archive.
- B. Access the self-hosted runner's installation directory and look for log files in the _diag folder.
- C. Set the DEBUG environment variable to true before starting the self-hosted runner to produce more verbose console output.
- D. Start the self-hosted runner with the --debug flag to produce more verbose console output.
Answer: B
Explanation:
When troubleshooting a self-hosted runner, you can access the _diag folder located in the self-hosted runner's installation directory. This folder contains diagnostic logs that can help you identify the root cause of issues, such as connection problems.
NEW QUESTION # 65
When reviewing an action for use, what file defines its available inputs and outputs?
- A. config.json
- B. defaults.json
- C. inputs.yml
- D. action.yml
- E. workflow.yml
Answer: D
Explanation:
The action.yml file defines the inputs and outputs for a GitHub Action. This file contains metadata about the action, including the required inputs and outputs, as well as other configurations like the action's description, runs, and environment setup.
NEW QUESTION # 66
As a developer, you need to make sure that only actions from trusted sources are available for use in your GitHub Enterprise Cloud organization. Which of the following statements are true?
(Each correct answer presents a complete solution. Choose three.)
- A. GitHub-verified actions can be collectively enabled for use in the enterprise.
- B. Specific actions can individually be enabled for the organization, including version information.
- C. Actions can be restricted to only those available in the enterprise.
- D. Actions can be published to an internal marketplace.
- E. Individual third-party actions enabled with a specific tag will prevent updated versions of the action from introducing vulnerabilities.
- F. Actions created by GitHub are automatically enabled and cannot be disabled.
Answer: A,B,D
Explanation:
[A] Internal Actions Marketplace
The reason for having an internal actions marketplace is to have a central location for all the actions that can be used inside our production organization. This is to prevent any actions from the public marketplace from being used in our production organization, without being checked for security risks first.
[B] Allow Marketplace actions by verified creators: You can allow all GitHub Marketplace actions created by verified creators to be used by workflows. When GitHub has verified the creator of the action as a partner organization, the badge is displayed next to the action in GitHub Marketplace.
[C] You can enable specific actions for the organization by identifying them and providing version control, ensuring only trusted versions are used in workflows.
Reference:
https://devopsjournal.io/blog/2021/10/14/GitHub-Actions-Internal-Marketplace
https://docs.github.com/en/enterprise-cloud@latest/organizations/managing-organization- settings/disabling-or-limiting-github-actions-for-your-organization
NEW QUESTION # 67
As a developer, you need to make sure that only actions from trusted sources are available for use in your GitHub Enterprise Cloud organization. Which of the following statements are true? (Choose three.)
- A. GitHub-verified actions can be collectively enabled for use in the enterprise.
- B. Specific actions can individually be enabled for the organization, including version information.
- C. Actions can be restricted to only those available in the enterprise.
- D. Actions can be published to an internal marketplace.
- E. Individual third-party actions enabled with a specific tag will prevent updated versions of the action from introducing vulnerabilities.
- F. Actions created by GitHub are automatically enabled and cannot be disabled.
Answer: A,B,D
Explanation:
You can enable specific actions for the organization by identifying them and providing version control, ensuring only trusted versions are used in workflows.
GitHub-verified actions can be enabled at the enterprise level, providing an extra layer of security by ensuring that only trusted actions are available to workflows.
Actions can be published to an internal marketplace, allowing organizations to share reusable actions securely within their enterprise without exposing them to the public.
NEW QUESTION # 68
What are the two ways to pass data between jobs? (Choose two.)
- A. Use the copy action with cache parameter to cache the data
- B. Use artifact storage.
- C. Use the copy action with restore parameter to restore the data from the cache
- D. Use data storage.
- E. Use the copy action to save the data that should be passed in the artifacts folder.
- F. Use job outputs
Answer: B,F
Explanation:
Job outputs are used to pass data from one job to another in a workflow. A job can produce output values (like variables or files), which can be referenced by subsequent jobs using the needs keyword and ${{ steps.step_id.outputs.output_name }} syntax.
Artifact storage allows data (such as files or results) to be saved by a job and then retrieved by another job in a later step. This is commonly used for passing large amounts of data or files between jobs.
NEW QUESTION # 69
What is the simplest action type to run a shell script?
- A. Bash script action
- B. Docker container action
- C. JavaScript action
- D. Composite action
Answer: C
Explanation:
Types of actions
Docker container actions. Docker containers package the environment with the GitHub Actions code. ...
JavaScript actions. JavaScript actions can run directly on a runner machine, and separate the action code from the environment used to run the code. ...
Composite Actions.
Note:
JavaScript actions
JavaScript actions can run directly on a runner machine, and separate the action code from the environment used to run the code. Using a JavaScript action simplifies the action code and executes faster than a Docker container action.
Reference:
https://docs.github.com/en/actions/concepts/workflows-and-actions/custom-actions
NEW QUESTION # 70
How should you install the bats NPM package in your workflow?
- A.

- B.

- C.

- D.

Answer: D
Explanation:
The correct syntax includes specifying the job (example-job), the runner (ubuntu-latest), and the necessary step (npm install -g bats) within the workflow. This ensures that the package is installed properly during the execution of the job.
NEW QUESTION # 71
What metadata file in a custom action defines the main entry point?
- A. index.js
- B. main.yml
- C. action.yml
- D. action.js
Answer: C
Explanation:
The action.yml file is the metadata file in a custom GitHub Action that defines the main entry point, including information such as the inputs, outputs, description, and the runs key that specifies the main entry point (e.g., a script or a Docker container).
NEW QUESTION # 72
How many jobs will result from the following matrix configuration?
- A. 6 jobs
- B. 5 jobs
- C. 3 jobs
- D. 4 jobs
Answer: A
Explanation:
The matrix configuration specifies two variables: color and animal. The color variable has 2 values (green and pink), and the animal variable has 2 values (owl and magpie). This would result in 4 combinations (2 color values × 2 animal values). Additionally, the include section introduces two more combinations (color: blue and animal: owl; color: pink and animal: magpie).
NEW QUESTION # 73
In a workflow triggered by a pull request comment, which GitHub Actions context property contains the event payload used to access the comment text and the pull request number?
- A. github.repository
- B. github.event_path
- C. github.event
- D. github.job
Answer: C
Explanation:
In a workflow that runs on a pull request comment the event context contains the webhook payload. With github.event you can read the structured fields for the comment text and the pull request number. The comment text is available under the comment body field and the pull request number is available under the issue number for comment events or under the pull request number for pull request events. This makes github.event the direct and convenient source for these values.
NEW QUESTION # 74
......
GH-200 Exam Questions Get Updated [2026] with Correct Answers: https://www.exams4collection.com/GH-200-latest-braindumps.html
Pass GH-200 Exam - Real Questions and Answers: https://drive.google.com/open?id=12ghWNOa2EJd-EXzD9p253WzBmdqrmNFZ
