Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft GH-200 Exam - Topic 2 Question 10 Discussion

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

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?

Show Suggested Answer Hide Answer
Suggested Answer: B

The runs-on keyword allows you to specify the operating system and other labels for the runner. By specifying self-hosted, windows, and x64, you are targeting a self-hosted Windows runner that matches these criteria, which aligns with the custom configuration of your self-hosted runner.


Contribute your Thoughts:

0/2000 characters
Fredric
2 days ago
I wonder if the exam writer has ever actually used a self-hosted runner before. This is a piece of cake!
upvoted 0 times
...
Benton
7 days ago
D) self-hosted: [windows, x64] is close, but it's missing the square brackets.
upvoted 0 times
...
Lillian
28 days ago
C) runs-on: windows-latest is for the default GitHub-hosted runners, not self-hosted.
upvoted 0 times
...
Johnetta
1 month ago
B) runs-on: [self-hosted, windows, x64] is a bit too verbose, don't you think?
upvoted 0 times
...
Rocco
1 month ago
A) self-hosted: [windows-x64] is the correct syntax to target the self-hosted runner with custom tools.
upvoted 0 times
...
Cornell
1 month ago
I’m leaning towards option B, but I can't recall if "self-hosted" needs to be first or if it can be combined with the OS like that.
upvoted 0 times
...
Svetlana
2 months ago
I feel like option D makes sense because it specifies both "self-hosted" and the OS type, but I could be mixing it up with another question.
upvoted 0 times
...
Ashlyn
2 months ago
I remember practicing a similar question, and I think "runs-on" is the key part we need to focus on.
upvoted 0 times
...
Judy
2 months ago
I think the syntax should include "self-hosted" since it's a self-hosted runner, but I'm not sure about the exact format.
upvoted 0 times
...
Cortney
2 months ago
I'm going to go with A. It directly calls out the self-hosted runner and the x64 architecture, which seems like the most straightforward way to target the requirements given in the question.
upvoted 0 times
...
Gayla
2 months ago
C seems too generic, since it just says "windows-latest". The question is asking about a specific self-hosted runner, so I think the more targeted options like A or B are better choices.
upvoted 0 times
...
Judy
2 months ago
Hmm, I'm leaning towards option B. It seems to cover all the details - self-hosted, windows, and x64. But I'm not 100% certain.
upvoted 0 times
...
Shawnee
3 months ago
I'm a bit confused here. The question mentions custom tools, so I'm not sure if option B or D might be better to specify the runner requirements more precisely.
upvoted 0 times
...
Casie
3 months ago
I think the answer is A. The question specifically mentions a self-hosted runner, so that syntax seems like the most direct way to target it.
upvoted 0 times
...

Save Cancel