A developer wants GitHub Copilot CLI to fix failing tests and leave reviewable files that a pull request workflow can upload as artifacts. They start the session from a generic downloads folder instead of the repository. Which change should you make first? Select one answer.
cd ~/Downloads
copilot
# Prompt:
# Fix the failing tests in the payment-service repository.
# Save the implementation plan, changed-file summary, and validation notes
# under agent-output/ so the pull request workflow can upload them.Choose an answer
Tap an option to check your answer.
Correct answer: Start in the trusted repository root.
Why this is the answer
Starting in the trusted repository root is crucial because GitHub Copilot CLI needs to operate within the context of the repository to access its files, understand the project structure, and make relevant changes. When Copilot is initiated from a generic downloads folder, it lacks the necessary context to identify the payment-service repository and its failing tests. Enabling remote control for Downloads is not relevant to Copilot's operational context. Requesting a terminal-only session transcript would only change the output format, not address the lack of repository context. Adding workflowdispatch is a GitHub Actions trigger and doesn't resolve Copilot's inability to locate and interact with the repository files from an incorrect starting directory.
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