Weekend Special Sale 75% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: sale75best

Free Microsoft GH-200 Practice Exam with Questions & Answers | Set: 2

Questions 11

What are the two types of environment protection rules you can configure? (Choose two.)

Options:
A.

required reviewers

B.

branch protections

C.

wait timer

D.

artifact storage

Microsoft GH-200 Premium Access
Questions 12

When should you use the GITHUB_TOKEN in a workflow?

Options:
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 GitHub Marketplace.

Questions 13

What is the minimal syntax for declaring an output named foo for an action?

A)

B)

C)

D)

Options:
A.

Option A

B.

Option B

C.

Option C

D.

Option D

Questions 14

Which of the following is the lowest repository permission you need to have for downloading workflow artifacts?

Options:
A.

Write

B.

Triage

C.

Maintain

D.

Read

E.

Admin

Questions 15

What is the proper syntax to reference the system-provided run number variable?

Options:
A.

$GITHUB_RUN_NUMBER

B.

${{ env.GITHUB_RUN_NUMBER }}

C.

${{ var.GITHUB_RUN_NUMBER }}

D.

$github.run_number

E.

${{ GITHUB_RUN_NUMBER }}

Questions 16

You are a developer working on developing reusable workflows for your organization. What keyword should be included as part of the reusable workflow event triggers?

Options:
A.

check_run

B.

workflow_run

C.

workflow_call

D.

pull_request

Questions 17

Which of the following is the proper syntax to specify a custom environment variable named MY_VARIABLE with the value my-value?

Options:
A.

env: MY_VARIABLE = my-value

B.

environment: MY_VARIABLE = my-value

C.

env: MY_VARIABLE: my-value

D.

var: MY_VARIABLE: my-value

E.

var: MY_VARIABLE = my-value

F.

environment: MY_VARIABLE: my-value

Questions 18

An organization ' s policies specify that only local actions are allowed. How should actions be distributed for this organization?

Options:
A.

Via the GitHub Marketplace

B.

Via the .github repository owned by the organization

C.

Via a repository owned by a third party

D.

Via repositories owned by the organization

Questions 19

Which choices represent best practices for publishing actions so that they can be consumed reliably?

(Each correct answer presents a complete solution. Choose two.)

Options:
A.

Organization name

B.

Commit SHA

C.

Repository name

D.

Tag

E.

Default branch

Questions 20

As a developer, you want to run a workflow from the Actions tab in GitHub. Which YAML snippet should you use to match the interface in this image?

GH-200 Question 20

A)

GH-200 Question 20

B)

GH-200 Question 20

C)

D)GH-200 Question 20

GH-200 Question 20

Options:
A.

Option A

B.

Option B

C.

Option C

D.

Option D

Exam Code: GH-200
Certification Provider: Microsoft
Exam Name: GitHub Actions Exam
Last Update: Nov 20, 2026
Questions: 150