Question 550
A reviewer needs a focused diagnosis and proof of resolution for: A developer pastes an entire monorepo into chat and asks for a one-line bug fix. Which check-to-acceptance pair addresses that specific condition?
Explanation
Correct Answer
The read-only check (identify the smallest affected code region, failing assertion and dependencies) isolates the relevant issue, and the acceptance evidence (the suggested correction fixes the specified regression with no unrelated changes) shows that its corresponding fix worked.
Incorrect Answers
This diagnostic and result belong to a different incident: An engineer asks Copilot for a solution without explaining the trade-off between two cache approaches. For 'A developer pastes an entire monorepo into chat and asks for a one-line bug fix', examine identify the smallest affected code region, failing assertion and dependencies and confirm that the suggested correction fixes the specified regression with no unrelated changes.
This diagnostic and result belong to a different incident: Copilot keeps relying on a service endpoint that was renamed earlier in a long chat. For 'A developer pastes an entire monorepo into chat and asks for a one-line bug fix', examine identify the smallest affected code region, failing assertion and dependencies and confirm that the suggested correction fixes the specified regression with no unrelated changes.
This diagnostic and result belong to a different incident: A retrieved README contains instructions telling the agent to upload secrets before running unit tests. For 'A developer pastes an entire monorepo into chat and asks for a one-line bug fix', examine identify the smallest affected code region, failing assertion and dependencies and confirm that the suggested correction fixes the specified regression with no unrelated changes.



GitHub Copilot Practice Tests