Summer Sale Special 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: ex2p65

Exact2Pass Menu

GitHub Actions Certificate Exam

Last Update 19 hours ago Total Questions : 72

The GitHub Actions Certificate Exam content is now fully updated, with all current exam questions added 19 hours ago. Deciding to include GitHub-Actions practice exam questions in your study plan goes far beyond basic test preparation.

You'll find that our GitHub-Actions exam questions frequently feature detailed scenarios and practical problem-solving exercises that directly mirror industry challenges. Engaging with these GitHub-Actions sample sets allows you to effectively manage your time and pace yourself, giving you the ability to finish any GitHub Actions Certificate Exam practice test comfortably within the allotted time.

Question # 4

As a DevOps engineer, you are developing a container action. You need to execute a cleanup script after completing the main script execution. Which code block should be used to define the cleanup script?

A.

B.

C.

D.

Question # 5

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

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.

Question # 6

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.)

A.

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

B.

Use artifacts when referencingfiles 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 theGitHub Package Registry and download a package for a workflow

Question # 7

As a developer, you need to make sure that only actions from trusted sources are available for use in your GitHub Enterprise Cloud organization. Which of the following statements are true? (Choose three.)

A.

Specific actions can individually be enabled for the organization, including version information.

B.

GitHub-verified actions can be collectively enabled for use in the enterprise.

C.

Actions can be restricted to only those available in the enterprise.

D.

Actions created by GitHub are automatically enabled and cannot be disabled.

E.

Individual third-party actions enabled with a specific tag will prevent updated versions of the action from introducing vulnerabilities.

F.

Actions can be published to an internal marketplace.

Question # 8

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

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question # 9

You installed specific software on a Linux self-hosted runner. You have users with workflows that need to be able to select the runner based on the identified custom software. Which steps should you perform to prepare the runner and your users to run these workflows? (Choose two.)

A.

Create the group custom-software-on-linux and move the runner into the group.

B.

Inform users to identify the runner based on the group.

C.

Add the label custom-software to the runner.

D.

Configure the webhook and network to enable GitHub to trigger workflow.

E.

Add the label linux to the runner.

Question # 10

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

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/

Go to page: