Microsoft Developing in Agentic AI Systems GH-600 Question # 7 Topic 1 Discussion
GH-600 Exam Topic 1 Question 7 Discussion:
Question #: 7
Topic #: 1
You need to resolve the issue of the agents generating conflicting output. The solution must meet the implementation guidelines.
What should you do?
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.
Separate branches isolate each agent’s proposed changes and allow the team to inspect them independently. Adding a required status check for file-level overlap detects conflicting modifications before either pull request is merged, preventing one agent’s work from silently overwriting another’s changes.
A read-only tool configuration prevents both agents from making required changes, so it avoids conflict by eliminating implementation capability rather than controlling it. CODEOWNERS approval adds review accountability for a specific file but does not automatically detect overlap between independent agent outputs. A single concurrency group serializes entire workflows and reduces throughput even where the agents work on unrelated files.
The selected solution maintains parallel development while creating a merge-time control for the actual risk: overlapping file changes. It also produces reviewable evidence of the overlap check in pull request status results.
Branch isolation does not eliminate semantic conflicts, such as incompatible API assumptions. Teams should therefore combine overlap detection with normal pull request review and integration testing.
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit