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 3 Question 12 Discussion

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?
B) runs-on: [self-hosted, windows, x64]
A) self-hosted: [windows-x64]
C) runs-on: windows-latest
D) self-hosted: [windows, x64]

Microsoft GH-200 Exam - Topic 3 Question 12 Discussion

Actual exam question for Microsoft's GH-200 exam
Question #: 12
Topic #: 3
[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
Merri
4 days ago
I feel like A is too simple. It might not cover all bases.
upvoted 0 times
...
Alexia
9 days ago
I think option B is the best choice. It specifies both self-hosted and the architecture.
upvoted 0 times
...
Domingo
15 days ago
D) self-hosted: [windows, x64] is definitely the way to go!
upvoted 0 times
...
Leanna
20 days ago
Wait, can you really use A? That seems too simple!
upvoted 0 times
...
Lindsey
25 days ago
C) runs-on: windows-latest won't target your custom runner.
upvoted 0 times
...
Helaine
2 months ago
I think B) runs-on: [self-hosted, windows, x64] could work too.
upvoted 0 times
...
Stefany
3 months ago
A) self-hosted: [windows-x64] is the right choice.
upvoted 0 times
...
Rolf
3 months ago
I’m leaning towards D because it seems to match the requirements for specifying both self-hosted and the OS type.
upvoted 0 times
...
Mabelle
3 months ago
I feel like A could be right, but I’m not confident about how to combine the self-hosted label with the OS and architecture.
upvoted 0 times
...
Essie
4 months ago
I remember practicing a question similar to this, and I think the correct format should include "runs-on" for specifying the runner.
upvoted 0 times
...
Alayna
4 months ago
I think it might be B, but I'm not completely sure if the syntax is correct for targeting a self-hosted runner.
upvoted 0 times
...

Save Cancel