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

Which of the following statements are true regarding the use of GitHub Actions on a GitHub Enterprise Server instance? (Choose three.)

Options:
A.

Use of GitHub Actions on GitHub Enterprise Server requires a persistent internet connection

B.

Actions created by GitHub are automatically available and cannot be disabled

C.

Most GitHub authored actions are automatically bundled for use on GitHub Enterprise Server

D.

Third party actions can be used on GitHub Enterprise Server by configuring GitHub Connect

E.

Actions must be defined in the .github repository

F.

Third party actions can be manually synchronized for use on GitHub Enterprise Server

Microsoft GH-200 Premium Access
Questions 12

What are the two ways to pass data between jobs? (Choose two.)

Options:
A.

Use the copy action with restore parameter to restore the data from the cache

B.

Use the copy action to save the data that should be passed in the artifacts folder.

C.

Use the copy action with cache parameter to cache the data

D.

Use data storage.

E.

Use job outputs

F.

Use artifact storage.

Questions 13

You are a DevOps engineer in ABC Corp. You need to schedule your deployment workflow twice a week at 7:45 UTC every Wednesday and Saturday. What is the appropriate YAML structure?

Options:
A.

on:

schedule:

- cron: ' 45 7 * * 3,6 '

B.

on:

cron:

- schedule: ' 45 7 * * 3,6 '

C.

on:

schedule: ' 45 7 * * 3,6 '

D.

on:

cron: ' 45 7 * * 3,6 '

Questions 14

You need to create a reusable GitHub Actions workflow template named ci.yml. The solution must ensure that ci.yml appears on the New workflow interface of GitHub Actions. Where should you store ci.yml?

Options:
A.

.github/workflows

B.

.github/templates

C.

.github/workflow-templates

D.

the root directory of each repository

Questions 15

Where should workflow files be stored to be triggered by events in a repository?

Options:
A.

.github/workflows/

B.

.github/actions/

C.

Nowhere; they must be attached to an act on in the GitHub user interface

D.

anywhere

E.

.workflows/

Questions 16

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 17

As a DevOps engineer, you are developing workflows to build an application. You have a requirement to create the build targeting multiple node versions. Which code block should you use to define the workflow?

Options:
A.

jobs:build-app:strategy:matrix:node-ver: [10, 12, 14]steps:- uses: actions/setup-node@v3with:node-version: ${{ strategy.node-ver }}

B.

jobs:build-app:strategy:matrix:node-ver: [10, 12, 14]steps:- uses: actions/setup-node@v3with:node-version: ${{ matrix.node-ver }}

C.

jobs:build-app:matrix-strategy:node-ver: [10, 12, 14]steps:- uses: actions/setup-node@v3with:node-version: ${{ matrix-strategy.node-ver }}

D.

jobs:build-app:matrix:strategy:node-ver: [10, 12, 14]steps:- uses: actions/setup-node@v3with:node-version: ${{ matrix.node-ver }}

Questions 18

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

Options:
A.

Package your JavaScript action inside a Docker container image and run it.

B.

Create a workflow that only executes your specific JavaScript action.

C.

Create a workflow that includes the actions/debug-javascript action.

D.

Use a tool called @vercel/ncc to compile your code.

Questions 19

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 20

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

Options:
A.

ENV_ACTOR

B.

GITHUB_WORKFLOW_ACTOR

C.

GITHUB_ACTOR

D.

GITHUB_USER

Exam Code: GH-200
Certification Provider: Microsoft
Exam Name: GitHub Actions Exam
Last Update: Oct 5, 2026
Questions: 137