Free GH-200 Microsoft GH-200 Practice Test Question

Loading demo links...

Showing 7–9 of 9 questions

Question 7 (Topic 1)

Which default GitHub environment variable indicates the owner and repository name?

Select an option, then click Submit answer.

  • GITHUB_REPOSITORY
  • GITHUB_WORKFLOW_REPO
  • ENV_REPOSITORY
  • REPOSITORY_NAME
Question 8 (Topic 3)

Which workflow command would output the debug message "action successfully debugged"?

Select an option, then click Submit answer.

  • echo "::debug::action successfully debugged"
  • echo "::debug::message=action successfully debugged"
  • echo "debug=action successfully debugged"
  • echo ":debug:action successfully debugged:"
Question 9 (Topic 1)

Which of the following scenarios requires a developer to explicitly use the GITHUB_TOKEN or github.token secret within a workflow? (Choose two.)

Select an option, then click Submit answer.

  • passing the GITHUB_TOKEN secret to an action that requires a token as an input
  • making an authenticated GitHub API request
  • checking out source code with the actions/checkout@v3 action
  • assigning non-default permissions to the GITHUB_TOKEN