Limited-Time Offer: Enjoy 50% Savings! - Ends In 0d 00h 00m 00s Coupon code: 50OFF
Welcome to QA4Exam

Practice questions demo

GH-600 Exam Dumps and Practice Questions

Questions 1 to 5 of the 106-question GH-600 bank, each with its correct answer and an explanation. This is page 1 of 21.

1 / 21

Actual Microsoft GH-600 Exam Questions

Question 1

You have a GitHub Copilot Enterprise subscription.

Developers use Microsoft Visual Studio Code.

You need to configure an array of subagents that can be invoked by an agent.

What should you configure in the YAML frontmatter for the agent?

Correct answer: E

The agents frontmatter property defines the custom agents that the current agent can invoke as subagents. It establishes the delegation boundary for an orchestrator or other coordinating agent.

The tools property grants operational capabilities such as file access, terminal commands, MCP tools, or the agent invocation tool itself. It does not identify the specific custom-agent profiles available for delegation. The mcp-servers property configures external MCP servers; it does not define subagent membership.

Handoffs are user-facing transitions from one custom agent to another. They are useful for moving a conversation from planning to implementation but are not the configuration mechanism for an agent's available subagent array. The target field identifies an execution target or context and is unrelated to delegation membership.

For a reliable orchestration design, include only the required specialized agents in the agents list and ensure the parent agent has the appropriate agent-invocation capability.

Study-guide topics: subagent lists, delegation boundaries, orchestrator design, and multi-agent coordination.


Question 2

You have a GitHub Enterprise repository that runs an autonomous agent by using a GitHub Actions workflow. The workflow has the following jobs:

agent-run that generates trace.json and plan.md

review that waits for human approval before continuing

deploy that uses the outputs from agent-run

You need to make the files inspectable in the GitHub Actions UI and ensure that the files are available to the review and deploy jobs.

What should you do in the workflow?

Correct answer: D

Workflow artifacts provide the required combination of retained execution evidence and file transfer between jobs. The agent-run job uploads trace.json and plan.md, associating both files with the workflow run. Reviewers can access the resulting artifact through the run's GitHub Actions interface, while downstream jobs download it to their own execution environments.

This is necessary because separate jobs do not automatically share a local filesystem. Declaring a dependency establishes execution order but does not transfer the generated files. The review and deployment stages therefore need explicit artifact downloads in addition to their appropriate job dependencies.

Committing transient traces and plans introduces repository changes solely to transport run-specific evidence. A network share adds external infrastructure and does not directly satisfy the requirement for standard Actions artifact access. Dependency caching is intended for reusable inputs such as downloaded dependencies; it is not the appropriate mechanism for authoritative outputs from a particular agent run.

Artifacts preserve the plan and trace that informed the review, allowing subsequent deployment activity to use the corresponding files. Relevant curriculum topics are inspectable agent artifacts, observability, and human intervention.


Question 3

You use the GitHub Copilot CLI in a developer terminal.

You plan to use Copilot CLI programmatically to summarize recent commits.

You need to ensure that Copilot performs a low-risk, read-only action without granting Copilot broad write or execution capability.

Which Copilot CLI configuration should you use?

Correct answer: C

Option C is the intended answer because it grants a specific tool permission associated with Git rather than enabling every tool or allowing general file modification. The -p argument supplies the prompt programmatically, making the command suitable for a script that requests a summary of recent repository activity.

Option A grants unnecessarily broad tool access. Option B denies the Git capability needed to inspect commit history. Option D authorizes file-writing functionality, which is unrelated to producing a read-only summary.

The permission boundary nevertheless requires precise interpretation. Allowing Git is not inherently equivalent to enforcing read-only behavior: Git includes commands that modify files, repository state, and remote branches. A strict implementation should authorize only the required inspection commands, such as git log, using the permission-pattern syntax supported by the installed CLI version. The prompt should request summarization, but the prompt itself is not an access-control mechanism.

Therefore, C is the narrowest relevant selection among the supplied options, while command-specific restrictions are necessary to establish a genuinely read-only execution policy.

Relevant curriculum topics are selecting required tools, configuring tool permissions, and applying least privilege to agent execution.


Question 4

You need to make changes to repo1 to support the planned changes for the developers.

What should you modify?

Correct answer: B

The selected location is appropriate when the planned developer changes concern repository-defined custom agents. Files under .github/agents/ define reusable agent roles that can be stored and reviewed alongside the application code. Their .agent.md format combines YAML configuration with Markdown instructions describing the agent's responsibilities and expected behavior.

This arrangement allows the team to maintain specialized planning, implementation, and review roles consistently. Changes to an agent's instructions or configuration can pass through the repository's normal pull request process, providing a record of how the development workflow evolves.

The alternative locations serve different configuration purposes. .vscode/mcp.json configures MCP server connections for the workspace. .vscode/settings.json contains editor settings. Neither is the primary location for defining a repository's custom agent profile.

The question's planned changes are not reproduced in its supplied statement. Therefore, B is the source-selected answer under the custom-agent interpretation; a requirement specifically about MCP connectivity would require different configuration.

Study-guide topics: custom agent architecture, repository-scoped configuration, and version-controlled development workflows. Reference: VS Code---Custom agent file locations and structure.


Question 5

You have a GitHub Copilot coding agent named Orchestrator that runs a multi-phase workflow by using the following subagents:

Explorer gathers context by using read-only tools.

Modifier applies focused edits.

You are adding a new agent named Summarizer that generates a concise summary after modifications are complete. Summarizer includes the following YAML frontmatter:

---

name: Summarizer

description: Produce a concise summary of recent changes

tools: ['fetch']

user-invocable: false

disable-model-invocation: true

---

The Orchestrator agent lists all three agents in its agents property.

After adding the Summarizer agent, Orchestrator successfully runs Explorer and Modifier but fails to run Summarizer.

What is a possible cause of the failure?

Correct answer: D

D is the best answer among the available choices. The key detail is that Summarizer is explicitly listed in Orchestrator's agents property. Current VS Code agent orchestration behavior states that explicitly listing a custom agent in the parent's agents array overrides disable-model-invocation: true for that coordinator. Therefore, option A does not explain the failure in this scenario.

Likewise, user-invocable: false does not prohibit programmatic or subagent invocation. It merely prevents users from manually selecting that agent from the agent picker; this setting is commonly used specifically for worker agents that should only operate as subagents.

Option C is also incorrect because Summarizer's function is to produce a summary, not modify repository content. It therefore does not inherently require editing tools.

The agents property establishes which subagents the coordinator is permitted to invoke; it does not itself define the sequence of workflow transitions. Handoffs are the mechanism for defining explicit guided transitions between agents. If the workflow expects Summarizer to run as the next defined phase but no corresponding transition/invocation exists, the missing handoff can explain why execution stops after Modifier.

Study Guide Reference Topics: Orchestrate Multi-Agent Coordination; custom subagents; agents restrictions; agent invocation controls; sequential handoffs and workflow transitions.


Unlock all Microsoft GH-600 questions

Full exam access, validated answers, and unlimited practice with no download limits.