Microsoft - Big Savings Alert – Don’t Miss This Deal - Ends In 1d 00h 00m 00s Coupon code: 26Y30OFF
  1. Home
  2. Microsoft
  3. GH-200 Exam
  4. Free GH-200 Questions

Free Practice Questions for Microsoft GH-200 Exam

Pass4Future also provide interactive practice exam software for preparing Microsoft GitHub Actions (GH-200) Exam effectively. You are welcome to explore sample free Microsoft GH-200 Exam questions below and also try Microsoft GH-200 Exam practice test software.

Page:    1 / 14   
Total 72 questions

Question 1

What are the two ways to pass data between jobs? (Choose two.)



Answer : E, F

Job outputs are used to pass data from one job to another in a workflow. A job can produce output values (like variables or files), which can be referenced by subsequent jobs using the needs keyword and ${{ steps.step_id.outputs.output_name }} syntax.

Artifact storage allows data (such as files or results) to be saved by a job and then retrieved by another job in a later step. This is commonly used for passing large amounts of data or files between jobs.


Question 2

Which default GitHub environment variable indicates the name of the person or app that initiated a workflow?



Answer : C

The GITHUB_ACTOR environment variable indicates the name of the person or app that initiated the workflow. This variable is automatically provided by GitHub in the workflow and can be used to identify the user or application triggering the workflow.


Question 3

Your organization needs to simplify reusing and maintaining automation in your GitHub Enterprise Cloud. Which components can be directly reused across all repositories in an organization? (Choose three.)



Answer : B, C, F

Actions stored in private repositories within the organization can be reused across all repositories by referencing them in workflows. This ensures a centralized way of maintaining custom actions.

Encrypted secrets can be accessed across repositories in the same organization, making it easy to store sensitive data (like API keys or tokens) securely while allowing multiple workflows to access them.

Workflow templates allow you to create reusable templates for workflows that can be shared across repositories within the organization. This makes it easier to standardize processes and automate them across multiple projects.


Question 4

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



Answer : A, D

The publish-npm job includes the JS-DevTools/npm-publish action, which is used to publish an npm package to an npm registry.

The publish-npm job has the needs: build directive, meaning it will only run after the build job successfully completes.


Question 5

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



Answer : A

A composite action allows you to bundle multiple steps into a single reusable action within a workflow. It is composed of multiple run steps or other actions and can be reused across workflows, making it the perfect choice for bundling a series of steps.


Page:    1 / 14   
Total 72 questions