Weekend Sale Limited Time 75% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: peak75

Microsoft GH-600 Developing in Agentic AI Systems Exam Practice Test

Page: 1 / 11
Total 106 questions

Developing in Agentic AI Systems Questions and Answers

Question 1

You have a GitHub repository that uses the GitHub Copilot coding agent to resolve issues in an ephemeral GitHub Actions environment.

Builds fail unless an environment variable named NPM_TOKEN is available, because the repository depends on a private package registry.

A workflow named .github/workflows/copilot-setup-steps.yml was added but was merged into a non-default branch and does NOT run when new agent sessions start.

You need to ensure that for every new agent session, the setup steps run, and the private registry token is available as NPM_TOKEN, without hardcoding secrets in the repository.

What should you do?

Options:

A.

Create an organization-level Actions secret named NPM_TOKEN and reference it from .github/copilot-instructions.md.

B.

Move .github/workflows/copilot-setup-steps.yml to the repository’s default branch and store the token as a GitHub Actions environment secret named NPM_TOKEN in the Copilot environment.

C.

Disable the agent’s integrated firewall and rename the workflow.

D.

Add the token directly under env: npm_token: in the workflow file.

Question 2

A developer uses the GitHub Copilot CLI in plan mode.

Copilot produces a plan.

What does Copilot do next?

Options:

A.

Opens a pull request that has the plan as a comment.

B.

Saves the plan to plan.md.

C.

Begins the implementation.

D.

Creates a branch named /copilot/plan in the repository.

Question 3

You have a GitHub Copilot coding agent that has completed a pull request for a security fix in your repository.

Before merging, you need to evaluate the quality of the agent’s work by using both automated evaluation signals and human review.

You review the session log and the pull request.

What are two automated security scanning signals available for the pull request? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

Options:

A.

Linting errors from the repository’s CI pipeline configured in GitHub Actions

B.

CodeQL findings that identify security vulnerabilities in the generated code

C.

The detection of hardcoded secrets, such as API keys and tokens

D.

Dependency alerts that identify vulnerable package versions in the repository

E.

The median time to merge metric reported on the Copilot usage metrics dashboard

Question 4

You have a GitHub Enterprise Cloud repository that uses GitHub Actions for CI and requires pull requests for all changes.

You are planning a GitHub Actions workflow where a coding agent drafts implementation changes and tests from GitHub issues, and an automated review runs before human review.

You need the agent to draft changes from an assigned issue, open a pull request, and add an automated review to the pull request before requesting a human review.

What should you do? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Question # 4

Options:

Question 5

In Microsoft Visual Studio Code, you are using GitHub Copilot Chat to generate documentation for a new feature.

Earlier in the day, you used Copilot Chat extensively for an unrelated refactoring task.

You discover that the Copilot responses for the new documentation task are influenced by the earlier conversation.

You need Copilot to focus only on the current task and avoid using prior conversational context. The solution must NOT affect other conversations.

What should you do?

Options:

A.

Clear the chat history of the current conversation.

B.

Change from sidebar chat to inline chat.

C.

Use @file to restrict the Copilot context to the currently open file.

D.

Start a new Copilot Chat conversation.

E.

Modify the Chat > Agent: Max Requests setting.

Question 6

You have a GitHub repository that uses the GitHub Copilot coding agent to run agent plans for assigned issues.

You discover that some issues contain ambiguous implementation steps.

You need to reduce the likelihood that Copilot executes plans based on ambiguous implementation steps.

What should you do?

Options:

A.

Add comments to the issues after assigning the issues to the agent.

B.

Add acceptance criteria and directions to the issues before assigning the issues to the agent.

C.

Add a copilot-setup-steps.yml file to preinstall dependencies in the agent environment.

D.

Mention @copilot in a pull request comment to request changes after the plan runs.

Question 7

You are running the GitHub Copilot CLI and want the agent to execute file edits and shell commands without prompting for confirmation on each individual action, during a trusted throwaway sandbox session. Which flag/command should you use?

Options:

A.

--allow-all

B.

/compact

C.

--agent=Task

Question 8

You have a GitHub Enterprise Cloud organization that uses the GitHub Copilot coding agent to resolve issues asynchronously.

When an issue is assigned to GitHub Copilot, the agent creates a draft pull request, but your team cannot always tell whether the agent is actively working, has completed its session, or is awaiting workflow approval.

Which execution context does each signal indicate? To answer, drag the appropriate context to the correct signals.

Question # 8

Options:

Question 9

You have the following agent logs.

Question # 9

Options:

Question 10

You have a GitHub repository that uses the GitHub Copilot coding agent and GitHub Copilot Chat.

You need to add a GitHub Actions workflow that meets the following requirements:

    Blocks merges unless agent changes are reviewed by a human.

    Fails if the pull request author is the Copilot coding agent.

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.

Question # 10

Options:

Question 11

You have a GitHub Enterprise Cloud organization that has Copilot agents enabled.

You discover activity in a repository.

You need to identify whether the activity was initiated by an agent.

Which two audit log fields can you use? Each correct answer presents a complete solution.

Options:

A.

agent_session_id

B.

user

C.

actor_is_agent

D.

action

Question 12

You are evaluating the logs of the multi-agent workflow in repo2.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.

NOTE: Each correct selection is worth one point.

Question # 12

Options:

Question 13

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

What should you modify?

Options:

A.

< project > /.mcp/server.json

B.

.vscode/settings.json

C.

.github/agents/*.agent.md

D.

.vscode/mcp.json

Question 14

You need to implement agent2 to meet the technical requirements.

How should you complete the YAML configuration? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

HOTSPOT

name: implementation-planner

description: Creates detailed implementation plans and technical specifications in markdown format

tools: [

< Dropdown 1 > ,

< Dropdown 2 > ,

' microsoftdocs/mcp/docs_search ' ,

' microsoftdocs/mcp/docs_fetch '

]

The accompanying image includes empty dropdown controls and recreated practice alternatives.

Question # 14

Options:

Question 15

You need to troubleshoot the issue reported by Dev1.

What should you review?

Options:

A.

The GitHub Actions usage metrics of repo1.

B.

The agent session log in the Agents panel.

C.

The GitHub Actions runner log for the session job.

D.

The GITHUB_TOKEN permissions block in the agent1 workflow.

Question 16

While upgrading App1, the agent identifies 47 issues, including a security vulnerability, and 46 API incompatibilities across different projects.

Which two actions are unsafe to delegate to the agent and require human involvement? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

Options:

A.

Generate the assessment.md file.

B.

Approve all Git commits.

C.

Validate whether the tasks.md file exists.

D.

Validate the assessment.md file for accuracy.

E.

Review the plan.md file for dependencies.

Question 17

After App1 is upgraded to meet the technical requirements, you need to validate the output.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.

NOTE: Each correct selection is worth one point.

Question # 17

Options:

Question 18

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

What should you modify?

Options:

A.

< project > /.mcp/server.json

B.

.github/agents/*.agent.md

C.

.vscode/mcp.json

D.

.vscode/settings.json

Question 19

Before App1 is upgraded, you need to verify each individual upgrade step and whether all tests have passed.

Which file should you use?

Options:

A.

< project > /.mcp/agent.md

B.

< project > /.github/plan.md

C.

< project > /.github/upgrades/{scenarioId}/assessment.md

D.

< project > /.github/upgrades/{scenarioId}/tasks.md

Question 20

You need to enable Copilot memory to support the planned changes.

What should you configure?

Options:

A.

The personal Copilot settings of each developer

B.

The Copilot settings of each repository

C.

The agent profile of agent1

D.

The Copilot settings of the organization

Question 21

You need to configure agent1 to support the planned changes.

What should you do?

Options:

A.

Add Use all available tools to the instructions in the agent configuration.

B.

Add the mcp-servers property to the agent configuration.

C.

In the agent configuration, replace line 05 with the following: tools: []

D.

Add Use all available tools to the .github/copilot-instructions.md file.

E.

Delete line 05 from the agent configuration.

Question 22

You need to resolve the scoping issue associated to agent1.

What should you do?

Options:

A.

To the profile of agent1, add a custom instruction specifying that the agent must NOT access billing-service or infra-terraform.

B.

Add a permissions block to the agent1 workflow in product-api.

C.

Create a fine-grained personal access token (PAT) scoped to product-api and store the PAT as a GitHub Actions secret for agent1 to use.

D.

Create a ruleset for billing-service and infra-terraform that blocks push access from the github-actions bot account.

Page: 1 / 11
Total 106 questions