Question 260
A reviewer needs a focused diagnosis and proof of resolution for: A Copilot agent receives a third-party MCP tool description that asks it to read unrelated repository secrets. Which check-to-acceptance pair addresses that specific condition?
Explanation
Correct Answer
The read-only check (inspect MCP server provenance, requested permissions and the action's data-access requirements) isolates the relevant issue, and the acceptance evidence (the task finishes without accessing or disclosing unrelated secrets) shows that its corresponding fix worked.
Incorrect Answers
This diagnostic and result belong to a different incident: A developer needs changes in five modules and verification commands but requests only a conversational explanation. For 'A Copilot agent receives a third-party MCP tool description that asks it to read unrelated repository secrets', examine inspect MCP server provenance, requested permissions and the action's data-access requirements and confirm that the task finishes without accessing or disclosing unrelated secrets.
This diagnostic and result belong to a different incident: A maintainer wants Copilot to implement a scoped GitHub issue asynchronously but asks an IDE completion to do it. For 'A Copilot agent receives a third-party MCP tool description that asks it to read unrelated repository secrets', examine inspect MCP server provenance, requested permissions and the action's data-access requirements and confirm that the task finishes without accessing or disclosing unrelated secrets.
This diagnostic and result belong to a different incident: An IDE agent working on a large task repeatedly loses focus when switching between test analysis and documentation. For 'A Copilot agent receives a third-party MCP tool description that asks it to read unrelated repository secrets', examine inspect MCP server provenance, requested permissions and the action's data-access requirements and confirm that the task finishes without accessing or disclosing unrelated secrets.



GitHub Copilot Practice Tests