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 6 Question 2 Discussion

You have multiple GitHub Copilot coding agents that run tasks concurrently.You are monitoring the agents from the terminal by using the GitHub CLI.An agent appears stalled.You need to live stream the session log output.What should you do?
B) Run gh agent-task view and specify the --log and --follow parameters.
A) Run gh agent-task list and specify the --web parameter.
C) Run gh agent-task view and specify the --log and --jq parameters.
D) Run gh agent-task list and specify the --status and --jq parameters.

Microsoft GH-600 Exam - Topic 6 Question 2 Discussion

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

You have multiple GitHub Copilot coding agents that run tasks concurrently.

You are monitoring the agents from the terminal by using the GitHub CLI.

An agent appears stalled.

You need to live stream the session log output.

What should you do?

Show Suggested Answer Hide Answer
Suggested Answer: B

The gh agent-task view command supports inspecting an individual agent task. Combining --log with --follow selects session log output and continues following that output as the session progresses. The official CLI reference describes these flags as ''Show agent session logs'' and ''Follow agent session logs,'' respectively.

This combination is appropriate when an agent appears stalled because a task-level status alone cannot explain what the agent is currently doing. Following the log allows the operator to observe additional activity, identify the last reported operation, and distinguish ongoing execution from a task awaiting intervention.

The list command is useful for discovering tasks and obtaining an overview of concurrent activity. It does not replace following the detailed output of the relevant session. The --jq parameter filters structured JSON output; it does not provide the continuous log-following behavior requested here. Opening a browser with a web option also fails the terminal streaming requirement.

Viewing logs is an observational action. It does not itself restart, cancel, or unblock the agent.

Study-guide topics: monitoring concurrent agents, execution visibility, and troubleshooting. Reference: GitHub CLI---gh agent-task view.

===============


Contribute your Thoughts:

0/2000 characters

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


Save Cancel