Microsoft GitHub Actions - GH-200 Exam Practice Test
Question 1
You need to use a specific version of an action. How should you use v1 of an actions/javascript-action repository in your workflow?
Correct Answer: D
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 2
You have exactly one Windows x64 self-hosted runner, and it is configured with custom tools. Which syntax could you use in the workflow to target that runner?
Correct Answer: C
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 3
What can be used to set a failed status of an action from its code?
Correct Answer: C
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 4
What is a valid scenario regarding environment secrets?
Correct Answer: C
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 5
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?
Correct Answer: E
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 6
Where should workflow files be stored to be triggered by events in a repository?
Correct Answer: D
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 7
As a developer, you need to make sure that only actions from trusted sources are available for use in your GitHub Enterprise Cloud organization. Which of the following statements are true? (Choose three.)
Correct Answer: B,C,F
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 8
You need to create new workflows to deploy to an unfamiliar cloud provider. What is the fastest and safest way to begin?
Correct Answer: E
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 9
As a developer, you are designing a workflow and need to communicate with the runner machine to set environment variables, output values used by other actions, add debug messages to the output logs, and other tasks. Which of the following options should you use?
Correct Answer: D
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 10
You need to trigger a workflow using the GitHub API for activity that happens outside of GitHub. Which workflow event do you use?
Correct Answer: B
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).

