Question 180
During an enterprise Copilot rollout, the following condition is confirmed: A developer wants safe inspection without allowing code execution. Which action addresses the actual technical requirement?
Explanation
Correct Answer
The best response is "Restrict tools to read-only operations and request an analysis report". Tool-scoped access can support diagnosis without mutations. This directly addresses the condition: A developer wants safe inspection without allowing code execution.
Incorrect Answers
The alternative "Use the reviewed diff and test evidence as source context" fits another situation: A developer asks an agent to produce a pull-request description. Accurate summaries must reflect real changes and verified tests. Here the condition is A developer wants safe inspection without allowing code execution; use "Restrict tools to read-only operations and request an analysis report" instead. Tool-scoped access can support diagnosis without mutations.
The alternative "Review, test, and commit the script through the standard CI workflow" addresses A generated shell script needs to run repeatedly under CI. An interactive assistant's output requires a reproducible automation artifact. It does not resolve A developer wants safe inspection without allowing code execution; the correct choice is "Restrict tools to read-only operations and request an analysis report". Tool-scoped access can support diagnosis without mutations.
"Request appropriate Git permissions rather than bypassing controls" targets A CLI agent cannot push a branch because the user has not approved write operations. Repository writes need distinct authorization from local analysis. That differs from A developer wants safe inspection without allowing code execution; the required decision here is "Restrict tools to read-only operations and request an analysis report". Tool-scoped access can support diagnosis without mutations.