GH-200 Exam Details

  • Exam Code
    :GH-200
  • Exam Name
    :GitHub Actions
  • Certification
    :Microsoft Certifications
  • Vendor
    :Microsoft
  • Total Questions
    :98 Q&As
  • Last Updated
    :Jul 14, 2026

Microsoft GH-200 Online Questions & Answers

  • Question 41:

    When should you use the GITHUB_TOKEN in a workflow?

    A. when you want to make authenticated calls to the GitHub API
    B. when you want to connect to the runner via SSH
    C. when you want to access repository-level secrets
    D. when you want to call an action from the marketplace

  • Question 42:

    As a DevOps engineer, you are developing workflows to build an application. You have a requirement to create the build targeting multiple node versions. Which code block should you use to define the workflow?

  • Question 43:

    What is the best way to reuse the same step logic across multiple workflows within the same repo?

    A. Composite action
    B. Inline scripts
    C. Reusable workflow
    D. Repository secret

  • Question 44:

    As a developer, you need to add the correct syntax to allow the following workflow file to be triggered by multiple types of events. Which two code blocks should you add starting at line 5? (Each correct answer presents a complete solution. Choose two.)

    A. on: [push, pull_request]
    B. on: branches: -'main' -'dev'
    C. on: schedule: -cron: '*/15 * * * *' initiate: -'main'
    D. on: [push, commit]
    E. on: push: branches: -main release: types: -created
    F. on: env: -'prod' -'qa' -'test'

  • Question 45:

    You need to create new workflows to deploy to an unfamiliar cloud provider. What is the fastest and safest way to begin?

    A. Create a custom action to wrap the cloud provider's CLI.
    B. Search GitHub Marketplace for verified actions published by the cloud provider.
    C. Use the actions/jenkins-plugin action to utilize an existing Jenkins plugin for the cloud provider.
    D. Search GitHub Marketplace for actions created by GitHub.
    E. Download the CLI for the cloud provider and review the associated documentation.

  • Question 46:

    Which of the following statements are true regarding the use of GitHub Actions on a GitHub Enterprise Server instance? (Each correct answer presents a complete solution. Choose three.)

    A. Actions created by GitHub are automatically available and cannot be disabled.
    B. Third-party actions can be used on GitHub Enterprise Server by configuring GitHub Connect.
    C. Most GitHub-authored actions are automatically bundled for use on GitHub Enterprise Server.
    D. Use of GitHub Actions on GitHub Enterprise Server requires a persistent internet connection.
    E. Actions must be defined in the .github repository.
    F. Third-party actions can be manually synchronized for use on GitHub Enterprise Server.

  • Question 47:

    As a developer, you are optimizing a GitHub workflow that uses and produces many different files. You need to determine when to use caching versus workflow artifacts. Which two statements are true? (Each correct answer presents part of the solution. Choose two.)

    A. Use artifacts to access the GitHub Package Registry and download a package for a workflow.
    B. Use caching when reusing files that change rarely between jobs or workflow runs.
    C. Use caching to store cache entries for up to 30 days between accesses.
    D. Use artifacts when referencing files produced by a job after a workflow has ended.

  • Question 48:

    You installed specific software on a Linux self-hosted runner. You have users with workflows that need to be able to select the runner based on the identified custom software. Which steps should you perform to prepare the runner and your users to run these workflows? (Each correct answer presents part of the solution. Choose two.)

    A. Configure the webhook and network to enable GitHub to trigger workflow.
    B. Create the group custom-software-on-linux and move the runner into the group.
    C. Inform users to identify the runner with the labels custom-software and linux.
    D. Add the label linux to the runner.
    E. Inform users to identify the runner based on the group.
    F. Add the label custom-software to the runner.

  • Question 49:

    Your organization needs to simplify reusing and maintaining automation in your GitHub Enterprise Cloud. Which components can be directly reused across all repositories in an organization? (Each correct answer presents a complete solution. Choose three.)

    A. actions stored in an organizational partition in the GitHub Marketplace
    B. custom Docker actions stored in GitHub Container Registry
    C. self-hosted runners
    D. encrypted secrets
    E. workflow templates
    F. actions stored in private repositories in the organization

  • Question 50:

    When can you define default shell settings and working directories for steps in a workflow?

    A. Using defaults: at the job or workflow level
    B. Using runs: in every step
    C. Using actions/setup-env
    D. Using env: in each job

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Microsoft exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your GH-200 exam preparations and Microsoft certification application, do not hesitate to visit our Vcedump.com to find your solutions here.