Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft GH-600 Exam - Topic 1 Question 4 Discussion

An agentic coding session in the terminal has grown too long, and you want to discard all prior conversation history and start clean, without summarization. Which slash command should you run?
B) /clear
A) /compact
C) /reset-context
D) /usage

Microsoft GH-600 Exam - Topic 1 Question 4 Discussion

Actual exam question for Microsoft's GH-600 exam
Question #: 4
Topic #: 1
[All GH-600 Questions]

An agentic coding session in the terminal has grown too long, and you want to discard all prior conversation history and start clean, without summarization. Which slash command should you run?

Show Suggested Answer Hide Answer
Suggested Answer: B

The correct command is /clear. In GitHub Copilot CLI, /clear starts a fresh conversational state by removing the current chat history from the active session. This is the appropriate action when the requirement is to discard prior conversation context completely rather than compress or summarize it.

/compact is specifically designed for context management during long-running sessions. It summarizes older conversation history so that useful information can be retained while freeing context-window capacity. Because the question explicitly says ''without summarization,'' /compact does not satisfy the requirement.

/usage displays session consumption and usage information rather than modifying conversation state. /reset-context is not the standard slash command used for clearing Copilot CLI conversation history in this scenario.

The operational distinction is important in agentic workflows. Compaction preserves semantic continuity, while clearing abandons the prior conversational state and gives the agent a clean starting point. Clearing is therefore appropriate when accumulated context has become irrelevant, misleading, or overly large and you deliberately do not want previous reasoning, instructions, or task history carried forward.

Study Guide Reference Topics: Manage Memory, State, and Execution; conversation-state management; context-window control; session reset versus context compaction.


Contribute your Thoughts:

0/2000 characters

Currently there are no comments in this discussion, be the first to comment!


Save Cancel