Exclusive Black Friday Deal: 70% Off All Exam Bundles! Use coupon code below to unlock your savings! - Ends in 0d 00h 00m 00s - Coupon code: Friday70

Free GitHub Actions Exam Practice Questions

Question # 1

Disabling a workflow allows you to stop a workflow from being triggered without having to delete the file from the repo. In which scenarios would temporarily disabling a workflow be most useful? (Choose two.)

Options:

A.  

A workflow sends requests to a service that is down.

B.  

A workflow error produces too many, or wrong, requests, impacting external services negatively.

C.  

A workflow is configured to run on self-hosted runners

D.  

A workflow needs to be changed from running on a schedule to a manual trigger

E.  

A runner needs to have diagnostic logging enabled.

Discussion 0
Question # 2

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

Options:

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.

Discussion 0
Question # 3

As a developer, you are authoring a workflow that will deploy to both DevCloud and TestCloud resources. Each cloud resource is accessed with a different deployment key. Which approach best allows you to use the same reusable workflow in separate jobs to target the different cloud resources?

Options:

A.  

Create repository secrets named DevCloud.DEPLOY_KEY and TestCloud.DEPLOY_KEY so that the reusable workflow parses the secrets by resource name.

B.  

Store the different keys in a DEPLOY_KEY environment secret in the DevCloud and TestCloud environments. Specify DEPLOY_KEY in the secrets section of the reusable workflow.

C.  

Use a marketplace action to conditionally parse the DEPLOY_KEY repository secret based on the cloud resource name.

D.  

Populate a DEPLOY_KEY repository secret with a JSON object containing DevCloud and TestCloud properties. Then specify DEPLOY_KEY.DevCloud in the secrets sections of the reusable workflow.

Discussion 0
Question # 4

As a developer, you are configuring GitHub Actions to deploy VMs to production. A member of the VMOps team must provide approval before the deployment occurs. Which two steps should you take? Each correct answer presents part of the solution.

NOTE: Each correct answer is worth one point.

Options:

A.  

Navigate to the repository settings and create a Production environment with the VMOps team as a required reviewer.

B.  

Navigate to the organization settings and create a Production environment with the VMOps team as a required reviewer.

C.  

Specify the VMOps team as the owner of the environment.

D.  

Specify the environment named Production in the workflow jobs that deploy to the VMs.

E.  

Add the VMs to the environment.

Discussion 0
Question # 5

As a developer, you are configuring GitHub Actions to deploy VMs to production. A member of the VMOps team must provide approval before the deployment occurs. Which of the following steps should you take?

(Each correct answer presents part of the solution. Choose two.)

Options:

A.  

Specify the environment named Production in the workflow jobs that deploy to the VMs.

B.  

Navigate to the organization settings and create a Production environment with the VMOps team as a required reviewer.

C.  

Navigate to the repository settings and create a Production environment with the VMOps team as a required reviewer.

D.  

Specify the VMOps team as the owner of the environment.

E.  

Add the VMs to the environment.

Discussion 0
Question # 6

When should you use an installation access token from a GitHub App in a GitHub Actions workflow?

Options:

A.  

To act on behalf of a user and access their private repositories.

B.  

When the GITHUB_TOKEN secret lacks the permissions needed across multiple repositories or organizations.

C.  

To perform actions that require user consent, such as accessing private user data.

D.  

To authenticate as a GitHub App installation and access the resources in the app ' s installed repository.

Discussion 0
Question # 7

You need to create a reusable GitHub Actions workflow template named ci.yml. The solution must ensure that ci.yml appears on the New workflow interface of GitHub Actions. Where should you store ci.yml?

Options:

A.  

.github/workflows

B.  

.github/templates

C.  

.github/workflow-templates

D.  

the root directory of each repository

Discussion 0
Question # 8

An organization ' s policies specify that only local actions are allowed. How should actions be distributed for this organization?

Options:

A.  

Via the GitHub Marketplace

B.  

Via the .github repository owned by the organization

C.  

Via a repository owned by a third party

D.  

Via repositories owned by the organization

Discussion 0
Question # 9

What are the advantages of using a matrix strategy in a job definition? (Choose two.)

Options:

A.  

It can test code in multiple versions of a programming language.

B.  

It can decrease the costs for running multiple combinations of programming language/operating systems.

C.  

It can run up to 512 jobs per workflow run.

D.  

It can test code in multiple operating systems.

Discussion 0
Question # 10

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

Discussion 0

GH-200 PDF

GH-200 PDF (Printable)
$46.5
$154.99

GH-200 Testing Engine

GH-200 PDF (Printable)
$51
$169.99

GH-200 PDF + Testing Engine

GH-200 PDF (Printable)
$63.9
$212.99
Exams4sure Dumps

Exam style questions across every GH-200 domain

Last Update 3 days ago
Total Questions : 150

Start with our free GH-200 practice questions, carefully crafted to mirror the domains, phrasing, and difficulty of the real GitHub Administrator exam. Each GH-200 exam question comes with a detailed rationale that explains not just which answer is correct but why the others fall short. That's how concepts stick. Use the free set to benchmark yourself: identify your Microsoft weak domains, see where you're losing marks, and build a focused study plan in minutes.

Free Exams Sample Questions