Month End Special - 75% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: certbig75

GH-200 Exam Dumps - Microsoft GitHub Administrator Questions and Answers

Question # 4

As a developer, how should you enable step debug logging for a workflow?

Options:

A.

Include the following code block in your workflow:

defaults:

ACTIONS_STEP_DEBUG: true

B.

Use the --actions-step-debug flag when calling the workflow.

C.

Set the ACTIONS_STEP_DEBUG secret or variable at the repository level to true.

D.

Include the following code block in your workflow:

env:

ACTIONS_STEP_DEBUG: true

Buy Now
Question # 5

What metadata file in a custom action defines the main entry point?

Options:

A.

action.js

B.

index.js

C.

action.yml

D.

main.yml

Buy Now
Question # 6

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

Buy Now
Question # 7

You are a DevOps engineer working on deployment workflows. You need to execute the deploy job only if the current branch name is feature-branch. Which code snippet will help you implement the conditional execution of the job?

Options:

A.

jobs:

deploy:

if: github.branch_name == ' feature-branch '

runs-on: ubuntu-latest

B.

jobs:

deploy:

if: github.ref_name == ' feature-branch '

runs-on: ubuntu-latest

C.

jobs:

deploy:

if: github.ref.name = ' feature-branch '

runs-on: ubuntu-latest

D.

jobs:

deploy:

if: github.branch.name == ' feature-branch '

runs-on: ubuntu-latest

Buy Now
Question # 8

While writing a custom action, some behavior within the runner must be changed. Which workflow commands would set an error message in the runner ' s output?

(Each correct answer presents a complete solution. Choose two.)

Options:

A.

echo " ::error message=There was an error:: "

B.

echo " ::error::There was an error "

C.

echo " ::error file=main.py,line=10,col=15::There was an error "

D.

echo " ::error=There was an error:: "

Buy Now
Question # 9

You are a DevOps engineer working on a custom action. You want to conditionally run a script at the start of the action, before the main entry point. Which code block should be used to define the metadata file for your custom action?

Options:

A.

runs:

using: ' node16 '

start: ' start.js '

start-if: github.event_name == ' push '

main: ' index.js '

B.

runs:

using: ' node16 '

pre: ' start.js '

pre-if: github.event_name == ' push '

main: ' index.js '

C.

runs:

using: ' node16 '

pre-if: github.event_name == ' push ' then ' start.js '

main: ' index.js '

D.

runs:

using: ' node16 '

before: ' start.js '

before-if: github.event_name == ' push '

main: ' index.js '

Buy Now
Question # 10

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.

Buy Now
Question # 11

As a developer, you need to integrate a GitHub Actions workflow with a third-party code quality provider that uses the Checks API. How should you trigger a follow-up workflow?

Options:

A.

Add the workflow_run webhook event as a trigger for the workflow for the code quality integration name

B.

Add the check_run webhook event as a trigger for the workflow when the code quality integration is completed

C.

Add the pull_request webhook event as a trigger for the workflow when the code quality integration is synchronized

D.

Add the deployment webhook event as a trigger for the workflow when the code quality integration is completed

Buy Now
Question # 12

What is the most secure way to store sensitive information in GitHub Actions workflows?

Options:

A.

Use environment variables in the workflow and store sensitive data directly in the variables.

B.

From the GitHub repository settings, store sensitive data as unencrypted text.

C.

Store the sensitive information as plain text in the workflow YAML file.

D.

Use GitHub Enterprise Managed User (OIDC) integration to dynamically fetch secrets from a third-party secrets manager.

Buy Now
Question # 13

What is a valid scenario regarding environment secrets?

Options:

A.

Ensuring a job cannot access environment secrets until approval is obtained from a required reviewer.

B.

Ensuring only a specific step can access an environment secret.

C.

Configuring environment secrets for connecting to GitHub Enterprise Server.

D.

Configuring environment secrets to automatically pull from Azure Key Vault.

Buy Now
Exam Code: GH-200
Exam Name: GitHub Actions Exam
Last Update: Sep 29, 2026
Questions: 137
GH-200 pdf

GH-200 PDF

$23.75  $94.99
GH-200 Engine

GH-200 Testing Engine

$27.5  $109.99
GH-200 PDF + Engine

GH-200 PDF + Testing Engine

$36.25  $144.99