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

Posted by Lizette on Oct 01, 2026 at 12:19 PM

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?

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.

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


Get Premium GH-600 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
11 comments · newest first
MY
My
I think A is better for monitoring tasks.
MA
Madelyn 5 days ago
B is the way to go for live logs!
LA
Latonia 10 days ago
I thought --jq was for filtering, not live streaming?
AN
Antonio 15 days ago
Definitely B, it gives you the real-time output.
EV
Evette 20 days ago
Wait, can you really use --follow with view? Sounds odd.
FE
Felice 26 days ago
I think A is better for a quick overview.
JE
Jeannetta 1 month ago
B is the way to go for live logs!
MA
Marshall 1 month ago
I remember that `--jq` is for filtering output, but I don’t think it helps with live streaming. I’m leaning towards option B.
TI
Titus 1 month ago
I’m a bit confused about the options. I thought `--web` was for viewing in a browser, but I can't recall if that applies here.
AN
Angella 2 months ago
I practiced a similar question where we had to monitor tasks, and I feel like `--follow` is the key for live streaming.
CO
Cortney 2 months ago
I think I remember something about using the `--log` parameter to see live output, but I'm not sure if it's with `view` or `list`.
0/2000 characters

Save Cancel