Question 150
In a repository maintenance task, the following condition is confirmed: A corporate seat permits Copilot Chat but refuses CLI use. Which recommendation correctly handles the situation?
Explanation
Correct Answer
The choice "Check whether the organization's Copilot CLI policy is enabled" matches the requirement: A corporate seat permits Copilot Chat but refuses CLI use. Organization-level feature controls can separately gate CLI access. This is the best-supported approach under the stated constraint.
Incorrect Answers
The action "Change to the correct workspace and start a scoped session" is useful when A developer launches the CLI from the wrong repository root. Working-directory context affects files and commands available to the assistant. Under the stated condition A corporate seat permits Copilot Chat but refuses CLI use, instead choose "Check whether the organization's Copilot CLI policy is enabled". Organization-level feature controls can separately gate CLI access.
The alternative "Run copilot in the intended project directory" fits another situation: A newly installed standalone CLI needs to start an interactive session. The terminal-native application opens a task-oriented interactive interface. Here the condition is A corporate seat permits Copilot Chat but refuses CLI use; use "Check whether the organization's Copilot CLI policy is enabled" instead. Organization-level feature controls can separately gate CLI access.
The alternative "Inspect the files and confirm trust only for an appropriate workspace" addresses A session prompts whether to trust the current project directory. Trust decisions affect which repository content the assistant may use. It does not resolve A corporate seat permits Copilot Chat but refuses CLI use; the correct choice is "Check whether the organization's Copilot CLI policy is enabled". Organization-level feature controls can separately gate CLI access.