Question 390
A Copilot-assisted software team encounters the following situation: A team wants Copilot CLI to draft a script before executing potentially destructive actions. Which action most directly meets the acceptance conditions of this case?
Explanation
Correct Answer
A generated terminal script must be evaluated before running it. The proposed action directly addresses the identified need: A team wants Copilot CLI to draft a script before executing potentially destructive actions. A suitable acceptance check is: The previewed script matches the approved scope and no command runs without consent.
Incorrect Answers
The relevant file was omitted from the CLI request context. The specific problem here is that generation and execution were treated as one automatically trusted step.
The request did not include the diagnostic or code context. The specific problem here is that generation and execution were treated as one automatically trusted step.
Automatic command execution was enabled against the team's policy. The specific problem here is that generation and execution were treated as one automatically trusted step.