Microsoft GH-600 Practice Test 32
Question 310
Which review MOST directly identifies the failing control or environment in this situation? Two agents update the same design decision document with incompatible API contracts.
- Inspect memory contents, tenant filters, secret scans and retention deletion tests.
- Inspect transition log, required gate fields and rejection results.
- Inspect retained context summaries, artifact references and decision coverage.
- Inspect decision version IDs, competing edits, reconciliation note and downstream contract tests.
Explanation
Correct Answer
D:Inspect decision version IDs, competing edits, reconciliation note and downstream contract tests. Shared memory without version control can cause silent context conflicts. Next action: Use versioned authoritative state and require conflict resolution against the latest approved decision before continuing.
Incorrect Answers
A:This diagnostic relates to a different failure (An agent stores customer account identifiers and API tokens in an unrestricted vector memory service.). For the reported case inspect: Inspect decision version IDs, competing edits, reconciliation note and downstream contract tests.
B:This diagnostic relates to a different failure (An agent controller records tasks only as started or complete, hiding review holds and partial failures.). For the reported case inspect: Inspect decision version IDs, competing edits, reconciliation note and downstream contract tests.
C:This diagnostic relates to a different failure (A support agent carries hundreds of obsolete build logs into every new task and starts ignoring the current requirement.). Inspect retained context summaries, artifact references and decision coverage.
Question 311
Which measurable outcome demonstrates that the following agent issue is resolved? A repository issue asks an agent to redesign authentication and billing in one task with no boundaries or acceptance tests.
- A new worker resumes on the correct commit and does not repeat already completed fixes or hide deferred tests.
- Each pull request implements one approved change and its targeted automated tests pass without unrelated billing edits.
- The agent's branch changes only test code while database migration remains gated by a separate risk review.
- The action log references approved plan steps and shows no unplanned dependency upgrade.
Explanation
Correct Answer
B:Each pull request implements one approved change and its targeted automated tests pass without unrelated billing edits. The corrective action is: Split the issue into independently reviewable tasks with explicit in-scope files, interfaces and acceptance criteria before delegation.
Incorrect Answers
A:This outcome is relevant to another case (A long coding session ends before completion and the next agent cannot reconstruct why two tests were intentionally deferred.). For the stated scenario verify: Each pull request implements one approved change and its targeted automated tests pass without unrelated billing edits.
C:This outcome is relevant to another case (A backlog contains a precise unit-test addition and a high-risk unsupervised production database migration.). For the stated scenario verify: Each pull request implements one approved change and its targeted automated tests pass without unrelated billing edits.
D:This outcome is relevant to another case (An autonomous agent promises a detailed plan but commits files before recording why a dependency should change.). For the stated scenario verify: Each pull request implements one approved change and its targeted automated tests pass without unrelated billing edits.
Question 312
A developer evaluates this agent workflow: A feature agent repeatedly rewrites unrelated modules after discovering a flaky unrelated test. Which engineering concept is MOST relevant?
- Structured plans support consistent human review and downstream orchestration decisions.
- Agent drift often begins when ambiguous instructions turn a narrow task into unbounded autonomous repair.
- Planning should be separable from action so a human can detect bad assumptions before filesystem changes.
- GitHub issues, branches and pull requests form a traceable SDLC control plane for agent contributions.
Explanation
Correct Answer
B:Agent drift often begins when ambiguous instructions turn a narrow task into unbounded autonomous repair. This concept explains the proper correction. The corresponding intervention is: Define a scope guard that stops for owner review when root-cause work would exceed the approved issue boundary.
Incorrect Answers
A:Structured plans support consistent human review and downstream orchestration decisions. This concept governs a different case (A team cannot compare agent implementation plans because every agent outputs a different free-form narrative.). The correct principle here is: Agent drift often begins when ambiguous instructions turn a narrow task into unbounded autonomous repair.
C:Planning should be separable from action so a human can detect bad assumptions before filesystem changes.
D:GitHub issues, branches and pull requests form a traceable SDLC control plane for agent contributions.
Question 313
After the recommended fix, which observation MOST convincingly proves success? A Copilot cloud agent is assigned a repository task but tries to modify code in a second repository in the same session.
- The agent writes only to its selected repository branch, with any cross-repo work tracked in another approved task.
- Agents select cataloged tools with accountable owners instead of arbitrary unreviewed endpoints.
- Both branch histories remain independently auditable and no pushed commit disappears.
- Read and authorized label updates succeed, while unrelated repository administration remains denied.
Explanation
Correct Answer
A:The agent writes only to its selected repository branch, with any cross-repo work tracked in another approved task. The corrective action is: Split work into separately authorized repository-scoped tasks and coordinate through reviewed interface changes.
Incorrect Answers
B:This outcome is relevant to another case (An organization has dozens of third-party MCP endpoints and developers cannot tell which are reviewed for use.). For the stated scenario verify: The agent writes only to its selected repository branch, with any cross-repo work tracked in another approved task.
C:This outcome is relevant to another case (Two agent sessions commit to the same feature branch and overwrite each other's generated patches.). For the stated scenario verify: The agent writes only to its selected repository branch, with any cross-repo work tracked in another approved task.
D:This outcome is relevant to another case (A remote GitHub MCP integration can list issues but cannot update labels despite the user requesting label triage.). For the stated scenario verify: The agent writes only to its selected repository branch, with any cross-repo work tracked in another approved task.
Question 314
Before making a new change, what evidence BEST diagnoses this agentic workflow issue? An orchestration controller crashes after two agents finish and one is still executing, losing temporary coordination memory.
- Inspect task ledger, active sessions, PR list and recovery decisions.
- Compare reviewer findings, permissions, audit evidence and final adjudication.
- Inspect task assignments, changed-file ownership and integration review artifacts.
- Inspect delegation payload, retrieved file list and tool access trace.
Explanation
Correct Answer
A:Inspect task ledger, active sessions, PR list and recovery decisions. Orchestrator reliability depends on recoverable state beyond one process's memory. Next action: Restore durable task state and inspect current worker sessions before restarting only missing work.
Incorrect Answers
B:This diagnostic relates to a different failure (A security-review agent recommends disabling a workflow while an implementation agent says it is safe to enable.). Compare reviewer findings, permissions, audit evidence and final adjudication.
C:This diagnostic relates to a different failure (A repository change needs architecture analysis, implementation and documentation but agents duplicate each other's work.). For the reported case inspect: Inspect task ledger, active sessions, PR list and recovery decisions.
D:This diagnostic relates to a different failure (A main agent asks a specialist to inspect dependency security but inadvertently passes unrelated client secrets to its context.). For the reported case inspect: Inspect task ledger, active sessions, PR list and recovery decisions.
Question 315
Which TWO claims together describe the safe correction and measurable result? An agent's final summary says it updated an issue, but the issue has no change.
- Unsafe shortcut: Trust the agent's narrative regardless of missing mutation confirmations.
- Action: Inspect tool-call request and response traces, then reconcile actual GitHub issue history before marking complete.
- Action: Review plan assumptions and decision traces against the intended architecture, then revise decision constraints.
- Verification: Sensitivity to high-impact permission edits improves while harmless documentation changes remain fast.
- Verification: The issue label or comment exists with a traceable successful request and actor.
Explanation
Correct Answers
B:Action: Inspect tool-call request and response traces, then reconcile actual GitHub issue history before marking complete. This fixes the target workflow. External side-effect success should be grounded in tool responses and system-of-record evidence.
E:Verification: The issue label or comment exists with a traceable successful request and actor. This checks the intended result. External side-effect success should be grounded in tool responses and system-of-record evidence.
Incorrect Answers
A:Unsafe shortcut: Trust the agent's narrative regardless of missing mutation confirmations. This is neither an appropriate remediation nor valid evidence. External side-effect success should be grounded in tool responses and system-of-record evidence. Safer action: Inspect tool-call request and response traces, then reconcile actual GitHub issue history before marking complete.
C:Action: Review plan assumptions and decision traces against the intended architecture, then revise decision constraints. This action responds to a different problem (An agent repeatedly chooses the wrong design despite receiving accurate repository files and functioning tools.). For the target use: Inspect tool-call request and response traces, then reconcile actual GitHub issue history before marking complete.
D:Verification: Sensitivity to high-impact permission edits improves while harmless documentation changes remain fast. This evidence relates to another situation (An agent continuously labels every generated diff low risk despite repeated security-sensitive changes.). For the target verify: The issue label or comment exists with a traceable successful request and actor.
Question 316
What is the LEAST defensible response to this AI agent workflow problem? An agent fetches hundreds of GitHub issues and exhausts the API rate budget after repeated uncached requests.
- Rotate through unapproved credentials to evade provider rate limits.
- Require a reviewable PR and relevant automated checks before protected-branch merge.
- Preserve a timestamped approved handoff when an agent session ends.
- Choose supported GitHub configurations from current first-party documentation.
Explanation
Correct Answer
A:Rotate through unapproved credentials to evade provider rate limits. This shortcut bypasses the necessary constraint or makes the outcome unreliable. Reliable tool use must account for service quotas and reduce redundant calls. Safer action: Use bounded pagination, caching and rate-limit-aware backoff within the authorized data scope.
Incorrect Answers
B:Require a reviewable PR and relevant automated checks before protected-branch merge. This is an appropriate general safeguard, not the harmful shortcut. Changes should be traceable and validated before integration. Targeted remediation: Use bounded pagination, caching and rate-limit-aware backoff within the authorized data scope.
C:Preserve a timestamped approved handoff when an agent session ends. This is an appropriate general safeguard, not the harmful shortcut. Independent sessions need durable progress state. Targeted remediation: Use bounded pagination, caching and rate-limit-aware backoff within the authorized data scope.
D:Choose supported GitHub configurations from current first-party documentation. This is an appropriate general safeguard, not the harmful shortcut. Platform capabilities and preview status can change. Targeted remediation: Use bounded pagination, caching and rate-limit-aware backoff within the authorized data scope.
Question 317
An engineer must find the underlying cause: Two approved agents update the same lockfile with different compatible dependency versions from different baselines. Which check should be prioritized?
- Inspect lockfile conflicts, final install output and merged SHA tests.
- Inspect worker state ledger, branch statuses and integration gate decision.
- Review handoff file, response schema, auth constraints and integration tests.
- Inspect task ledger, active sessions, PR list and recovery decisions.
Explanation
Correct Answer
A:Inspect lockfile conflicts, final install output and merged SHA tests. Safe merge ordering and reconciliation matter even when separate workers make individually valid changes. Next action: Choose an integration order, rebase the second branch and rerun dependency resolution and tests on the combined state.
Incorrect Answers
B:This diagnostic relates to a different failure (A manager agent loses track of which three workers have completed checks and merges the task early.). For the reported case inspect: Inspect lockfile conflicts, final install output and merged SHA tests.
C:This diagnostic relates to a different failure (A backend worker tells a frontend worker only that the API is done, omitting authentication and error response rules.). Review handoff file, response schema, auth constraints and integration tests.
D:This diagnostic relates to a different failure (An orchestration controller crashes after two agents finish and one is still executing, losing temporary coordination memory.). Inspect task ledger, active sessions, PR list and recovery decisions.
Question 318
Which technical principle BEST explains the proper response to this agentic SDLC scenario? A main agent asks a specialist to inspect dependency security but inadvertently passes unrelated client secrets to its context.
- Subagents benefit from isolated context when inputs and tools are constrained to their mandate.
- Partial worker failure needs targeted recovery and honest aggregate status.
- Operational multi-agent supervision requires time-series signals as well as final artifacts.
- Explicit delegation prevents duplicated effort and makes handoffs and accountability testable.
Explanation
Correct Answer
A:Subagents benefit from isolated context when inputs and tools are constrained to their mandate. This concept explains the proper correction. The corresponding intervention is: Delegate only task-relevant files and authorized permissions to a separated specialist context.
Incorrect Answers
B:Partial worker failure needs targeted recovery and honest aggregate status. This concept governs a different case (A documentation agent fails mid-run while two implementation agents complete their code changes.). The correct principle here is: Subagents benefit from isolated context when inputs and tools are constrained to their mandate.
C:Operational multi-agent supervision requires time-series signals as well as final artifacts. This concept governs a different case (An agent manager reports that five workers are progressing but cannot explain why one branch has had no commits for hours.). The correct principle here is: Subagents benefit from isolated context when inputs and tools are constrained to their mandate.
D:Explicit delegation prevents duplicated effort and makes handoffs and accountability testable. This concept governs a different case (A repository change needs architecture analysis, implementation and documentation but agents duplicate each other's work.). The correct principle here is: Subagents benefit from isolated context when inputs and tools are constrained to their mandate.
Question 319
Consider an AI agent in the GitHub software development lifecycle: Two agents are asked to build an API and its client but disagree about request field names and error semantics. What is the BEST next action?
- Assign implementation and review to distinct actors with separate permissions and a required human merge decision.
- Agree on a versioned request and response contract with example payloads and contract tests before assigning implementation branches.
- Delegate the bounded unit-test addition to the coding agent and reserve the production migration for human-led planning and safeguards.
- Write a handoff packet with task objective, base SHA, files changed, commands run, remaining failures and next steps.
Explanation
Correct Answer
B:Agree on a versioned request and response contract with example payloads and contract tests before assigning implementation branches. This action addresses the stated GitHub agent engineering issue. Explicit inputs, outputs and machine-checkable contracts reduce hidden assumptions between delegated tasks. Verification: Server and client pass the same contract fixtures and error cases without last-minute incompatible renaming.
Incorrect Answers
A:This action fits a different scenario (A shared agent is simultaneously asked to implement code and independently approve its own security review.), not the reported problem. Here the appropriate action is: Agree on a versioned request and response contract with example payloads and contract tests before assigning implementation branches.
C:This action fits a different scenario (A backlog contains a precise unit-test addition and a high-risk unsupervised production database migration.), not the reported problem. Here the appropriate action is: Agree on a versioned request and response contract with example payloads and contract tests before assigning implementation branches.
D:This action fits a different scenario (A long coding session ends before completion and the next agent cannot reconstruct why two tests were intentionally deferred.), not the reported problem. Here the appropriate action is: Agree on a versioned request and response contract with example payloads and contract tests before assigning implementation branches.
Question 320
Which review MOST directly identifies the failing control or environment in this situation? Three agent tasks modify the same generated client, and they start concurrently before the API schema is finalized.
- Validate sample plans against the agreed schema and review missing assumptions.
- Compare approved file globs, diff history, test failure provenance and escalation records.
- Compare task graph, base schema SHA, branch changes and merged contract tests.
- Inspect repository tool scopes, attempted cross-repository calls and access review decisions.
Explanation
Correct Answer
C:Compare task graph, base schema SHA, branch changes and merged contract tests. Dependency-aware planning prevents parallel work from creating avoidable incompatible artifacts. Next action: Sequence schema approval before client generation and run only independent work in parallel.
Incorrect Answers
A:This diagnostic relates to a different failure (A team cannot compare agent implementation plans because every agent outputs a different free-form narrative.). For the reported case inspect: Compare task graph, base schema SHA, branch changes and merged contract tests.
B:This diagnostic relates to a different failure (A feature agent repeatedly rewrites unrelated modules after discovering a flaky unrelated test.). For the reported case inspect: Compare task graph, base schema SHA, branch changes and merged contract tests.
D:This diagnostic relates to a different failure (An issue requests a fix in one GitHub repository, but agent research references private code from a different organization.). For the reported case inspect: Compare task graph, base schema SHA, branch changes and merged contract tests.