A developer asks Copilot CLI to assemble an audit package for a failed multi-agent run. The terminal session is started outside the repository, and the prompt asks Copilot to summarize downloaded artifacts and comment on the draft pull request. Which change should you make first? Select one answer.
cd ~/Downloads
copilot
# Prompt:
# Download the multi-agent workflow artifacts for run 857321,
# summarize planner, implementer, and reviewer outputs,
# create audit-summary.md, and post it to PR 42.
gh run download 857321 -n planner-audit -n implementer-audit -n reviewer-audit
cat planner-audit/* implementer-audit/* reviewer-audit/* > combined-agent-log.txt
copilot "summarize combined-agent-log.txt for audit review" > audit-summary.md
gh pr comment 42 --body-file audit-summary.mdChoose an answer
Tap an option to check your answer.
Correct answer: Start Copilot CLI inside the trusted repository.
Why this is the answer
The correct answer is to start Copilot CLI inside the trusted repository. Copilot CLI needs context from the repository to perform actions like commenting on a pull request (PR 42). When started outside the repository, it lacks the necessary Git context to identify the repository and the specific pull request. "Add workflowdispatch before downloading artifacts" is incorrect because workflowdispatch is a GitHub Actions trigger, not directly relevant to Copilot CLI's ability to interact with a PR from the local environment. "Post the summary as a review comment" is a potential subsequent action, but the immediate problem is Copilot CLI's lack of repository context. "Rerun the failed reviewer job first" might be a debugging step for the multi-agent run itself, but it doesn't address the issue of Copilot CLI's operational context for the requested actions.
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