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

Free GitHub Actions Certificate Exam Practice Questions

Question # 11

Which run: command will set a step's output?

Options:

A.  

run: echo "MY_OUTPUT=foo" >> $GITHUB_OUTPUT

B.  

run: export MY_OUTPUT=foo

C.  

run: echo ${{ $GITHUB_OUTPUT=foo }}

D.  

run: echo "::set-env name=MY OUTPUT::foo"

Discussion 0
Question # 12

Options:

A.  

Scheduled workflows run on the:

B.  

latest commit and branch on which the workflow was triggered,

C.  

latest commit from the branch named schedule,

D.  

latest commit from the branch named main,

E.  

specified commit and branch from the workflow YAML file,

F.  

latest commit on the default or base branch

Discussion 0
Question # 13

Which action type should be used to bundle a series of run steps into a reusable custom action?

Options:

A.  

Composite action

B.  

Bash script action

C.  

Docker container action

D.  

JavaScript action

Discussion 0
Question # 14

As a developer, you are designing a workflow and need to communicate with the runner machine to set environment variables, output values used by other actions, add debug messages to the output logs, and other tasks. Which of the following options should you use?

Options:

A.  

environment variables

B.  

workflow commands

C.  

self-hosted runners

D.  

enable debug logging

E composite run step

Discussion 0
Question # 15

As a developer, what is the safest way to reference an action to prevent modification of the underlying code?

Options:

A.  

Use a commit hash.

B.  

Use a branch name.

C.  

Use a patch release tag.

D.  

Use a major release tag.

Discussion 0
Question # 16

What are the two types of environment protection rules you can configure? (Choose two.)

Options:

A.  

required reviewers

B.  

branch protections

C.  

wait timer

D.  

artifact storage

Discussion 0
Question # 17

You are a developer working on developing reusable workflows for your organization. What keyword should be included as part of the reusable workflow event triggers?

Options:

A.  

check_run

B.  

workflow_run

C.  

workflow_call

D.  

pull_request

Discussion 0
Question # 18

As a developer, you are using a Docker container action in your workflow. What is required for the action to run successfully?

Options:

A.  

The job env must be set to a Linux environment.

B.  

The job runs-on must specify a Linux machine with Docker installed.

C.  

The referenced action must be hosted on Docker Hub.

D.  

The action must be published to the GitHub Marketplace.

Discussion 0
Question # 19

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

Discussion 0
Question # 20

As a developer, you need to create a custom action written in Python. Which action type should you choose?

As a developer, you need to create a custom action written in Python. Which action type should you choose?

Options:

A.  

JavaScript action

B.  

composite run step

C.  

Python action

D.  

Docker container action

Discussion 0

GitHub-Actions PDF

GitHub-Actions PDF (Printable)
$54.25
$154.99

GitHub-Actions Testing Engine

GitHub-Actions PDF (Printable)
$59.5
$169.99

GitHub-Actions PDF + Testing Engine

GitHub-Actions PDF (Printable)
$74.55
$212.99

Free Exams Sample Questions