Free GH-200: GitHub Actions Exam Questions and Answers
57 verified practice questions for GH-200.
The first 10 questions on this page are free to read, answers included — no account and no card. A plan opens the rest of the bank, the full timed practice test and your weak-topic reporting.
Last updated: September 19, 2026
- Exam code
- GH-200
- Provider
- Microsoft
- Questions in our bank
- 1000+
- Free to read
- First 10, with answers
- Our test mode duration & pass mark
- 130 mins · 70%
- Verified answers
- Reviewed weekly
Recommended: Switch to Test Mode to start a practice test that simulates the real exam experience.
Question #1
You are a developer working on developing reusable workflows for your organization. What keyword should be included as part of the reusable workflow event triggers?
Please select an optionIncorrectCorrect answer: C
A reusable workflow is exposed to other workflows by declaring the workflow_call trigger, which accepts inputs, secrets and outputs. workflow_run triggers on a completed run instead.
Was this answer correct?Question #2
As a developer, you need to use GitHub Actions to deploy a microservice that requires runtime access to a secure token. This token is used by a variety of other microservices managed by different teams in different repos. To minimize management overhead and ensure the token is secure, which mechanisms should you use to store and access the token? (Choose two.)
Select 2 answers.
Please select an optionIncorrectCorrect answer: C, E
A central secret store such as Vault or an organization-level GitHub secret keeps a single copy of the token for every repository, minimizing overhead, and the value is injected as an environment variable at runtime.
Was this answer correct?Question #3
Which of the following scenarios requires a developer to explicitly use the GITHUB_TOKEN or github.token secret within a workflow? (Choose two.)
Select 2 answers.
Please select an optionIncorrectCorrect answer: A, B
You must reference GITHUB_TOKEN explicitly when passing it to an action input or when making an authenticated API call. actions/checkout uses the token automatically, and permissions are set with the permissions key.
Was this answer correct?Question #4
As a developer, which workflow steps should you perform to publish an image to the GitHub Container Registry? (Choose three.)
Select 3 answers.
Please select an optionIncorrectCorrect answer: B, C, D
To publish an image you authenticate to GitHub Container Registry, build the container image in the workflow, and push it to the registry. Setting up Docker and pulling an image are not part of publishing.
Was this answer correct?Question #5
You are reaching your organization's storage limit for GitHub artifacts and packages. What should you do to prevent the storage limit from being reached? (Choose two.)
Select 2 answers.
Please select an optionIncorrectCorrect answer: A, D
Deleting artifacts from repositories manually will free up storage space. Artifacts are typically stored for a limited time by default, but manual cleanup can help manage space. Configuring the artifact and log retention period allows you to control how long artifacts and logs are retained in your repository. By shortening the retention period, you can prevent unnecessary accumulation of data and manage storage more effectively.
Was this answer correct?Question #6
Without the need to use additional infrastructure, what is the simplest and most maintainable method for configuring a workflow job to provide access to an empty PostgreSQL database?
Please select an optionIncorrectCorrect answer: A
GitHub Actions supports the use of service containers, which allows you to spin up a PostgreSQL database (or any other service) in a Docker container during your workflow. You can pull a PostgreSQL image from Docker Hub, and the container will automatically be available to your workflow job. This method requires no additional infrastructure and is easy to configure and maintain, as you simply define the container in the workflow file.
Was this answer correct?Question #7
As a developer, you want to run a workflow from the Actions tab in GitHub. Which YAML snippet should you use to match the interface in this image?




Please select an optionIncorrectCorrect answer: A
Was this answer correct?Question #8
As 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.)
Select 3 answers.
Please select an optionIncorrectCorrect answer: A, D, F
A 10-MB dataset exceeds the small size limit for GitHub secrets, so you encrypt it, commit the encrypted file to the repository, and store the decryption key in an encrypted secret that the workflow uses. Compression alone provides no encryption.
Was this answer correct?Question #9
Which files are required for a Docker container action in addition to the source code? (Choose two.)
Select 2 answers.
Please select an optionIncorrectCorrect answer: A, D
A Docker container action needs a Dockerfile to build the image and an action.yml metadata file declaring inputs, outputs and runs.using: docker; Actionfile and metadata.yml do not exist.
Was this answer correct?Question #10
GitHub-hosted runners support which capabilities? (Choose two.)
Select 2 answers.
Please select an optionIncorrectCorrect answer: A, C
GitHub-hosted runners automatically handle patching, meaning they will be kept up to date with the latest security updates and software patches for both the runner environment and the underlying operating system. GitHub-hosted runners support Linux, Windows, and macOS, giving you flexibility to run workflows on different operating systems without needing to manage your own self-hosted runners.
Was this answer correct?
Continue with GH-200: GitHub Actions Exam
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in GH-200: GitHub Actions Exam, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Other Microsoft certifications
- AZ-500: Microsoft Azure Security Technologies (opens in a new tab)
- MS-101: Microsoft 365 Mobility and Security (opens in a new tab)
- MS-102: Microsoft 365 Administrator (beta) (opens in a new tab)
- MS-100: Microsoft 365 Identity and Services (opens in a new tab)
- PL-900: Microsoft Power Platform Fundamentals (opens in a new tab)
- AZ-305: Designing Microsoft Azure Infrastructure Solutions (opens in a new tab)
Reviews
★★★★★
This platform is a lifesaver. The practice questions and explanations are so detailed. It’s the best study tool I’ve ever used.
Hannah Smith
USA
★★★★★
I highly recommend Exam Practice. The feedback after each test helped me improve significantly, and I passed my exams easily.
Oscar Nyström
Sweden
★★★★★
Exam Practice is worth every penny. The mock exams are realistic, and the feedback helped me focus on key areas.
Amit Sharma
India
FAQ
Learn More: https://learn.microsoft.com/en-us/credentials/
- Q1: What are Microsoft Certification Exams?
- A: Microsoft Certification Exams validate your expertise in using and managing Microsoft’s technologies and solutions, including Azure, Office 365, Windows, and more. These certifications demonstrate your proficiency in deploying, configuring, and optimizing Microsoft products to support business operations and IT infrastructure.
- Q2: Why should I pursue Microsoft Certification?
- A: Microsoft Certification enhances your professional credibility, showcasing your skills and knowledge in Microsoft technologies. This can lead to better job opportunities, higher salaries, and career advancement in IT, cloud computing, software development, and related fields.
- Q3: What are the benefits of Microsoft Certification?
- A: Benefits include recognition as a certified Microsoft professional, improved job performance, access to exclusive resources, continuing education opportunities, and staying current with the latest Microsoft technologies and best practices.
- Q4: Who should take Microsoft Certification Exams?
- A: IT professionals, system administrators, developers, cloud engineers, data analysts, and anyone involved in managing and implementing Microsoft solutions should consider these certifications to validate their expertise and advance their careers.
- Q5: What types of Microsoft Certification Exams are available?
- A: Microsoft offers various certification paths, including:
- Q6: How do I prepare for Microsoft Certification Exams?
- A: Preparation can include official Microsoft training courses, study guides, practice exams, online tutorials, and hands-on experience with Microsoft products and solutions.
- Q7: Where can I take Microsoft Certification Exams?
- A: Microsoft Certification Exams can be taken online with remote proctoring or at authorized Pearson VUE testing centers worldwide, providing flexibility to fit your schedule and location.
- Q8: How do Microsoft Certifications impact my career?
- A: Microsoft Certifications significantly boost your career by demonstrating your expertise to employers, making you a more competitive candidate for advanced roles and promotions in IT, cloud computing, software development, and other tech-related fields.
- Q9: Are there any prerequisites for Microsoft Certification Exams?
- A: Some exams may have prerequisites, such as foundational knowledge or prior experience with Microsoft products. Check the specific requirements for each certification path on the Microsoft Learn website.
- Q10: How often do I need to recertify for Microsoft Certifications?
- A: Microsoft Certifications typically require renewal every year or two, depending on the certification, to ensure that certified professionals stay updated with the latest technologies and industry practices.



