Exam GH-600 Topic 1 Question 52 Discussion

Actual exam question for Microsoft's GH-600 exam
Question #: 52
Topic #: 1
Your company uses GitHub Copilot Enterprise.
Developers use GitHub Copilot agent mode in Microsoft Visual Studio Code on their laptops and Copilot Chat on github.com when they are away from their laptops.
When switching between environments, the developers notice that agent workflows lose continuity because the tools available in Visual Studio Code are unavailable on github.com.
You need to ensure that the agent tools and state are available consistently across environments and can be used from any device without local setup.
What should you do for each requirement? To answer, drag the appropriate actions to the correct requirements.

Suggested Answer:


Explanation:
Requirement
Action
To allow cross-device tool access without local setup
Use a GitHub-hosted Model Context Protocol (MCP) server for cloud-based workflows.
To enable organization-wide agent tools across all Copilot environments Enable the MCP servers in Copilot policy.
A GitHub-hosted MCP server provides cloud-based tools that are not dependent on a developer's local Visual Studio Code installation. This enables the same service capability to be used from github.com and from supported development environments without requiring each device to run or configure a local server.
Enabling MCP servers through Copilot policy establishes organization-wide governance over which MCP capabilities are available. This is the appropriate administrative control when the organization needs consistent access across Copilot environments.
Running an MCP server in Docker can support local development, but it does not satisfy the requirement for access from any device without local setup. Changing a Copilot mode affects interaction behavior rather than tool availability. Restricting toolsets can reduce exposure, but it does not make an MCP server available across environments.
Study-guide topics: MCP hosting, cross-environment tools, organizational policy, and agent portability.
Topic 1, GitHub Environment
Existing Environment - GitHub Environment - The GitHub environment contains the following: Three repositories named product-api, billing-service, and infra-terraform. Branch protection on the main branch in all repositories that requires at least one pull request review before merging GitHub Actions runners used across all workflows A GitHub team named SG_Dev that contains developers A GitHub team named SG_Review that contains senior engineers and a security team A .github/copilot-instructions.md file that includes general coding conventions for all features Agent environment - The product-api repository uses a GitHub Copilot coding agent named agent1 that has the following configurations: No custom agent profile is defined. A Model Context Protocol (MCP) server named MCP1 is deployed to https://mcp.litwareinc.internal and provides access to internal ticketing and deployment APIs. MCP1 requires an API key for authentication.
A second Copilot coding agent named agent2 handles changes in infra-terraform and runs in parallel with agent1 when both agents have open assigned issues. Copilot memory is NOT enabled for the organization.
Problem Statements - Litware identifies the following issues: During two recent sessions, agent1 accessed files in billing-service, which is outside the agent ' s intended scope. agent1 makes code changes immediately after receiving a task. A developer named Ben, who is on the SG_Dev team, reports that agent1 completed a session with a successful status and opened a pull request, but the pull request contains no file changes. Other developers report this intermittently as well. Both agent1 and agent2 modified shared/config.yaml in a parallel test run, generating conflicting outputs. agent1 consistently uses raw try-catch blocks for error handling, which violates the defined implementation guidelines of SG_Dev. Requirements - Planned Changes - Litware plans to make the following changes: Ensure that agent1 can access all the tools in the environment. Provide product-api with specific instructions to agent1 without affecting Copilot Chat or Copilot code review.
Configure MCP1 as a tool for agent1 by modifying the product-api repository MCP configuration. Ensure that Copilot retains details that it has learned and uses that knowledge for future work. This must be applied to all licensed members of the organization. Implementation guidelines - The development team at Litware identifies the following implementation guidelines: Agent workflows must be able to run in parallel.
Application error handling must use the repository ErrorHandler class. agent1 and agent2 must run on isolated branches during parallel execution. File-level conflicts must be detected before merges, and both agents must be able to run concurrently. Security requirements - Litware identifies the following security requirements:
Only the members of SG_Review must be able to approve agent1 plan outputs. All API keys must be stored and accessed securely. The developers must NOT be able to self-approve. Agent configuration -

by Calvin at Nov 03, 2026, 10:09 PM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

0
0
0
10