Pass the Microsoft GitHub Administrator GH-200 Questions and answers with CertsForce

Viewing page 2 out of 3 pages
Viewing questions 11-20 out of questions
Questions # 11:

As a developer, you want to run a workflow from the Actions tab in GitHub. Which YAML snippet should you use to match the interface in this image?

Question # 11

A)

Question # 11

B)

Question # 11

C)

D)Question # 11

Question # 11

Options:

A.

Option A


B.

Option B


C.

Option C


D.

Option D


Expert Solution
Questions # 12:

Which choices represent best practices for publishing actions so that they can be consumed reliably? (Choose two.)

Options:

A.

repo name


B.

tag


C.

commit SHA


D.

organization name


E.

default branch


Expert Solution
Questions # 13:

As a developer, you have a 10-MB data set that is required in a specific workflow. Which steps should you perform so the dataset is stored encrypted and can be decrypted during the workflow? (Choose three.)

Options:

A.

Encrypt the dataset.


B.

Leverage the actions/download-secret action in the workflow.


C.

Store the dataset in a GitHub encrypted secret.


D.

Store the encryption keys in a GitHub encrypted secret.


E.

Compress the dataset


F.

Commit the encrypted dataset to the same repository as the workflow


G.

Create a GitHub encrypted secret with the Large object option selected and upload the dataset.


Expert Solution
Questions # 14:

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


Expert Solution
Questions # 15:

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?

Options:

A.

GH-200 Question 15 Option 1


B.

15


C.

15


D.

15


Expert Solution
Questions # 16:

When reviewing an action for use, what file defines its available inputs and outputs?

Options:

A.

inputs.yml


B.

config.json


C.

defaults.json


D.

workflow.yml


E.

action.yml


Expert Solution
Questions # 17:

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

Options:

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/


Expert Solution
Questions # 18:

As a DevOps engineer, you are trying to leverage an organization secret in a repo. The value received in the workflow is not the same as that set in the secret. What is the most likely reason for the difference?

Options:

A.

There is a different value specified at the rego level.


B.

There is a different value specified at the workflow level.


C.

The Codespace secret doesn't match the expected value.


D.

The Encrypt Secret setting was not configured for the secret.


E.

There is a different value specified at the enterprise level.


Expert Solution
Questions # 19:

What is the smallest scope for an environment variable?

Options:

A.

the workflow settings


B.

a step


C.

a job


D.

the workflow env mapping


Expert Solution
Questions # 20:

You are a developer, and your container jobs are failing on a self-hosted runner. Which requirements must you check to ensure that the self-hosted runner is properly configured? (Choose two.)

Options:

A.

The self-hosted runner is running a Linux operating system.


B.

The self-hosted runner is running a Windows operating system.


C.

Docker is installed on the self-hosted runner.


D.

Kubernetes is installed on the self-hosted runner.


E.

The service status of Kubernetes is "active".


Expert Solution
Viewing page 2 out of 3 pages
Viewing questions 11-20 out of questions