Free Microsoft GH-300 Actual Exam Questions - Question 15 Discussion
It’s A because Copilot usually uses comments as triggers, not specific commands.
Actually, I don’t think B is correct either. The “copilot suggest” command doesn’t seem to be a standard CLI command for GitHub Copilot. Usually, the suggestions come up automatically or after a shortcut key in editors or terminals, rather than typing a command like that. So that leaves A as the most plausible since writing comments to trigger suggestions is consistent with how Copilot generally operates, including in CLI environments where shortcuts can bring up multiple suggestions for you to pick from.
A/D? D feels unlikely since describing architecture sounds too broad, and Copilot usually works with smaller code prompts. A fits better because comments often trigger suggestions directly.
A vs C? I’m thinking A makes more sense since Copilot usually works by giving suggestions based on comments or code hints rather than refining code with a separate command. The “copilot refine” thing in C sounds off to me because I haven’t come across that in any docs or usage. Also, D sounds too broad and more like a high-level feature, which isn’t typical for CLI usage. So I’d go with A from a practical standpoint.
A, because you usually write comments to prompt Copilot suggestions, even outside GUIs.
This question feels a bit off since I don’t think GitHub Copilot works exactly like that in the CLI. Usually, it’s more integrated into editors like VS Code where you get inline suggestions. The options here seem to mix commands that might not exist yet for the CLI usage. Could be a trick question or maybe new features? None of these options felt clearly right to me based on what little I've tried with Copilot outside an IDE.