exam questions

Exam GH-200 All Questions

View all questions & answers for the GH-200 exam

Exam GH-200 topic 2 question 18 discussion

Actual exam question from Microsoft's GH-200
Question #: 18
Topic #: 2
[All GH-200 Questions]

Which of the following is a valid reusable workflow reference?

  • A. uses: octo-org/another-repo/workflow.yml@v1
  • B. uses: octo-org/another-repo/.github/workflows/workflow.yml@v1
  • C. uses: another-repo/.github/workflows/workflow.yml@v1
  • D. uses: another-repo/workflow.yml@v1
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
MaharshiRabari
7 hours, 37 minutes ago
Selected Answer: B
Explanation Reusable workflows must be referenced using this format: uses: <owner>/<repo>/.github/workflows/<workflow_file>@<ref> Where: owner = GitHub org or user repo = repository name .github/workflows/ = required path workflow.yml = the reusable workflow file ref = branch, tag, or commit SHA
upvoted 1 times
...
[Removed]
2 months, 1 week ago
Selected Answer: B
Going with B, but I'm open to being convinced otherwise.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...