Exam Overview
| Exam Code | GH-200 |
| Exam Name | GitHub Actions |
| Vendor | Microsoft |
| Total Questions | 72 |
| Last Updated | 26-Oct, 2026 |
Why CertsPoint?
- Latest & Verified Questions
- Detailed Explanations
- Regular Updates
- Full-Length Practice Tests
- Boost Your Exam Confidence
PDF Study Materials
Downloadable guides and resources
Practice Tests
Full-length tests with real exam experience
Progress Tracking
Monitor your performance and improvement
Study Anywhere
Access on desktop, tablet, and mobile
Secure Payment
Privacy Protected
Money Back Guarantee
Free GH-200 Practice Questions
Explore 4 free practice questions for the Microsoft GH-200 exam and review the answers and explanations to support your preparation.
-
Question 1
Single answerGITHUB_WORKSPACE is a default environment variable in GitHub Actions that points to the directory
on the runner where your repository is checked out. This variable allows you to access files within
your repository during the workflow.-
Option A:Correct
The environment variables can be read in workflows using the ENV: variable_name syntax.
-
Option B:Correct
The environment variables created should be prefixed with GITHUB_ to ensure they can be
accessed in workflows -
Option C:Correct
The environment variables can be set in the defaults: sections of the workflow
-
Option D:Correct
The GITHUB_WORKSPACE environment variable should be used to access files from within the
runner
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: B
Explanation
GITHUB_WORKSPACE is a default environment variable in GitHub Actions that points to the directory
on the runner where your repository is checked out. This variable allows you to access files within
your repository during the workflow. -
-
Question 2
Multiple answersAs a developer, you have a 10-MB data set that is required in a specific workflow. Which steps should
you perform so the dataset is stored encrypted and can be decrypted during the workflow? (Choose
three.)-
Option A:Correct
Encrypt the dataset.
-
Option B:Correct
Leverage the actions/download-secret action in the workflow.
-
Option C:Correct
Store the dataset in a GitHub encrypted secret.
-
Option D:Correct
Store the encryption keys in a GitHub encrypted secret.
-
Option E:Correct
Compress the dataset
-
Option F:Correct
Commit the encrypted dataset to the same repository as the workflow
-
Option G:Correct
Create a GitHub encrypted secret with the Large object option selected and upload the dataset.
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: A, C, D
Explanation
First, the dataset should be encrypted before being stored. This ensures that the data is protected
when stored in a repository.
The encrypted dataset can be stored in a GitHub secret, ensuring it is securely kept and not exposed
publicly.
The encryption key needed to decrypt the dataset should also be stored in a GitHub secret to
maintain security during the workflow, allowing access only when needed. -
-
Question 3
Multiple answersAs a developer, which workflow steps should you perform to publish an image to the GitHub
Container Registry? (Choose three.)-
Option A:Correct
Use the actions/setup-docker action
-
Option B:Correct
Authenticate to the GitHub Container Registry.
-
Option C:Correct
Build the container image.
-
Option D:Correct
Push the image to the GitHub Container Registry
-
Option E:Correct
Pull the image from the GitHub Container Registry.
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: A, B, D
Explanation
Explanation:
A . Use the actions/setup-docker action
B . Authenticate to the GitHub Container Registry.
C . Build the container image.
D . Push the image to the GitHub Container Registry
E . Pull the image from the GitHub Container Registry. -
-
Question 4
Single answerHow many jobs will result from the following matrix configuration?
-
Option A:Correct
3 jobs
-
Option B:Correct
4 jobs
-
Option C:Correct
5 jobs
-
Option D:Correct
6 jobs
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: D
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). -