Question 220
A reviewer needs a focused diagnosis and proof of resolution for: A terminal assistant proposes deleting a directory while reorganizing a workspace. Which check-to-acceptance pair addresses that specific condition?
Explanation
Correct Answer
The read-only check (review the proposed command, target path and file-diff impact before execution) isolates the relevant issue, and the acceptance evidence (the needed files are reorganized without deletion or modification outside the approved scope) shows that its corresponding fix worked.
Incorrect Answers
This diagnostic and result belong to a different incident: A setup script installs an obsolete third-party package instead of the official GitHub Copilot CLI. For 'A terminal assistant proposes deleting a directory while reorganizing a workspace', examine review the proposed command, target path and file-diff impact before execution and confirm that the needed files are reorganized without deletion or modification outside the approved scope.
This diagnostic and result belong to a different incident: A developer cannot open the terminal-native Copilot CLI even though the IDE assistant works. For 'A terminal assistant proposes deleting a directory while reorganizing a workspace', examine review the proposed command, target path and file-diff impact before execution and confirm that the needed files are reorganized without deletion or modification outside the approved scope.
This diagnostic and result belong to a different incident: An engineer opens a fresh terminal session and expects Copilot CLI to remember details from an earlier session. For 'A terminal assistant proposes deleting a directory while reorganizing a workspace', examine review the proposed command, target path and file-diff impact before execution and confirm that the needed files are reorganized without deletion or modification outside the approved scope.



GitHub Copilot Practice Tests