Download GitHub Actions Exam.GH-200.CertDumps.2025-12-12.75q.vcex

Vendor: Microsoft
Exam Code: GH-200
Exam Name: GitHub Actions Exam
Date: Dec 12, 2025
File Size: 212 KB

How to open VCEX files?

Files with VCEX extension can be opened by ProfExam Simulator.

Demo Questions

Question 1
What is the most suitable action type for a custom action written in TypeScript?
  1. Docker container action
  2. Bash script action
  3. composite run step
  4. JavaScript action
Correct answer: D
Question 2
You need to make a script to retrieve workflow run logs via the API. Which is the correct API to download a workflow run log?
  1. POST /repos/:owner/:repo/actions/runs/:run_id/logs
  2. GET /repos/:owner/:repo/actions/runs/:run_id/logs
  3. POST /repos/:owner/:repo/actions/runs/:run_id
  4. GET /repos/:owner/:repo/actions/artifacts/logs
Correct answer: B
Question 3
An organization’s policies specify only local actions are allowed. How should actions be distributed for this organization?
  1. via a repository owned by a third party
  2. via repositories owned by the organization
  3. via the GitHub Marketplace
  4. via the .github repository owned by the organization
Correct answer: B
Question 4
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.)
  1. Navigate to the organization settings and create a Production environment with the VMOps team as a required reviewer.
  2. Specify the environment named Production in the workflow jobs that deploy to the VMs.
  3. Navigate to the repository settings and create a Production environment with the VMOps team as a required reviewer.
  4. Add the VMs to the environment.
  5. Specify the VMOps team as the owner of the environment.
Correct answer: BC
Question 5
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.)
  1. on: [push, pull_request]
  2. on:
    branches:
    - 'main'
    - 'dev'
  3. on:
    schedule:
    - cron: '*/15 * * * *'
    initiate:
    - 'main'
  4. on: [push, commit]
  5. on:
    push:
    branches:
    - main
    release:
    types:
    - created
  6. on:
    env:
    - 'prod'
    - 'qa'
    - 'test'
Correct answer: AC
Question 6
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.)
  1. Reference the mutex in the task performing the deployment.
  2. Set the concurrency in the deploymentjob to 1.
  3. Specify a target environment in the deploymentjob.
  4. Specify a concurrency scope in the workflow.
  5. Configure the mutex setting in the environment.
  6. Pass the mutex into the deployment job.
Correct answer: CD
Question 7
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).
  1. Push the image to the GitHub Container Registry.
  2. Authenticate to the GitHub Container Registry.
  3. Use the actions/setup-docker action.
  4. Pull the image from the GitHub Container Registry.
  5. Build the container image.
Correct answer: ABE
Question 8
What is the proper syntax to reference the system-provided run number variable?
  1. ${{var.GITHUB_RUN_NUMBER}}
  2. ${{env.GITHUB_RUN_NUMBER}}
  3. $GITHUB_RUN_NUMBER
  4. ${{GITHUB_RUN_NUMBER}}
  5. $github.run_number
Correct answer: D
Question 9
Which of the following commands will set the $FOO environment variable within a script, so that it may be used in subsequent workflow job steps?
  1. run: echo "::set-env name=FOO::bar"
  2. run: echo "FOO=bar" >> $GITHUB_ENV
  3. run: echo ${{ $FOO=bar }}
  4. run: export FOO=bar
Correct answer: B
Question 10
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.)
  1. actions stored in an organizational partition in the GitHub Marketplace
  2. custom Docker actions stored in GitHub Container Registry
  3. self-hosted runners
  4. encrypted secrets
  5. workflow templates
  6. actions stored in private repositories in the organization
Correct answer: DEF
Question 11
As a developer, how can you identify a composite action on GitHub?
  1. The action’s repository name includes the keyword “composite.”
  2. The action’s repository includes an init.sh file in the root directory.
  3. The action’s repository includes Dockerfile and package.json files.
  4. The action.yml metadata file has the runs.using value set to composite.
Correct answer: D
HOW TO OPEN VCE FILES

Use VCE Exam Simulator to open VCE files
Avanaset

HOW TO OPEN VCEX FILES

Use ProfExam Simulator to open VCEX files
ProfExam Screen

ProfExam
ProfExam at a 20% markdown

You have the opportunity to purchase ProfExam at a 20% reduced price

Get Now!