Microsoft
GH-300 · Question #54
Your development team is concerned about the use of proprietary code in GitHub Copilot's training dataset. To maintain privacy and protect intellectual property, they want to ensure that specific file
Sign in or unlock GH-300 to reveal the answer and full explanation for question #54. The question stem and answer options stay visible for context.
Configure privacy, content exclusions, and safeguards
Question
Your development team is concerned about the use of proprietary code in GitHub Copilot's training dataset. To maintain privacy and protect intellectual property, they want to ensure that specific files or directories are not used by GitHub Copilot for training purposes. What should they configure to achieve this?
Options
- AUse the ".Copilotignore" file to list files or paths to be excluded from Copilot context and
- BAdd the files to ".gitignore" so Copilot doesn't access them
- CDisable GitHub Copilot entirely from the organization settings
- DPlace a comment in the file indicating it is confidential
Unlock GH-300 to see the answer
You've previewed enough free GH-300 questions. Unlock GH-300 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#GitHub Copilot exclusion#.Copilotignore#Data privacy#IP protection