Exam GH-600 Topic 1 Question 31 Discussion
Actual exam question for Microsoft's GH-600 exam
Question #: 31
Topic #: 1
Question #: 31
Topic #: 1
A team assigns an issue to the GitHub Copilot coding agent by using the following one-line description: Fix the login bug.
Copilot creates a pull request, but the pull request is missing changes and has an incorrect scope.
How should you resolve the issue?
Copilot creates a pull request, but the pull request is missing changes and has an incorrect scope.
How should you resolve the issue?
Suggested Answer: C Vote an answer
Adding a clear description of the problem to the issue will directly remedy this problem.Coding agents like GitHub Copilot rely heavily on the context, details, and constraints provided in the issue to understand what needs to be fixed. A one-line description like "Fix the login bug" is too vague, leading to guesswork, incorrect scope, and incomplete code changes.
Defines Scope: Explicitly stating what is broken prevents the agent from changing unrelated files.
Identifies the Root Cause: Providing error logs or steps to reproduce guides the agent to the exact lines of code that need fixing.
Sets Expectations: Specifying the expected correct behavior ensures the agent generates all the necessary changes, preventing missing code.
Reference:
https://docs.github.com/en/copilot/how-tos/use-copilot-agents/cloud-agent/troubleshoot-cloud-agent
Defines Scope: Explicitly stating what is broken prevents the agent from changing unrelated files.
Identifies the Root Cause: Providing error logs or steps to reproduce guides the agent to the exact lines of code that need fixing.
Sets Expectations: Specifying the expected correct behavior ensures the agent generates all the necessary changes, preventing missing code.
Reference:
https://docs.github.com/en/copilot/how-tos/use-copilot-agents/cloud-agent/troubleshoot-cloud-agent
by Cecilia at Sep 19, 2026, 07:22 AM
0
0
0
10
Comments
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.
Report Comment
Commenting
You can sign-up / login (it's free).