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

Microsoft Developing in Agentic AI Systems GH-600 Question # 6 Topic 1 Discussion

Microsoft Developing in Agentic AI Systems GH-600 Question # 6 Topic 1 Discussion

GH-600 Exam Topic 1 Question 6 Discussion:
Question #: 6
Topic #: 1

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

What should you do?


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.


Get Premium GH-600 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.