Summer Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70track

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

Questions 21

Which default GitHub environment variable indicates the owner and repository name?

Options:
A.

REPOSITORY NAME

B.

GITHUB REPOSITORY

C.

ENV REPOSITORY

D.

GITHUB WORKFLOW REPO

Microsoft GH-200 Premium Access
Questions 22

You are reaching your organization ' s storage limit for GitHub artifacts and packages. What should you do to prevent the storage limit from being reached?

Options:
A.

via the .github repository owned by the organization

B.

via repositories owned by the organization

C.

via the GitHub Marketplace

D.

via a repository owned by a third party

Questions 23

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

Questions 24

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

A)

GH-200 Question 24

B)

GH-200 Question 24

C)

GH-200 Question 24

D)

GH-200 Question 24

Options:
A.

Option A

B.

Option B

C.

Option C

D.

Option D

Questions 25

What is the simplest action type to run a shell script?

Options:
A.

Docker container action

B.

Composite action

C.

Bash script action

D.

JavaScript action

Questions 26

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 27

When reviewing an action for use, what file defines its available inputs and outputs?

Options:
A.

inputs.yml

B.

config.json

C.

defaults.json

D.

workflow.yml

E.

action.yml

Questions 28

Your organization has a secret that must be available to all the repositories within GitHub Actions workflows.

You need to store the secret. The solution must minimize administrative effort.

What should you do in GitHub?

Options:
A.

For each GitHub repository, select Settings > Secrets and variables > Actions, and then add the secret.

B.

From your personal GitHub profile, select Settings > Developer settings > Secrets, and then add the secret.

C.

From the organization ' s page, select Settings > Security > Secrets, and then add the secret.

D.

From the organization ' s page, select Settings > Secrets and variables > Actions, and then add the secret.

Questions 29

In the following workflow file, line 5 interprets lines 3 and 4 as Python. Which of the following is a valid option to complete line 5?

1 steps:

2 - run: |

3 import os

4 print(os.environ[ ' PATH ' ])

5

Options:
A.

with: python

B.

shell: bash

C.

working-directory: .github/python

D.

shell: python

Questions 30

How should you install the bats NPM package in your workflow?

A)

GH-200 Question 30

B)

GH-200 Question 30

C)

GH-200 Question 30

D)

GH-200 Question 30

Options:
A.

Option A

B.

Option B

C.

Option C

D.

Option D