GH-300 · Question #15
GH-300 Question #15: Real Exam Question with Answer & Explanation
The correct answer is A: Content exclusions can be worked around as it is only available for Git repositories.. {"question_number": 5, "correct_answer": "A", "explanation": "Content exclusions are enforced only when the code is part of a Git repository that Copilot can recognize and apply the exclusion rules to. If a developer opens files from outside a Git repository context - for example
Question
What is a limitation of content exclusions?
Options
- AContent exclusions can be worked around as it is only available for Git repositories.
- BContent exclusions can only be configured by an enterprise administrator.
- CContent exclusions are only available in the GitHub Copilot Individual plan.
- DRepository administrators and organization owners cannot manage content exclusion settings.
Explanation
{"question_number": 5, "correct_answer": "A", "explanation": "Content exclusions are enforced only when the code is part of a Git repository that Copilot can recognize and apply the exclusion rules to. If a developer opens files from outside a Git repository context - for example, files on a local filesystem not tracked by Git - the content exclusion settings have no mechanism to apply, effectively bypassing them. The other options are false: content exclusions can be configured by organization owners and enterprise admins (B is wrong), content exclusions are available in Business and Enterprise plans, not Individual (C is wrong), and repository admins and org owners can manage exclusion settings (D is wrong).", "generated_by": "claude-sonnet", "llm_judge_score": 4}
Topics
Community Discussion
No community discussion yet for this question.