Exam GH-300 Topic 2 Question 121 Discussion

Actual exam question for Microsoft's GH-300 exam
Question #: 121
Topic #: 2
You use GitHub Copilot Chat to debug a function.
You discover that GitHub Copilot is using irrelevant chat threads to generate output.
You need to ensure that GitHub Copilot only uses new input to generate output.
What should you do, and how will this affect the prompt process flow?

Suggested Answer: A Vote an answer

GitHub Copilot Chat uses conversation history as part of the context for later responses. GitHub ' s prompt- engineering guidance recommends keeping chat history relevant, while GitHub ' s AI-usage guidance specifically advises starting a new conversation when moving to unrelated work because a long thread carries prior history into subsequent requests. In this scenario, irrelevant earlier chat threads are contaminating the context used for debugging. Starting a new Copilot Chat session creates a clean conversational context for the new prompt, so the previous thread is no longer included as model input for that new conversation.
Continuing in the same chat would preserve the unwanted context. Therefore, the correct action is to start a new chat, with the effect of removing the prior chat history from the new model input.

by Paddy at Sep 15, 2026, 10:49 PM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
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.

0
0
0
10