Question 10
A Copilot-assisted software team encounters the following situation: A security administrator wants content exclusions for a regulated repository tree. Which change best solves the specific issue without assuming unrelated requirements?
Explanation
Correct Answer
Content-exclusion patterns are path-sensitive and effective only in supported Copilot contexts; a generic pattern is not independently proven correct. The proposed action directly addresses the identified need: A security administrator wants content exclusions for a regulated repository tree. A suitable acceptance check is: Positive/negative fixture files show the intended path matches and supported surfaces suppress excluded content, while other authorized files still work.
Incorrect Answers
Sensitive data was sent as raw prompt context despite policy. The specific problem here is that a broad or misspelled pattern failed to match the intended files.
An editor preference was assumed to override enterprise restrictions. The specific problem here is that a broad or misspelled pattern failed to match the intended files.
The secret remained present in accessible code despite relying only on filtering. The specific problem here is that a broad or misspelled pattern failed to match the intended files.