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

GH-200 GitHub Actions Exam is now Stable and With Pass Result | Test Your Knowledge for Free

Exams4sure Dumps

GH-200 Practice Questions

GitHub Actions Exam

Last Update 3 days ago
Total Questions : 100

Dive into our fully updated and stable GH-200 practice test platform, featuring all the latest GitHub Administrator exam questions added this week. Our preparation tool is more than just a Microsoft study aid; it's a strategic advantage.

Our free GitHub Administrator practice questions crafted to reflect the domains and difficulty of the actual exam. The detailed rationales explain the 'why' behind each answer, reinforcing key concepts about GH-200. Use this test to pinpoint which areas you need to focus your study on.

GH-200 PDF

GH-200 PDF (Printable)
$54.25
$154.99

GH-200 Testing Engine

GH-200 PDF (Printable)
$59.5
$169.99

GH-200 PDF + Testing Engine

GH-200 PDF (Printable)
$74.55
$212.99
Question # 21

You need to perform a task that requires running a custom script in a GitHub Actions workflow. The script must run within the workflow environment without requiring an external container or prebuilt image.

What should you use?

Options:

A.  

a JavaScript action

B.  

a Docker container action

C.  

a run step

D.  

a composite action

Discussion 0
Question # 22

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.

Discussion 0
Question # 23

As a developer, what options should you recommend to implement standards for automation reuse? (Choose two.)

Options:

A.  

Create workflow templates and store them in the organization ' s .github repository.

B.  

Create reusable actions and workflows that can be called from other workflows.

C.  

Create a marketplace partition to publish reusable automation for the company.

D.  

Store shared corporate actions in subfolders in a defined and documented internally accessible repository.

Discussion 0
Question # 24

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? (Choose two.)

Options:

A.  

Delete artifacts from the repositories manually

B.  

Disable branch protections in the repository.

C.  

Use self-hosted runners for all workflow runs.

D.  

Configure the artifact and log retention period.

E.  

Configure the repo to use Git Large File Storage.

Discussion 0
Question # 25

Based on the YAML below, which two statements are correct? (Choose two.)

Question # 25

Options:

A.  

This workflow will publish a package to an npm registry.

B.  

This workflow will publish a package to GitHub Packages.

C.  

This workflow file is using a matrix strategy.

D.  

The workflow job publish-npm will only run after the build job passes.

Discussion 0
Question # 26

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

Discussion 0
Question # 27

As a developer, your Actions workflow often reuses the same outputs or downloaded dependencies from one run to another. To cache dependencies for a job, you are using the GitHub cache action. Which input parameters are required for this action? (Choose two.)

Options:

A.  

dependency: the name and version of a package to cache or restore

B.  

key: the key created when saving a cache and the key used to search for a cache

C.  

cache-hit: the copy action key used with restore parameter to restore the data from the cache

D.  

path: the file path on the runner to cache or restore

E.  

ref: the ref name of the branch to access and restore a cache created

F.  

restore-keys: the copy action key used with cache parameter to cache the data

Discussion 0
Question # 28

As a DevOps engineer developing a JavaScript action, you need to include annotations to pass warning messages to workflow runners. Which code snippet can you use to implement an annotation in your Actions?

As a DevOps engineer developing a JavaScript action, you need to include annotations to pass warning messages to workflow runners. Which code snippet can you use to implement an annotation in your Actions?

Options:

A.  

core.info( ' Something went wrong, but it\ ' s not bad enough to fail the build. ' )

B.  

core.notice( ' Something went wrong, but it\’s not bad enough to fail the build. ' )

C.  

core.warning( ' Something went wrong, but it\ ' s not bad enough to fail the build. ' )

D.  

core.warn( ' Something went wrong, but it\ ' s not bad enough to fail the build. ' )

Discussion 0
Question # 29

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?

Question # 29

A)

Question # 29

B)

Question # 29

C)

D)Question # 29

Question # 29

Options:

A.  

Option A

B.  

Option B

C.  

Option C

D.  

Option D

Discussion 0
Question # 30

What can be used to set a failed status of an action from its code?

Options:

A.  

@actions/github toolkit

B.  

JavaScript dist/ folder

C.  

Dockerfile CMD

D.  

a non-zero exit code

E.  

output variable

F.  

composite run step

Discussion 0
Get GH-200 dumps and pass your exam in 24 hours!

Free Exams Sample Questions