Microsoft GH-600 Practice Test 27
Question 260
Which technical principle BEST explains the proper response to this agentic SDLC scenario? An organization has dozens of third-party MCP endpoints and developers cannot tell which are reviewed for use.
- Server allow lists define trusted connection boundaries separate from a model's own suggestions.
- Ambiguous network errors should trigger reconciliation before repeating mutating API calls.
- A curated MCP registry improves discovery and governance without implicitly granting every tool access.
- Structured tool contracts prevent ambiguous partial execution and false-positive completion claims.
Explanation
Correct Answer
C:A curated MCP registry improves discovery and governance without implicitly granting every tool access. This concept explains the proper correction. The corresponding intervention is: Publish approved MCP servers through a managed registry and document ownership, scopes and lifecycle review.
Incorrect Answers
A:Server allow lists define trusted connection boundaries separate from a model's own suggestions.
B:This concept governs a different case (A tool call to create a pull request times out; the agent cannot tell whether the PR was created.).
D:This concept governs a different case (A coding agent repeatedly calls a deployment tool with malformed JSON and silently assumes deployment succeeded.). Structured tool contracts prevent ambiguous partial execution and false-positive completion claims.
Question 261
Before making a new change, what evidence BEST diagnoses this agentic workflow issue? A code scanning alert flags a generated test fixture as secret material while production files are clean.
- Review acceptance fixtures, expected amounts and post-change test results.
- Inspect alert location, scanner rule, sample fixtures and documented approval.
- Inspect PR checks, dependency review results, secret scan alerts and test evidence.
- Inspect lockfile hashes, test scripts, runner image and run history.
Explanation
Correct Answer
B:Inspect alert location, scanner rule, sample fixtures and documented approval. Evaluation requires interpreting security findings rather than blindly counting alerts. Next action: Confirm the alert context, rule and fixture provenance; document a narrowly reviewed disposition if appropriate.
Incorrect Answers
A:This diagnostic relates to a different failure (An agent edits a tax calculator and reports success solely because the build passes.). For the reported case inspect: Inspect alert location, scanner rule, sample fixtures and documented approval.
C:This diagnostic relates to a different failure (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.
D:This diagnostic relates to a different failure (An agent passes its tests once but the result cannot be reproduced because dependency versions were not saved.). For the reported case inspect: Inspect alert location, scanner rule, sample fixtures and documented approval.
Question 262
Which technical principle BEST explains the proper response to this agentic SDLC scenario? A repository agent keeps recommending a deprecated dependency version from memory months after the upgrade policy changed.
- Durable checkpoints must be revalidated against changing external state before use.
- Short-term model context is not a durable source of project memory.
- Long-lived agent memory needs expiration and authority checks to prevent outdated choices.
- Context pruning should reduce noise without deleting authoritative state needed for a task.
Explanation
Correct Answer
C:Long-lived agent memory needs expiration and authority checks to prevent outdated choices. This concept explains the proper correction. The corresponding intervention is: Set time-to-live and freshness checks for stored dependency recommendations, then retrieve the current policy on use.
Incorrect Answers
A:Durable checkpoints must be revalidated against changing external state before use. This concept governs a different case (A paused agent resumes after main branch moved and applies patches against a now-obsolete dependency graph.). The correct principle here is: Long-lived agent memory needs expiration and authority checks to prevent outdated choices.
B:Short-term model context is not a durable source of project memory. This concept governs a different case (A coding agent forgets earlier decisions after a long session reaches its context limit.). The correct principle here is: Long-lived agent memory needs expiration and authority checks to prevent outdated choices.
D:Context pruning should reduce noise without deleting authoritative state needed for a task.
Question 263
An engineer must find the underlying cause: A main agent asks a specialist to inspect dependency security but inadvertently passes unrelated client secrets to its context. Which check should be prioritized?
- Inspect coordinator ledger, worker artifacts and resumed worker diff.
- Inspect denied scope, escalation record, approved grant and other worker states.
- Compare branch APIs, combined test failures and conflict resolution record.
- Inspect delegation payload, retrieved file list and tool access trace.
Explanation
Correct Answer
D:Inspect delegation payload, retrieved file list and tool access trace. Subagents benefit from isolated context when inputs and tools are constrained to their mandate. Next action: Delegate only task-relevant files and authorized permissions to a separated specialist context.
Incorrect Answers
A:This diagnostic relates to a different failure (A documentation agent fails mid-run while two implementation agents complete their code changes.). For the reported case inspect: Inspect delegation payload, retrieved file list and tool access trace.
B:This diagnostic relates to a different failure (A dependency-scanning worker cannot access a restricted registry and repeatedly requests wider permissions.). Inspect denied scope, escalation record, approved grant and other worker states.
C:This diagnostic relates to a different failure (Two agents independently change a function signature in incompatible ways, but both local branches pass tests.). For the reported case inspect: Inspect delegation payload, retrieved file list and tool access trace.
Question 264
A developer evaluates this agent workflow: A repository issue asks an agent to redesign authentication and billing in one task with no boundaries or acceptance tests. Which engineering concept is MOST relevant?
- Agent work is review-ready when outcomes and residual uncertainty are inspectable in standard development tooling.
- High-impact design transitions require distinct approval checkpoints before action, not just post-hoc review.
- Agent autonomy is more reliable when task scope, success criteria and handoff artifacts are explicit.
- A predictable development environment is a prerequisite for reproducible agent-generated code.
Explanation
Correct Answer
C:Agent autonomy is more reliable when task scope, success criteria and handoff artifacts are explicit. This concept explains the proper correction. The corresponding intervention is: Split the issue into independently reviewable tasks with explicit in-scope files, interfaces and acceptance criteria before delegation.
Incorrect Answers
A:This concept governs a different case (A PR authoring agent closes its task after writing code but omits tests, changed-file summary and remaining risks.). Agent work is review-ready when outcomes and residual uncertainty are inspectable in standard development tooling.
B:This concept governs a different case (An agent needs to rename a public API but the organization requires architects to approve breaking interfaces.). High-impact design transitions require distinct approval checkpoints before action, not just post-hoc review.
D:A predictable development environment is a prerequisite for reproducible agent-generated code. This concept governs a different case (A package upgrade agent fails immediately because the development environment does not install the required SDK.). The correct principle here is: Agent autonomy is more reliable when task scope, success criteria and handoff artifacts are explicit.
Question 265
Before making a new change, what evidence BEST diagnoses this agentic workflow issue? An agent repeatedly attempts forbidden deployment actions although its assigned task is documentation review.
- Inspect profile tool allow list, tool denial events and completed task artifacts.
- Review categorized traces, failed commands, HTTP codes and environment manifests.
- Inspect alert location, scanner rule, sample fixtures and documented approval.
- Inspect task assignment, runner variables, tool inventory and matched results.
Explanation
Correct Answer
A:Inspect profile tool allow list, tool denial events and completed task artifacts. Restricting tool exposure is a stronger guard than relying only on language instructions. Next action: Remove deployment tools from the agent profile and provide read-only documentation and repository browsing tools.
Incorrect Answers
B:This diagnostic relates to a different failure (A batch of agent tasks fails for different reasons: malformed plans, API 429 responses and missing dependency versions.). For the reported case inspect: Inspect profile tool allow list, tool denial events and completed task artifacts.
C:This diagnostic relates to a different failure (A code scanning alert flags a generated test fixture as secret material while production files are clean.). Inspect alert location, scanner rule, sample fixtures and documented approval.
D:This diagnostic relates to a different failure (Two agent profiles are being compared, but each is tested on different tasks and tool permissions.). For the reported case inspect: Inspect profile tool allow list, tool denial events and completed task artifacts.
Question 266
Before making a new change, what evidence BEST diagnoses this agentic workflow issue? A maintenance agent retrieves a stale wiki snippet that contradicts the current signed release procedure.
- Compare checkpoint, branch diff, resumed command history and duplicate commits.
- Compare citations, revision dates, policy owners and selected recovery plan.
- Review memory timestamps, policy version, expiry behavior and retrieval records.
- Inspect stored base hash, upstream diff, rebase logs and validation tests.
Explanation
Correct Answer
B:Compare citations, revision dates, policy owners and selected recovery plan. Memory retrieval must preserve provenance so recency and authority can be assessed. Next action: Attach source URL, revision timestamp and trust level to retrieved memory, then prefer current approved documentation.
Incorrect Answers
A:This diagnostic relates to a different failure (An agent session is interrupted after writing tests but before implementing the bug fix.). For the reported case inspect: Compare citations, revision dates, policy owners and selected recovery plan.
C:This diagnostic relates to a different failure (A repository agent keeps recommending a deprecated dependency version from memory months after the upgrade policy changed.). For the reported case inspect: Compare citations, revision dates, policy owners and selected recovery plan.
D:This diagnostic relates to a different failure (A paused agent resumes after main branch moved and applies patches against a now-obsolete dependency graph.). For the reported case inspect: Compare citations, revision dates, policy owners and selected recovery plan.
Question 267
Which technical principle BEST explains the proper response to this agentic SDLC scenario? A team wants all agent changes in one repository to use its API naming conventions and existing test runner.
- A task's repository context does not inherently authorize reading unrelated private organizational content.
- Dependency-aware planning prevents parallel work from creating avoidable incompatible artifacts.
- Reversible changes are easier to delegate safely than irreversible modifications without recovery evidence.
- Persistent repository-specific instructions prevent repeated ambiguity without replacing task-level requirements.
Explanation
Correct Answer
D:Persistent repository-specific instructions prevent repeated ambiguity without replacing task-level requirements. This concept explains the proper correction. The corresponding intervention is: Store concise repository instructions in the supported configuration location, with exact commands and applicable boundaries.
Incorrect Answers
A:A task's repository context does not inherently authorize reading unrelated private organizational content.
B:Dependency-aware planning prevents parallel work from creating avoidable incompatible artifacts. This concept governs a different case (Three agent tasks modify the same generated client, and they start concurrently before the API schema is finalized.). The correct principle here is: Persistent repository-specific instructions prevent repeated ambiguity without replacing task-level requirements.
C:Reversible changes are easier to delegate safely than irreversible modifications without recovery evidence. This concept governs a different case (An AI-assisted dependency update risks breaking consumers and there is no documented rollback point.). The correct principle here is: Persistent repository-specific instructions prevent repeated ambiguity without replacing task-level requirements.
Question 268
After the recommended fix, which observation MOST convincingly proves success? An agent stores customer account identifiers and API tokens in an unrestricted vector memory service.
- The resumed branch targets current dependencies with conflict tests and recorded new base revision.
- One contract revision is selected with an accountable decision and both agents consume the same version.
- Concurrent updates preserve all three results and failed version checks retry safely.
- A cross-tenant query returns no restricted records and expired entries can be removed deterministically.
Explanation
Correct Answer
D:A cross-tenant query returns no restricted records and expired entries can be removed deterministically. The corrective action is: Minimize retained content, redact secrets and apply tenant-aware access control plus explicit retention limits.
Incorrect Answers
A:This outcome is relevant to another case (A paused agent resumes after main branch moved and applies patches against a now-obsolete dependency graph.). For the stated scenario verify: A cross-tenant query returns no restricted records and expired entries can be removed deterministically.
B:This outcome is relevant to another case (Two agents update the same design decision document with incompatible API contracts.). For the stated scenario verify: A cross-tenant query returns no restricted records and expired entries can be removed deterministically.
C:Concurrent updates preserve all three results and failed version checks retry safely. This outcome is relevant to another case (Three agents simultaneously overwrite a common task-progress JSON file, losing two agents' completions.). For the stated scenario verify: A cross-tenant query returns no restricted records and expired entries can be removed deterministically.
Question 269
What underlying agent-development control MOST directly applies to this situation? A coding agent repeatedly calls a deployment tool with malformed JSON and silently assumes deployment succeeded.
- Execution-context compatibility is required for meaningful verification across development environments.
- MCP servers inherit credential capabilities and must not be treated as automatically sandboxed.
- Structured tool contracts prevent ambiguous partial execution and false-positive completion claims.
- Remote tool authorization requires appropriate identity and operation scope, not merely successful server discovery.
Explanation
Correct Answer
C:Structured tool contracts prevent ambiguous partial execution and false-positive completion claims. This concept explains the proper correction. The corresponding intervention is: Validate required arguments against the tool schema and handle validation errors before declaring success.
Incorrect Answers
A:This concept governs a different case (A test-writing agent passes in a local container but fails in CI because the container image uses an older runtime.). Execution-context compatibility is required for meaningful verification across development environments.
B:MCP servers inherit credential capabilities and must not be treated as automatically sandboxed. This concept governs a different case (A GitHub MCP server is configured with a token that can administer all repositories, though the agent only needs to read one issue.). The correct principle here is: Structured tool contracts prevent ambiguous partial execution and false-positive completion claims.
D:Remote tool authorization requires appropriate identity and operation scope, not merely successful server discovery. This concept governs a different case (A remote GitHub MCP integration can list issues but cannot update labels despite the user requesting label triage.). The correct principle here is: Structured tool contracts prevent ambiguous partial execution and false-positive completion claims.
Question 270
Before making a new change, what evidence BEST diagnoses this agentic workflow issue? Two agent sessions commit to the same feature branch and overwrite each other's generated patches.
- Review runner identity, mounts, network egress and syscall or permission-denial logs.
- Inspect branch refs, commit ancestry and agent session write chronology.
- Scan repository history, profile files, workflow logs and runtime secret grants.
- Inspect rate-limit headers, pagination cursor, cache hit rates and retry counts.
Explanation
Correct Answer
B:Inspect branch refs, commit ancestry and agent session write chronology. Branch-level isolation prevents uncontrolled concurrent writes to the same Git ref. Next action: Give each agent a distinct working branch based on a recorded base commit and merge through controlled review.
Incorrect Answers
A:This diagnostic relates to a different failure (A build agent requests host-level root privileges simply to run repository unit tests.). Review runner identity, mounts, network egress and syscall or permission-denial logs.
C:This diagnostic relates to a different failure (A custom agent's MCP configuration embeds an API secret directly in a tracked Markdown file.).
D:This diagnostic relates to a different failure (An agent fetches hundreds of GitHub issues and exhausts the API rate budget after repeated uncached requests.). For the reported case inspect: Inspect branch refs, commit ancestry and agent session write chronology.