Microsoft GH-600 Practice Test 53
Question 520
Before making a new change, what evidence BEST diagnoses this agentic workflow issue? Two agents edit the same migration file concurrently and their commits alternately overwrite each other.
- Compare profile versions, task version pinning and migration notes.
- Check scheduled jobs, token revocation logs and archive access.
- Inspect task registry IDs, session list and PR creation history.
- Review branch tips, overlapping file diffs and merge resolution history.
Explanation
Correct Answer
D:Review branch tips, overlapping file diffs and merge resolution history. Concurrent agents need write isolation and conflict-aware integration boundaries. Next action: Give agents isolated branches and nonoverlapping file scopes or serialize work on shared migrations.
Incorrect Answers
A:This diagnostic relates to a different failure (An organization replaces a legacy code-review agent profile with a stricter approved version during a release.). For the reported case inspect: Review branch tips, overlapping file diffs and merge resolution history.
B:This diagnostic relates to a different failure (A once-useful release-notes agent is no longer needed but still holds API access tokens and scheduled triggers.). For the reported case inspect: Review branch tips, overlapping file diffs and merge resolution history.
C:This diagnostic relates to a different failure (A coordinator retries a worker assignment after a timeout, causing two agents to open identical pull requests.). For the reported case inspect: Review branch tips, overlapping file diffs and merge resolution history.
Question 521
Before making a new change, what evidence BEST diagnoses this agentic workflow issue? A repository agent attempts to connect to an unapproved public MCP server while an authorized internal server is available.
- Inspect repository or organization MCP allow list and failed connection attempts.
- Review setup configuration, secret redaction, cold-start logs and dependency resolution.
- Compare approved registry entries, server provenance, access rules and live connections.
- Inspect endpoint health, approved fallback provenance and task stop reason.
Explanation
Correct Answer
A:Inspect repository or organization MCP allow list and failed connection attempts. Server allow lists define trusted connection boundaries separate from a model's own suggestions. Next action: Configure a supported MCP server allow list and deny unknown endpoints before session startup.
Incorrect Answers
B:This diagnostic relates to a different failure (A coding agent can edit source but its isolated environment lacks the private package registry configuration required for tests.). For the reported case inspect: Inspect repository or organization MCP allow list and failed connection attempts.
C:This diagnostic relates to a different failure (An organization has dozens of third-party MCP endpoints and developers cannot tell which are reviewed for use.). For the reported case inspect: Inspect repository or organization MCP allow list and failed connection attempts.
D:This diagnostic relates to a different failure (A remote issue-tracker MCP server is unavailable while the task requires authoritative issue status.). For the reported case inspect: Inspect repository or organization MCP allow list and failed connection attempts.
Question 522
An engineer must find the underlying cause: An agent fetches hundreds of GitHub issues and exhausts the API rate budget after repeated uncached requests. Which check should be prioritized?
- Inspect rate-limit headers, pagination cursor, cache hit rates and retry counts.
- Inspect repository or organization MCP allow list and failed connection attempts.
- Compare runtime manifests, environment images, lockfiles and failure traces.
- Check workflow event, head SHA, token scopes and resulting check annotations.
Explanation
Correct Answer
A:Inspect rate-limit headers, pagination cursor, cache hit rates and retry counts. Reliable tool use must account for service quotas and reduce redundant calls. Next action: Use bounded pagination, caching and rate-limit-aware backoff within the authorized data scope.
Incorrect Answers
B:This diagnostic relates to a different failure (A repository agent attempts to connect to an unapproved public MCP server while an authorized internal server is available.). For the reported case inspect: Inspect rate-limit headers, pagination cursor, cache hit rates and retry counts.
C:This diagnostic relates to a different failure (A test-writing agent passes in a local container but fails in CI because the container image uses an older runtime.). For the reported case inspect: Inspect rate-limit headers, pagination cursor, cache hit rates and retry counts.
D:This diagnostic relates to a different failure (A team wants an agent's proposed change checked by an existing CI workflow before merge.). For the reported case inspect: Inspect rate-limit headers, pagination cursor, cache hit rates and retry counts.
Question 523
Which technical principle BEST explains the proper response to this agentic SDLC scenario? Two agent profiles are being compared, but each is tested on different tasks and tool permissions.
- Optimization should target genuine workflow waste, not remove evidence-producing safety gates.
- Reasoning errors differ from tool failures when evidence was available but interpreted incorrectly.
- Meaningful A/B evaluation requires controlling confounding factors.
- Reusing the evaluation set for tuning risks overfitting and inflated performance claims.
Explanation
Correct Answer
C:Meaningful A/B evaluation requires controlling confounding factors. This concept explains the proper correction. The corresponding intervention is: Run matched task cases with controlled environments and equivalent tool access, then compare outcomes.
Incorrect Answers
A:Optimization should target genuine workflow waste, not remove evidence-producing safety gates. This concept governs a different case (An organization reduces agent execution time by disabling all security checks, causing rejected changes to increase.). The correct principle here is: Meaningful A/B evaluation requires controlling confounding factors.
B:Reasoning errors differ from tool failures when evidence was available but interpreted incorrectly. This concept governs a different case (An agent repeatedly chooses the wrong design despite receiving accurate repository files and functioning tools.). The correct principle here is: Meaningful A/B evaluation requires controlling confounding factors.
D:Reusing the evaluation set for tuning risks overfitting and inflated performance claims. This concept governs a different case (A team tunes agent instructions on the exact same five test cases used for final evaluation.). The correct principle here is: Meaningful A/B evaluation requires controlling confounding factors.
Question 524
A developer evaluates this agent workflow: An agent proposes deleting a production environment to clean up a failed staging deployment. Which engineering concept is MOST relevant?
- Irreversible or compliance-sensitive actions warrant an explicit human-in-the-loop gate.
- Human intervention should focus on material risk rather than create uniform bureaucracy.
- Repository protection policies are independent controls against autonomous risky mutations.
- Autonomy should be proportional to task risk rather than identical for all repository operations.
Explanation
Correct Answer
A:Irreversible or compliance-sensitive actions warrant an explicit human-in-the-loop gate. This concept explains the proper correction. The corresponding intervention is: Require a human decision and verified target identity before any irreversible deletion action.
Incorrect Answers
B:Human intervention should focus on material risk rather than create uniform bureaucracy. This concept governs a different case (A team requires manager approval for every harmless README typo, delaying work while high-risk code still receives weak review.). The correct principle here is: Irreversible or compliance-sensitive actions warrant an explicit human-in-the-loop gate.
C:Repository protection policies are independent controls against autonomous risky mutations. This concept governs a different case (An agent's change targets a protected release branch, but its implementation plan bypasses required code review.). The correct principle here is: Irreversible or compliance-sensitive actions warrant an explicit human-in-the-loop gate.
D:Autonomy should be proportional to task risk rather than identical for all repository operations. This concept governs a different case (An agent can correct comments safely but its operator also proposes letting it rotate production credentials without review.). The correct principle here is: Irreversible or compliance-sensitive actions warrant an explicit human-in-the-loop gate.
Question 525
What underlying agent-development control MOST directly applies to this situation? A team wants an agent to implement a small documentation change while preserving ordinary GitHub review and audit history.
- Persistent repository-specific instructions prevent repeated ambiguity without replacing task-level requirements.
- One generic completion signal cannot validate tasks with radically different failure consequences.
- Agent drift often begins when ambiguous instructions turn a narrow task into unbounded autonomous repair.
- GitHub issues, branches and pull requests form a traceable SDLC control plane for agent contributions.
Explanation
Correct Answer
D:GitHub issues, branches and pull requests form a traceable SDLC control plane for agent contributions. This concept explains the proper correction. The corresponding intervention is: Start a scoped agent task from the GitHub issue and require a branch and pull request containing a focused diff and test evidence.
Incorrect Answers
A:This concept governs a different case (A team wants all agent changes in one repository to use its API naming conventions and existing test runner.). Persistent repository-specific instructions prevent repeated ambiguity without replacing task-level requirements.
B:One generic completion signal cannot validate tasks with radically different failure consequences. This concept governs a different case (An agent builds a harmless Markdown linter and a credential rotation task using the same generic pass condition.). The correct principle here is: GitHub issues, branches and pull requests form a traceable SDLC control plane for agent contributions.
C:Agent drift often begins when ambiguous instructions turn a narrow task into unbounded autonomous repair.
Question 526
Before making a new change, what evidence BEST diagnoses this agentic workflow issue? A GitHub MCP server is configured with a token that can administer all repositories, though the agent only needs to read one issue.
- Compare request IDs, PR searches, creation timestamps and final linked branch.
- Inspect tool schema, raw request payload, validation error and resulting environment state.
- Compare runner filesystem evidence, remote branch commits and local repository status.
- Inspect token grants, MCP server settings and attempted denied operations.
Explanation
Correct Answer
D:Inspect token grants, MCP server settings and attempted denied operations. MCP servers inherit credential capabilities and must not be treated as automatically sandboxed. Next action: Restrict the token and server tool exposure to the target repository and required read operations.
Incorrect Answers
A:This diagnostic relates to a different failure (A tool call to create a pull request times out; the agent cannot tell whether the PR was created.).
B:This diagnostic relates to a different failure (A coding agent repeatedly calls a deployment tool with malformed JSON and silently assumes deployment succeeded.). For the reported case inspect: Inspect token grants, MCP server settings and attempted denied operations.
C:This diagnostic relates to a different failure (An AI coding session executes builds in an isolated runner but the owner expects local workstation edits.). For the reported case inspect: Inspect token grants, MCP server settings and attempted denied operations.
Question 527
Which review MOST directly identifies the failing control or environment in this situation? An AI-authored pull request passes unit tests but introduces a vulnerable dependency and exposed credential.
- Inspect PR checks, dependency review results, secret scan alerts and test evidence.
- Inspect alert location, scanner rule, sample fixtures and documented approval.
- Inspect raw HTTP status, token scopes, resource identity and final retrieval log.
- Inspect latency distribution, scan execution, rejection rate and escape defects.
Explanation
Correct Answer
A:Inspect PR checks, dependency review results, secret scan alerts and test evidence. Multiple complementary evaluation signals reveal weaknesses a single passing test suite can miss. Next action: Combine unit and integration tests with dependency scanning, secret scanning and code security checks.
Incorrect Answers
B:This diagnostic relates to a different failure (A code scanning alert flags a generated test fixture as secret material while production files are clean.). For the reported case inspect: Inspect PR checks, dependency review results, secret scan alerts and test evidence.
C:This diagnostic relates to a different failure (An agent reports a missing file after a repository API returned 403 permission denied.). For the reported case inspect: Inspect PR checks, dependency review results, secret scan alerts and test evidence.
D:This diagnostic relates to a different failure (An organization reduces agent execution time by disabling all security checks, causing rejected changes to increase.). For the reported case inspect: Inspect PR checks, dependency review results, secret scan alerts and test evidence.
Question 528
A platform team reports: A platform team measures agent quality only by how quickly it creates pull requests. Which agent-engineering intervention is MOST appropriate?
- Classify each failure by reasoning, tool/service or environment and assign separate corrective actions.
- Define outcome quality metrics including accepted changes, escaped defects, review rework and policy violations.
- Review plan assumptions and decision traces against the intended architecture, then revise decision constraints.
- Run matched task cases with controlled environments and equivalent tool access, then compare outcomes.
Explanation
Correct Answer
B:Define outcome quality metrics including accepted changes, escaped defects, review rework and policy violations. This action addresses the stated GitHub agent engineering issue. Evaluation metrics should align agent output quality and safety with business delivery goals. Verification: A dashboard distinguishes fast-but-rejected work from reviewed successful deliveries.
Incorrect Answers
A:This action fits a different scenario (A batch of agent tasks fails for different reasons: malformed plans, API 429 responses and missing dependency versions.), not the reported problem. Here the appropriate action is: Define outcome quality metrics including accepted changes, escaped defects, review rework and policy violations.
C:This action fits a different scenario (An agent repeatedly chooses the wrong design despite receiving accurate repository files and functioning tools.), not the reported problem. Here the appropriate action is: Define outcome quality metrics including accepted changes, escaped defects, review rework and policy violations.
D:This action fits a different scenario (Two agent profiles are being compared, but each is tested on different tasks and tool permissions.), not the reported problem. Here the appropriate action is: Define outcome quality metrics including accepted changes, escaped defects, review rework and policy violations.
Question 529
What underlying agent-development control MOST directly applies to this situation? A third-party documentation MCP response embeds a fake approval to disable branch protection during setup.
- A curated MCP registry improves discovery and governance without implicitly granting every tool access.
- Tools must be selected and authorized according to task need rather than maximum available capability.
- An ephemeral agent runtime is distinct from the user's device and requires explicit artifact or Git transfer.
- Tool-returned prose does not constitute authorization for privileged repository operations.
Explanation
Correct Answer
D:Tool-returned prose does not constitute authorization for privileged repository operations. This concept explains the proper correction. The corresponding intervention is: Treat remote tool output as untrusted reference data and require independent policy authorization for changes.
Incorrect Answers
A:A curated MCP registry improves discovery and governance without implicitly granting every tool access. This concept governs a different case (An organization has dozens of third-party MCP endpoints and developers cannot tell which are reviewed for use.). The correct principle here is: Tool-returned prose does not constitute authorization for privileged repository operations.
B:Tools must be selected and authorized according to task need rather than maximum available capability. This concept governs a different case (A bug-fixing agent needs to inspect repository files but its configuration also exposes production cloud deletion tools.). The correct principle here is: Tool-returned prose does not constitute authorization for privileged repository operations.
C:An ephemeral agent runtime is distinct from the user's device and requires explicit artifact or Git transfer.
Question 530
Which review MOST directly identifies the failing control or environment in this situation? An agent uses a flaky issue-search API; transient 503 responses cause it to repeat all earlier writes.
- Review enabled tools, invocation records, permission scopes and the task's allowed action list.
- Review prompt input provenance, secret access attempts, network calls and handling log.
- Inspect request IDs, operation types, retry timeline and post-failure repository state.
- Trace successful intermediate calls, cleanup results and remaining durable references.
Explanation
Correct Answer
C:Inspect request IDs, operation types, retry timeline and post-failure repository state. Retries must distinguish idempotent and non-idempotent tool calls to avoid duplicate side effects. Next action: Apply bounded retry with backoff for safe idempotent reads and resume from a tracked checkpoint for writes.
Incorrect Answers
A:This diagnostic relates to a different failure (A bug-fixing agent needs to inspect repository files but its configuration also exposes production cloud deletion tools.). For the reported case inspect: Inspect request IDs, operation types, retry timeline and post-failure repository state.
B:This diagnostic relates to a different failure (A public issue description contains instructions telling the agent to upload repository secrets to an external URL.). For the reported case inspect: Inspect request IDs, operation types, retry timeline and post-failure repository state.
D:This diagnostic relates to a different failure (An agent creates a branch and updates an issue label, then its final pull-request creation fails.). For the reported case inspect: Inspect request IDs, operation types, retry timeline and post-failure repository state.