nerdexam
Microsoft

GH-300 · Question #74

What are the effects of content exclusions? (Each correct answer presents part of the solution. Choose two.)

The correct answer is A. The excluded content is not directly available to GitHub Copilot to use as context. B. GitHub Copilot suggestions are no longer available in the excluded files. Content exclusions in GitHub Copilot have two direct effects. (A) Excluded files are not passed to the Copilot model as context - even if they are open in your editor, their content will not be used to inform suggestions. (B) Copilot will not provide any code completions or…

Configure privacy, content exclusions, and safeguards

Question

What are the effects of content exclusions? (Each correct answer presents part of the solution. Choose two.)

Options

  • AThe excluded content is not directly available to GitHub Copilot to use as context.
  • BGitHub Copilot suggestions are no longer available in the excluded files.
  • CThe excluded content is no longer used while debugging the code.
  • DThe IDE will not count coding suggestions in the excluded content.

How the community answered

(42 responses)
  • A
    88% (37)
  • C
    5% (2)
  • D
    7% (3)

Explanation

Content exclusions in GitHub Copilot have two direct effects. (A) Excluded files are not passed to the Copilot model as context - even if they are open in your editor, their content will not be used to inform suggestions. (B) Copilot will not provide any code completions or suggestions while you are editing an excluded file - the feature is effectively disabled for that file. Option C is incorrect because content exclusions are not specifically tied to debugging workflows. Option D is incorrect because the IDE's suggestion count metrics are separate from content exclusion behavior - exclusions are about privacy and context, not telemetry counting.

Topics

#GitHub Copilot#Content Exclusions#Privacy#Configuration

Community Discussion

No community discussion yet for this question.

Full GH-300 Practice