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

    In which of the following scenarios should you use self-hosted runners? (Each correct answer presents a complete solution. Choose two.)

    A. when the workflow jobs must be run on Windows 10
    B. when jobs must run for longer than 6 hours
    C. when a workflow job needs to install software from the local network
    D. when GitHub Actions minutes must be used for the workflow runs
    E. when you want to use macOS runners

  • Question 82:

    By default, which workflows can use an action stored in internal repository? (Each answer presents a complete solution. Choose two.)

    A. selected public repositories outside of the enterprise
    B. internal repositories owned by the same organization as the enterprise
    C. public repositories owned by the same organization as the enterprise
    D. private repositories owned by an organization of the enterprise

  • Question 83:

    Your organization is managing secrets using GitHub encrypted secrets, including a secret named SuperSecret. As a developer, you need to create a version of that secret that contains a different value for use in a workflow that is scoped to a specific repository named MyRepo. How should you store the secret to access your specific version within your workflow?

    A. Create MyRepo_SuperSecret in GitHub encrypted secrets to specify the scope to MyRepo.
    B. Create a duplicate entry for SuperSecret in the encrypted secret store and specify MyRepo as the scope.
    C. Create a file with the SuperSecret information in the .github/secrets folder in MyRepo.
    D. Create and access SuperSecret from the secrets store in MyRepo.

  • Question 84:

    While writing a custom action, some behavior within the runner must be changed. Which workflow commands would set an error message in the runner’s output? (Each correct answer presents a complete solution. Choose two.)

    A. echo "::error file=main.py,line=10,col=15::There was an error"
    B. echo "::error=There was an error::"
    C. echo "::error::There was an error"
    D. echo "::error message=There was an error::"

  • Question 85:

    What is a valid scenario regarding environment secrets?

    A. configuring environment secrets for connecting to GitHub Enterprise Server
    B. configuring environment secrets to automatically pull from Azure Key Vault
    C. ensuring a job cannot access environment secrets until approval is obtained from a required reviewer
    D. ensuring only a specific step can access an environment secret

  • Question 86:

    How should you print a debug message in your workflow?

    A. echo "::debug::Set variable myVariable to true"
    B. echo "Set variable MyVariable to true" >> $DEBUG_MESSAGE
    C. echo "::add-mask::Set variable myVariable to true"
    D. echo "debug_message=Set variable myVariable to true" >> andGITHUB_OUTPUT

  • Question 87:

    As a developer, how should you enable step debug logging for a workflow?

    A. Include the following code block in your workflow: env: ACTIONS_STEP_DEBUG: true
    B. Use the --actions-step-debug flag when calling the workflow.
    C. Include the following code block in your workflow: defaults: ACTIONS_STEP_DEBUG: true
    D. Set the ACTIONS_STEP_DEBUG secret or variable at the repository level to true.

  • Question 88:

    Which two permissions must be configured when using GITHUB_TOKEN to publish to GitHub Packages? (Choose two.)

    A. packages: write
    B. repository: read
    C. actions: read
    D. contents: read
    E. issues: write

  • Question 89:

    Which of the following contexts provides information about workflow metadata (like name and run ID)?

    A. job
    B. github
    C. env
    D. runner

  • Question 90:

    A developer needs to upload build artifacts from a workflow to store them temporarily for download. Which command should be used?

    A. uses: actions/cache@v3
    B. uses: actions/upload-artifact@v3
    C. uses: actions/store-data@v1
    D. uses: actions/archive@v2

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.