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 31:

    What are the most significant advantages of adding documentation while distributing custom actions? (Each answer presents a complete solution. Choose two.)

    A. It generates auto completion when using the action in a workflow.
    B. It shares the description of the action to the users.
    C. It provides an example of the action.
    D. It creates a readme.md for the consuming workflow.

  • Question 32:

    As a developer, you created a JavaScript action. What is the best way to test your JavaScript action?

    A. Create a workflow that only executes your specific JavaScript action.
    B. Package your JavaScript action inside a docker container image and run it.
    C. Use a tool called @vercel/ncc to compile your code.
    D. Create a workflow that includes the actions/debug-javascript action.

  • Question 33:

    You want to prevent a deployment workflow from running if the “build” workflow failed. How can you implement this?

    A. Use needs: build with if: success()
    B. Use workflow_run with types: [failed]
    C. Add continue-on-error: false to build job
    D. Add if: always() to deployment job

  • Question 34:

    Which default GitHub environment variable indicates the name of the person or app that initiated a workflow?

    A. GITHUB_ACTOR
    B. GITHUB USER
    C. ENV_ACTOR
    D. GITHUB_WORKFLOW_ACTOR

  • Question 35:

    As a developer, which of the following snippets will enable you to run the commands npm ci and npm run build as part of a workflow?

    A. - run: | npm ci npm run build
    B. - shell: npm ci npm run build
    C. - run: | npm ci npm run build shell: nodejs
    D. - run: npm ci npm run build
    E. - shell: | npm ci npm run build

  • Question 36:

    In which locations can actions be referenced by workflows? (Each correct answer presents a complete solution. Choose three.)

    A. an .action extension file in the repository
    B. a published Docker container image on Docker Hub
    C. a public NPM registry
    D. the runs-on: keyword of a workflow file
    E. the repository’s Secrets settings page
    F. a separate public repository
    G. the same repository as the workflow

  • Question 37:

    What are the two ways to pass data between jobs? (Each correct answer presents part of the solution. Choose two.)

    A. Use data storage.
    B. Use the copy action with cache parameter to cache the data.
    C. Use the copy action with restore parameter to restore the data from the cache.
    D. Use artifact storage.
    E. Use job outputs.
    F. Use the copy action to save the data that should be passed in the artifacts folder.

  • Question 38:

    You need to trigger a workflow using the GitHub API for activity that happens outside of GitHub. Which workflow event do you use?

    A. workflow_run
    B. deployment
    C. check_suite
    D. repository_dispatch

  • Question 39:

    As a developer, one of your workflows will require XCode version 11.2 hosted on macOS Catalina (i.e., v10.15). You’ve already created and configured a self-hosted runner to conform to those requirements and registered it with your organization. What else should you do to ensure that the workflow accesses the correct runner instance? (Each answer presents a complete solution. Choose three.)

    A. Add your runner to the appropriate runner groups.
    B. In the workflow, specify: runs-on: [ ${{groups.macos-10.15}}, ${{groups.xcode-11.2}} ].
    C. Create custom runner labels for macos-10.15 and xcode-11.2.
    D. Create runner groups named macos-10.15 and xcode-11.2.
    E. In the workflow, specify: runs-on: [self-hosted, macos-10.15, xcode-11.2].
    F. Assign the custom labels to the self-hosted runner.

  • Question 40:

    You have exactly one Windows x64 self-hosted runner, and it is configured with custom tools. Which syntax could you use in the workflow to target that runner?

    A. runs-on: [self-hosted, windows, x64]
    B. self-hosted: [windows-x64]
    C. runs-on: windows-latest
    D. self-hosted: [windows, x64]

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.