Home / Microsoft / GH-600
Microsoft · GH-600

GH-600 Exam Practice Questions

GitHub Certified: Agentic AI Developer

GH-600 English PDF practice questions: 58 questions with answers and available explanations. Access covers this exam only. One-time payment; no automatic renewal.

Exam overview

For agentic AI developers implementing tools, memory, evaluation, multi-agent coordination and accountability controls.

Exam code
GH-600
Official exam / credential
GitHub Certified: Agentic AI Developer
Exam format
Proctored assessment; interactive items may be included
Exam duration
120 minutes
Official exam languages
English

Official exam languages and practice-question file languages are listed separately. Confirm the exam version and available languages when booking with the provider.

Official sources: Provider reference
Information checked: 2026-10-20

How to prepare for GH-600

Start with the provider’s current objectives as a checklist, then test whether you can explain each topic and apply it in a practical setting. Use the free sample questions as a diagnostic for finding the areas that need review.

  1. Attempt the question before opening its answer and explanation.
  2. For every missed question, verify the underlying concept with official documentation or hands-on practice instead of memorising an answer.
  3. Before booking, recheck the exam code, version and available test languages on the provider’s official page.

View the free sample questions · Build a PDF study plan

Supported languages

  • English
  • Simplified Chinese
Try before you buy

First 20 practice questions

This page shows free preview questions 6–10.

58 total questions

Questions follow the source order. Expand each answer to see its explanation.

Disclaimer: All questions on ExamPico are compiled from internet sources and are provided for study reference only.

Question 6

You have a repository that uses the GitHub Copilot coding agent and supports hooks stored under .github/hooks.
You need a Shell command to run automatically whenever an agent execution fails.
Which type of hook should you use?

  1. A. postToolUse
  2. B. sessionEnd
  3. C. errorOccurred
  4. D. agentStop
Show answer and explanation

Answer

C

Explanation

The errorOccurred hook runs automatically when an agent execution fails.

Question 7

You are about to start a complex refactoring task in the GitHub Copilot CLI.
Before Copilot makes any changes, you need to review and agree on the approach.
What should you do first?

  1. A. Start the Copilot CLI and specify the --agent=Task parameter.
  2. B. Start the Copilot CLI and specify the --allow-all parameter.
  3. C. From the Copilot CLI, switch to plan mode.
  4. D. From the Copilot CLI, run the /compact command.
Show answer and explanation

Answer

C

Explanation

Plan mode lets you review and agree on the approach before Copilot makes any changes.

Question 8

A team assigns an issue to the GitHub Copilot coding agent by using the following one-line description: Fix the login bug.
Copilot creates a pull request, but the pull request is missing changes and has an incorrect scope.
How should you resolve the issue?

  1. A. Enable Copilot memory.
  2. B. Update the Model Context Protocol (MCP) server rate limits.
  3. C. Add a clear description of the problem to the issue.
  4. D. Allocate more resources to copilot-setup-steps.yml.
Show answer and explanation

Answer

C

Explanation

A vague issue description leads to incorrect scope; add a clear problem description to the issue.

Question 9

Case study -
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section.

To start the case study -
To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs. When you are ready to answer a question, click the Question button to return to the question.

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 -
Question illustration
You need to configure agent1 to support the planned changes.
What should you do?

  1. A. Delete line 05 from the agent configuration.
  2. B. Add Use all available tools to the .github/copilot-instructions.md file.
  3. C. Add Use all available tools to the instructions in the agent configuration.
  4. D. Add the mcp-servers property to the agent configuration.
  5. E. In the agent configuration, replace line 05 with the following.05 tools: [].
Show answer and explanation

Answer

D

Explanation

Add the mcp-servers property to the agent configuration to expose MCP1 tools to agent1 without changing Copilot Chat or code review instructions.

Question 10

Case study -
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section.

To start the case study -
To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs. When you are ready to answer a question, click the Question button to return to the question.

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 -
Question illustration
You need to provide access to the API key of MCP1. The solution must meet the security requirements.
What should you do?

  1. A. Store the API key as a GitHub Codespaces user secret scoped to product-api.
  2. B. Store the API key as a secret in the Copilot environment of product-api by using a name prefix of COPILOT_MCP_, and then reference the variable name in the mcp.json configuration.
  3. C. In the product-api repository settings, add the API key directly to the .mcp/server.json file by using a plaintext apiKey field.
  4. D. In product-api, add the API key as a GitHub Actions encrypted secret and reference the secret by using ${{ secrets.KEY }} in the workflow YAML of agent1.
Show answer and explanation

Answer

B

Explanation

Store MCP API keys as Copilot environment secrets using the COPILOT_MCP_ prefix and reference them from mcp.json.

Downloads and personal use

  • Purchase this exam question set separately with 1, 3, 6 or 12 months of download access.
  • After payment confirmation, My Library shows the generation status. We will email you when your PDF is ready to download.
  • Download again during your term. Purchase a new term after expiry.
  • PDFs are licensed for personal study only and must not be resold or shared publicly.
  • Files already saved to your device are not remotely deleted when access expires.
How to choose your certification