GH-600 Exam Dumps & Practice Test
Developing in Agentic AI Systems Questions 7–11 (page: 7)

Updated On: 16-Nov-2026
View Related Case Study

DRAG DROP (Drag and Drop is not supported)
Your team uses a remote GitHub Model Context Protocol (MCP) server for workflows in the software development life cycle (SDLC).
You need to commit a workspace-scoped MCP configuration to ensure that GitHub Copilot can connect to the GitHub-hosted MCP endpoint and authenticate by using a GitHub personal access token (PAT).
How should you complete the mcp.json configuration file? To answer, drag the appropriate values to the correct targets. Each value may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
Note: Each correct selection is worth one point.
Select and Place:

  1. See Explanation section for answer.

Answer(s): A

Explanation:



Box 1: http
Type (http): The Model Context Protocol (MCP) configuration requires specifying the transport layer type. Since you are communicating via an API endpoint URL (https://...), the transport type is http (or in some implementations, standard variants like sse or streamable-http).
Box 2: Bearer
Authorization (Bearer ): GitHub's API endpoints authenticate Personal Access Tokens using the standard HTTP Bearer token schema. Note that a space is required between the word Bearer and the token variable itself.


Reference:

https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/configure-mcp-servers



View Related Case Study

DRAG DROP (Drag and Drop is not supported)
You have a GitHub repository that uses GitHub Actions for CI on pull requests.
You have a GitHub Copilot coding agent that opens pull requests for backlog items, and your company requires automated checks for agent-generated changes.
You plan to standardize success criteria so that pull requests created by agents only succeed when unit tests pass and CodeQL analysis completes.
You need to configure a GitHub Actions workflow that runs on pull requests, executes unit tests, and performs CodeQL analysis.
How should you complete the workflow? To answer, drag the appropriate values to the correct targets. Each value may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
Note: Each correct selection is worth one point.
Select and Place:

  1. See Explanation section for answer.

Answer(s): A

Explanation:



Box 1: npm test npm test (or mvn test, pytest, dotnet test depending on your language stack).
The run keyword requires a shell command to execute your test runner.
Box 2: init
The CodeQL workflow must initialize its database and environment before building code. The official action for this is github/codeql-action/init.
Box 3: analyze
After the code is prepared (and built if using a compiled language), the final step scans the codebase and uploads the SARIF results to GitHub Security. The official action is github/codeql-action/analyze.


Reference:

https://gitprotect.io/blog/github-actions-how-to-use-it-for-security-and-compliance-needs/



View Related Case Study

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?

  1. target
  2. handoffs
  3. mcp-servers
  4. agents
  5. tools

Answer(s): E

Explanation:

To orchestrate a multi-agent system using a GitHub Copilot Enterprise subscription in Visual Studio Code, you configure your coordinating (parent) agent and its subagents inside .agent.md files (typically stored in your repository's .github/agents/ directory).
To set up an array of subagents that the parent agent can invoke, you must include two specific fields in the parent agent's YAML frontmatter:
tools: You must explicitly enable the built-in subagent tool, agent/runSubagent (or simply agent), so the coordinator has the capability to spin up child tasks.
agents: An array list that explicitly defines which custom subagents the parent is authorized to invoke.
Parent Agent Configuration (.github/agents/orchestrator.agent.md)
---
name: Project Coordinator description: Main agent that orchestrates a multi-step workflow using subagents.
tools:
- "agent/runSubagent" # Enables the capability to invoke subagents
- "readfile" # (Optional) Any other tools the parent needs agents:
- "code-reviewer" # Matches the 'name' field of subagent 1
- "security-auditor" # Matches the 'name' field of subagent 2
---


Reference:

https://code.visualstudio.com/docs/agent-customization/custom-agents



View Related Case Study

You have a GitHub repository.
Developers use the GitHub Copilot CLI and repository-scoped hooks under .github/hooks/*.json.
You need to allow the Copilot CLI to automatically run low-risk Bash commands. The solution must prevent the autonomous execution of high-risk commands, such as sudo, rm -rf /, and curl ... | bash.
What should you do?

  1. Configure a userPromptSubmitted hook that logs prompts and exits nonzero.
  2. Add .github/hooks/logs/ to .gitignore.
  3. Configure a sessionStart hook that prints a policy banner.
  4. Configure a preToolUse hook that returns permissionDecision: "deny".

Answer(s): D

Explanation:

To safely restrict high-risk commands while allowing low-risk execution, you must configure a preToolUse hook that returns permissionDecision: "deny" when a restricted pattern is detected.
The preToolUse lifecycle hook executes immediately before GitHub Copilot CLI attempts to invoke any tool or execute a command. It evaluates the tool arguments and can programmatically intercept execution by writing a specific JSON payload to stdout. Returning {"permissionDecision": "deny"} explicitly instructs Copilot CLI to block the autonomous execution of that command.


Reference:

https://code.visualstudio.com/docs/agent-customization/hooks



View Related Case Study

You have a custom agent profile file named test-agent.agent.md that contains the following YAML frontmatter.

In the same repository, you have a JSON configuration file named mcp.json that contains the following content.

You need to ensure that the GitHub Model Context Protocol (MCP) server is available to test the agent. The solution must allow only the copilot toolset.
What should you do?

  1. In test-agent.agent.md, replace line 04 with the following. tools: ['tool-a', 'tool-b', 'github/copilot']
  2. In test-agent.agent.md, replace line 04 with the following. tools: ['copilot/*']
  3. In test-agent.agent.md, replace line 04 with the following. tools: ['tool-a', 'tool-b', 'github/*']
  4. In mcp.json, replace "servers": with mcp-servers:.

Answer(s): B

Explanation:

To ensure the GitHub Model Context Protocol (MCP) server is available while restricting the agent strictly to the copilot toolset, you need to update the tools array in your my-agent.agent.md file to include the GitHub MCP server's tools.
github/*: By using the wildcard syntax tied to the server name declared in your JSON configuration ("github"), you grant the agent access to all tools exposed by that specific GitHub MCP server.
Restricting Access: Removing 'tool-a' and 'tool-b' from the array ensures that only the copilot toolset provided by the GitHub MCP server is permitted during testing.


Reference:

https://docs.github.com/en/copilot/concepts/agents/cloud-agent/about-custom-agents



Viewing page 7 of 21
Viewing questions 31 - 35 out of 96 questions


Post your Comments and Discuss Microsoft GH-600 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!