Demo Microsoft GH-200 Exam Questions

Demo practice questions for guest users.

Section: Practice Mode 4 Questions
Demo Practice
Question 1

GITHUB_WORKSPACE is a default environment variable in GitHub Actions that points to the directory
on the runner where your repository is checked out. This variable allows you to access files within
your repository during the workflow.

Correct Answer: B
Explanation:
GITHUB_WORKSPACE is a default environment variable in GitHub Actions that points to the directory
on the runner where your repository is checked out. This variable allows you to access files within
your repository during the workflow.
Question 2

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

Correct Answer: A, C, D
Explanation:
First, the dataset should be encrypted before being stored. This ensures that the data is protected
when stored in a repository.
The encrypted dataset can be stored in a GitHub secret, ensuring it is securely kept and not exposed
publicly.
The encryption key needed to decrypt the dataset should also be stored in a GitHub secret to
maintain security during the workflow, allowing access only when needed.
Question 3

As a developer, which workflow steps should you perform to publish an image to the GitHub
Container Registry? (Choose three.)

Correct Answer: A, B, D
Explanation:
Explanation:
A . Use the actions/setup-docker action
B . Authenticate to the GitHub Container Registry.
C . Build the container image.
D . Push the image to the GitHub Container Registry
E . Pull the image from the GitHub Container Registry.

Demo Practice Mode

You are viewing only the questions marked as Demo.

BACK TO EXAM