Evaluation showed that Copilot CLI was using unrelated local notes when proposing refactors. A developer tries to reproduce the issue from a terminal session. Which change should you make first? Select one answer.
cd ~
copilot
# Prompt:
# Review ~/work/payments-service and update the agent memory so future PRs
# use the current retry policy and test commands.Choose an answer
Tap an option to check your answer.
Correct answer: Restart Copilot CLI from the repository root.
Why this is the answer
The issue states that Copilot CLI was using "unrelated local notes" when proposing refactors, implying it was operating outside the intended project context. Restarting Copilot CLI from the repository root (~/work/payments-service in this case) ensures that Copilot's context is correctly scoped to the project, preventing it from accessing unintended files from the broader home directory. Incorrect options: Adding repository variables for retry policy values is a configuration change, not a debugging step for incorrect context. Asking Copilot to remember all home-directory notes would exacerbate the problem by explicitly telling it to use more unrelated information. Opening a draft PR before changing memory is a workflow step that doesn't address the root cause of Copilot's incorrect contextual awareness.
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