Weekend Special Sale 75% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: sale75best

Free Microsoft GH-600 Practice Exam with Questions & Answers | Set: 2

Questions 11

You have a GitHub Enterprise Cloud repository that uses the GitHub Copilot coding agent to resolve backlog issues by creating draft pull requests. The repository uses a GitHub Actions workflow for deployments to the production environment.

You discover that the workflow is being triggered before human review.

You need to configure GitHub controls to meet the following requirements:

    The workflow for the agent’s draft pull requests must NOT run until a user that has write access approves the pull requests.

    Production deployment jobs must start only after a user with write access explicitly approves the jobs.

Which controls should you configure? To answer, drag the appropriate controls to the correct requirements.

GH-600 Question 11

Options:
Microsoft GH-600 Premium Access
Questions 12

You need to resolve the issue of the agents generating conflicting output. The solution must meet the implementation guidelines.

What should you do?

Options:
A.

Configure each agent to work on a separate branch and add a required status check that detects file-level overlap before either pull request can be merged.

B.

Configure tools: [ ' read ' , ' search ' ] in both agent profiles to prevent either agent from writing files.

C.

Add shared/config.yaml to a CODEOWNERS file that requires SG_Review approval before any changes can be merged.

D.

Configure a concurrency group on both agent workflows so that only one workflow runs at a time.

Questions 13

You are evaluating how agent1 will behave after you implement the planned changes.

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

NOTE: Each correct selection is worth one point.

GH-600 Question 13

Options:
Questions 14

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.

Questions 15

You need to provide access to the API key of MCP1. The solution must meet the security requirements.

What should you do?

Options:
A.

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.

B.

In the product-api repository settings, add the API key directly to the .mcp/server.json file by using a plaintext apiKey field.

C.

Store the API key as a GitHub Codespaces user secret scoped to product-api.

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.

Questions 16

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.