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

    When creating and managing custom actions in an enterprise setting, which of the following is considered a best practice?

    A. creating a separate repository for each action so that the version can be managed independently
    B. creating a separate branch in application repositories that only contains the actions
    C. creating a single repository for all custom actions so that the versions for each action are all the same
    D. including custom actions that other teams need to reference in the same repository as application code

  • Question 12:

    As a developer, you are configuring GitHub Actions to deploy VMs to production. A member of the VMOps team must provide approval before the deployment occurs. Which of the following steps should you take? (Each correct answer presents part of the solution. Choose two.)

    A. Navigate to the organization settings and create a Production environment with the VMOps team as a required reviewer.
    B. Specify the environment named Production in the workflow jobs that deploy to the VMs.
    C. Navigate to the repository settings and create a Production environment with the VMOps team as a required reviewer.
    D. Add the VMs to the environment.
    E. Specify the VMOps team as the owner of the environment.

  • Question 13:

    How can a workflow deploy mitigate the risk of multiple workflow runs that are deploying to a single cloud environment simultaneously? (Each correct answer presents part of the solution. Choose two.)

    A. Reference the mutex in the task performing the deployment.
    B. Set the concurrency in the deploymentjob to 1.
    C. Specify a target environment in the deploymentjob.
    D. Specify a concurrency scope in the workflow.
    E. Configure the mutex setting in the environment.
    F. Pass the mutex into the deployment job.

  • Question 14:

    Which default environment variable specifies the branch or tag that triggered a workflow?

    A. GITHUB_REF
    B. GITHUB_BRANCH
    C. ENV_BRANCH
    D. GITHUB_TAG

  • Question 15:

    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? (Each correct answer presents a complete solution. Choose two.)

    A. Store the token as a GitHub encrypted secret in the same repo as the code. During deployment, use GitHub Actions to store the secret in an environment variable that can be accessed at runtime.
    B. Use a corporate non-GitHub secret store (e.g., HashiCorp Vault) to store the token. During deployment, use GitHub Actions to store the secret in an environment variable that can be accessed at runtime.
    C. Store the token as an organizational-level encrypted secret in GitHub. During deployment, use GitHub Actions to store the secret in an environment variable that can be accessed at runtime.
    D. Store the token as a GitHub encrypted secret in the same repo as the code. Create a reusable custom GitHub Action to access the token by the microservice at runtime.
    E. Store the token in a configuration file in a private repository. Use GitHub Actions to deploy the configuration file to the runtime environment.

  • Question 16:

    Which command correctly masks a secret value in the logs?

    A. echo "::mask::${SECRET_KEY}"
    B. echo "::add-mask::${SECRET_KEY}"
    C. echo "::hide::${SECRET_KEY}"
    D. echo "::add-secret::${SECRET_KEY}"

  • Question 17:

    You want to make sure a reusable workflow can accept inputs and return outputs. What file must define these?

    A. action.yml
    B. metadata.json
    C. workflow-call.yml
    D. the called workflow’s YAML file

  • Question 18:

    You need to ensure that only one workflow run per branch can execute at a time. Which syntax should you use?

    A. limit: branch-level
    B. concurrency: group: ${{ github.ref }} cancel-in-progress: true
    C. exclusive-run: branch
    D. group-concurrency: branch-only

  • Question 19:

    As a developer, which workflow steps should you perform to publish an image to the GitHub Container Registry? (Each correct answer represents part of the solution. Choose three).

    A. Push the image to the GitHub Container Registry.
    B. Authenticate to the GitHub Container Registry.
    C. Use the actions/setup-docker action.
    D. Pull the image from the GitHub Container Registry.
    E. Build the container image.

  • Question 20:

    In which scenarios could the GITHUB_TOKEN be used? (Each correct answer presents a complete solution. Choose two.)

    A. to create a repository secret
    B. to add a member to an organization
    C. to read from the file system on the runner
    D. to publish to GitHub Packages
    E. to create issues in the repo
    F. to leverage a self-hosted runner

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.