A developer is using Copilot CLI while working in a repository. The issue includes a generated implementation plan, but no maintainer has approved it yet. The repository team requires the plan to be reviewed before any commands modify files, create commits, or prepare pull requests. What should the developer do first? Select one answer.
cd ~/work/api-service
copilot
# Prompt:
# Fix the failing tests from issue #184 and prepare the repository changes.
# Copilot response includes:
# git checkout -b copilot/fix-184
# npm test -- --updateSnapshot
# git add .
# git commit -m "Fix failing API tests"Choose an answer
Tap an option to check your answer.
Correct answer: Review and approve the plan before running commands.
Why this is the answer
The correct answer is to review and approve the plan before running commands. The problem states that the team requires the plan to be reviewed before any commands modify files or prepare pull requests. Running the commands without approval violates this policy and could lead to unintended changes or conflicts. Changing the branch name before committing is a valid Git operation but doesn't address the core requirement of plan approval. Running commands in a clean shell doesn't bypass the need for plan review; it just isolates the execution environment. Adding pull request validation after the commit is too late; the policy requires review before modifications or preparation for a pull request.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed