Microsoft

GH-300 practice question 5

GitHub Copilot · free question 5 of 20

Question

How does GitHub Copilot Chat utilize its training data and external sources to generate responses when answering coding questions?
  • A. It primarily relies on the model's training data to generate responses.
  • B. It combines its training data set, code in user repositories, and external sources like Bing to generate responses. Correct
  • C. It uses user-provided documentation exclusively to generate responses.
  • D. It primarily uses search results from Bing to generate responses.

Explanation

Copilot Chat combines the foundation model's knowledge from its training data with context gathered from your code and repositories, and, when enabled, Bing web search results for recent or highly specific topics. Relying only on training data ignores the repository context it gathers, Bing is an optional supplement rather than the primary source, and user-provided documentation is never the exclusive source.

Practice the whole free set

Answer all 20 free GH-300 questions with instant feedback, or unlock all 116 questions with Learn and Exam modes.