live chatMcAfee Secure sites help keep you safe from identity theft, credit card fraud, spyware, spam, viruses and online scams
Pass4Test 10%OFF Discount Code

Microsoft Developing in Agentic AI Systems - GH-600 Exam Questions

QUESTION NO: 1
You have a GitHub repository that uses GitHub Actions to run an autonomous agent job. The job summarizes a pull request and posts the summary as a pull request comment.
Your company stores required configuration values, such as JOB_NAME and RUNNER, as organization-level configuration variables and exposes them in workflows by using the vars context.
You discover that the agent job runs on push events and creates comments that are NOT tied to a pull request.
You need to ensure that the agent job runs only when the workflow run is triggered by a pull request. The solution must keep the job name and runner selection configured by using variables.
What should you do in the workflow?
Correct Answer: C
Explanation: Only visible for Pass4Test members. You can sign-up / login (it's free).
QUESTION NO: 2
You have a GitHub Actions workflow that starts multiple agent jobs in parallel.
You need to prevent two runs in the same job from executing simultaneously on the same branch. The solution must ensure, at most, one running instance and one pending instance per branch.
What should you add to the job?
Correct Answer: B
Explanation: Only visible for Pass4Test members. You can sign-up / login (it's free).
QUESTION NO: 3
You have a GitHub Copilot Enterprise subscription. Developers use Microsoft Visual Studio Code and GitHub Copilot.
The developers want to share a custom agent that can review code changes but cannot modify files.
You need to prevent the agent from modifying repository content and appearing in the agents dropdown.
How should you configure the YAML frontmatter for the agent? 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.
Correct Answer:
QUESTION NO: 4
You have a GitHub repository that uses the GitHub Copilot coding agent.
You need to complete the hooks configuration to meet the following requirements:
Tool usage must be evaluated before execution.
Build results must be logged after execution.
Tool usage must be logged after execution.
How should you complete the hooks configuration? To answer, drag the appropriate values to the correct targets.
Correct Answer:
QUESTION NO: 5
You have a GitHub Enterprise Cloud repository that uses the GitHub Copilot coding agent to implement changes by creating draft pull requests in a firewalled GitHub Actions environment.
Repository administrators add a Model Context Protocol (MCP) server configuration so that the agent can query an external system while it executes issues. The MCP server requires an API key, and the key must be provided to the MCP server as an environment variable when the server starts.
You create an environment secret named copilot_mcp_api_key that contains the API key.
You need to configure the repository to ensure that the MCP server receives the API key at runtime. The solution must ensure that only the intended secret is available to the MCP configuration.
What is the best option to use to achieve the goal?
Correct Answer: A
Explanation: Only visible for Pass4Test members. You can sign-up / login (it's free).
QUESTION NO: 6
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?
Correct Answer: C
Explanation: Only visible for Pass4Test members. You can sign-up / login (it's free).
QUESTION NO: 7
You have a GitHub repository that uses GitHub Copilot code review on pull requests.
You plan to add repository-wide code review guidance that will apply to all files.
You need Copilot code review to consistently apply the guidance during pull request reviews.
What should you do?
Correct Answer: D
Explanation: Only visible for Pass4Test members. You can sign-up / login (it's free).