Black Friday Special: Limited Time 80% Discount Offer! Use coupon code below to save on all exam bundles! - Ends in 0d 00h 00m 00s - Coupon code: CERTS80

GitHub Administrator GH-200 Dumps PDF

Page: 8 / 11
Total 150 questions

GitHub Actions Exam Questions and Answers

Question 29

You need to stop a GitHub Actions workflow from running. The solution must retain the configuration and execution history of the workflow.

What should you do?

Options:

A.

Rename the workflow YAML file.

B.

Select Actions and disable the workflow.

C.

Archive the workflow in a new branch.

D.

Delete the workflow YAML file from the repository.

Question 30

As a developer, you are optimizing a GitHub workflow that uses and produces many different files. You need to determine when to use caching versus workflow artifacts. Which two statements are true? (Choose two.)

Options:

A.

Use caching when reusing files that change rarely between jobs or workflow runs.

B.

Use artifacts when referencing files produced by a job after a workflow has ended.

C.

Use caching to store cache entries for up to 30 days between accesses.

D.

Use artifacts to access the GitHub Package Registry and download a package for a workflow

Question 31

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?

A)

B)

C)

D)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 32

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

Page: 8 / 11
Total 150 questions