Microsoft GH-600 Practice Test 22
Question 210
A platform team reports: An agent builds a harmless Markdown linter and a credential rotation task using the same generic pass condition. Which agent-engineering intervention is MOST appropriate?
- Delegate the bounded unit-test addition to the coding agent and reserve the production migration for human-led planning and safeguards.
- Specify risk-adjusted outcomes: syntax checks for the linter and authorization, secret rotation, revocation and rollback evidence for credentials.
- Write a handoff packet with task objective, base SHA, files changed, commands run, remaining failures and next steps.
- Assign implementation and review to distinct actors with separate permissions and a required human merge decision.
Explanation
Correct Answer
B:Specify risk-adjusted outcomes: syntax checks for the linter and authorization, secret rotation, revocation and rollback evidence for credentials. This action addresses the stated GitHub agent engineering issue. One generic completion signal cannot validate tasks with radically different failure consequences. Verification: Each task has acceptance tests appropriate to its potential production and security impact.
Incorrect Answers
A: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: Specify risk-adjusted outcomes: syntax checks for the linter and authorization, secret rotation, revocation and rollback evidence for credentials.
C: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: Specify risk-adjusted outcomes: syntax checks for the linter and authorization, secret rotation, revocation and rollback evidence for credentials.
D: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: Specify risk-adjusted outcomes: syntax checks for the linter and authorization, secret rotation, revocation and rollback evidence for credentials.
Question 211
An engineer must find the underlying cause: A CI remediation agent proposes changing deployment secrets because tests fail in an untrusted pull-request environment. Which check should be prioritized?
- Inspect rate-limit headers, pagination cursor, cache hit rates and retry counts.
- Review audit log correlation IDs, tool traces, commit metadata and approval events.
- Review Actions trigger, permissions, environment protection rules and secret access events.
- Inspect repository or organization MCP allow list and failed connection attempts.
Explanation
Correct Answer
C:Review Actions trigger, permissions, environment protection rules and secret access events. Workflow event trust level determines safe secret exposure and deployment permissions. Next action: Separate untrusted PR test context from privileged deployment environment and require approved deployment gates.
Incorrect Answers
A:This diagnostic relates to a different failure (An agent fetches hundreds of GitHub issues and exhausts the API rate budget after repeated uncached requests.). Inspect rate-limit headers, pagination cursor, cache hit rates and retry counts.
B:This diagnostic relates to a different failure (An agent modifies a production workflow but cannot show which tool call produced the repository change.). For the reported case inspect: Review Actions trigger, permissions, environment protection rules and secret access events.
D: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.). Inspect repository or organization MCP allow list and failed connection attempts.
Question 212
A developer evaluates this agent workflow: A package upgrade agent fails immediately because the development environment does not install the required SDK. Which engineering concept is MOST relevant?
- GitHub issues, branches and pull requests form a traceable SDLC control plane for agent contributions.
- Agent autonomy is more reliable when task scope, success criteria and handoff artifacts are explicit.
- Inspectable planning artifacts improve causal traceability across tool calls and code changes.
- A predictable development environment is a prerequisite for reproducible agent-generated code.
Explanation
Correct Answer
D:A predictable development environment is a prerequisite for reproducible agent-generated code. This concept explains the proper correction. The corresponding intervention is: Specify reproducible environment setup and dependency preparation before enabling implementation work.
Incorrect Answers
A:This concept governs a different case (A team wants an agent to implement a small documentation change while preserving ordinary GitHub review and audit history.). GitHub issues, branches and pull requests form a traceable SDLC control plane for agent contributions.
B:This concept governs a different case (A repository issue asks an agent to redesign authentication and billing in one task with no boundaries or acceptance tests.). Agent autonomy is more reliable when task scope, success criteria and handoff artifacts are explicit.
C:Inspectable planning artifacts improve causal traceability across tool calls and code changes. This concept governs a different case (An autonomous agent promises a detailed plan but commits files before recording why a dependency should change.). The correct principle here is: A predictable development environment is a prerequisite for reproducible agent-generated code.
Question 213
A developer evaluates this agent workflow: Two agents independently change a function signature in incompatible ways, but both local branches pass tests. Which engineering concept is MOST relevant?
- Failed dependencies must propagate to affected downstream workflow tasks.
- Explicit delegation prevents duplicated effort and makes handoffs and accountability testable.
- Coordination requires an authoritative shared state rather than optimistic conversational summaries.
- Isolated success does not guarantee compatible combined changes.
Explanation
Correct Answer
D:Isolated success does not guarantee compatible combined changes. This concept explains the proper correction. The corresponding intervention is: Detect overlapping API signatures and run combined contract tests before accepting either branch.
Incorrect Answers
A:Failed dependencies must propagate to affected downstream workflow tasks. This concept governs a different case (A schema validation worker rejects the API contract while dependent client and test agents continue implementing it.). The correct principle here is: Isolated success does not guarantee compatible combined changes.
B: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: Isolated success does not guarantee compatible combined changes.
C:Coordination requires an authoritative shared state rather than optimistic conversational summaries. This concept governs a different case (A manager agent loses track of which three workers have completed checks and merges the task early.). The correct principle here is: Isolated success does not guarantee compatible combined changes.
Question 214
An engineer must find the underlying cause: An agent claims to improve parsing but the new branch silently drops a previously supported event format. Which check should be prioritized?
- Inspect latency distribution, scan execution, rejection rate and escape defects.
- Inspect baseline fixture history, changed outcomes and rejected malformed cases.
- Inspect test cases, mutation tests and actual behavior under injected failures.
- Review categorized traces, failed commands, HTTP codes and environment manifests.
Explanation
Correct Answer
B:Inspect baseline fixture history, changed outcomes and rejected malformed cases. Regression evaluation measures change against known behavior, not just performance on new examples. Next action: Run old and new fixtures against a recorded baseline and compare both expected positives and negatives.
Incorrect Answers
A:This diagnostic relates to a different failure (An organization reduces agent execution time by disabling all security checks, causing rejected changes to increase.). Inspect latency distribution, scan execution, rejection rate and escape defects.
C:This diagnostic relates to a different failure (A code-writing agent boosts coverage percentage with trivial assertions that do not verify error handling.). Inspect test cases, mutation tests and actual behavior under injected failures.
D: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.). Review categorized traces, failed commands, HTTP codes and environment manifests.
Question 215
Which measurable outcome demonstrates that the following agent issue is resolved? A Copilot-generated pull request changes a GitHub Actions workflow and the CI checks have not executed automatically.
- The agent writes only to its selected repository branch, with any cross-repo work tracked in another approved task.
- Every changed file and workflow permission maps to an approved trace and revision.
- The review record and required checks precede merge, and the branch remains isolated until then.
- The expected workflows run after approval and their logs appear on the pull request.
Explanation
Correct Answer
D:The expected workflows run after approval and their logs appear on the pull request. The corrective action is: Use the supported review-and-approve workflow execution path before treating CI status as validation.
Incorrect Answers
A:This outcome is relevant to another case (A Copilot cloud agent is assigned a repository task but tries to modify code in a second repository in the same session.). For the stated scenario verify: The expected workflows run after approval and their logs appear on the pull request.
B:This outcome is relevant to another case (An agent modifies a production workflow but cannot show which tool call produced the repository change.). For the stated scenario verify: The expected workflows run after approval and their logs appear on the pull request.
C:This outcome is relevant to another case (A coding agent has produced a change on a branch but the team wants the normal human review gate.).
Question 216
An engineer must find the underlying cause: A dependency-scanning worker cannot access a restricted registry and repeatedly requests wider permissions. Which check should be prioritized?
- Compare profile versions, task version pinning and migration notes.
- Inspect denied scope, escalation record, approved grant and other worker states.
- Inspect worker state ledger, branch statuses and integration gate decision.
- Compare branch APIs, combined test failures and conflict resolution record.
Explanation
Correct Answer
B:Inspect denied scope, escalation record, approved grant and other worker states. Multi-agent recovery should preserve least privilege and allow targeted human decisions. Next action: Escalate with precise missing authorization and pause the affected dependency task rather than broadening access automatically.
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: Inspect denied scope, escalation record, approved grant and other worker states.
C:This diagnostic relates to a different failure (A manager agent loses track of which three workers have completed checks and merges the task early.). Inspect worker state ledger, branch statuses and integration gate decision.
D:This diagnostic relates to a different failure (Two agents independently change a function signature in incompatible ways, but both local branches pass tests.). Compare branch APIs, combined test failures and conflict resolution record.
Question 217
A developer evaluates this agent workflow: A long-running coding agent begins optimizing front-end performance after being assigned a database migration review. Which engineering concept is MOST relevant?
- External agent memory is a data store subject to ordinary security and retention rules.
- Drift detection measures current activity against a durable intent baseline.
- Shared memory without version control can cause silent context conflicts.
- Shared agent memory needs concurrency control just like any mutable database record.
Explanation
Correct Answer
B:Drift detection measures current activity against a durable intent baseline. This concept explains the proper correction. The corresponding intervention is: Compare every proposed next action with the original issue goals and approved scope at checkpoint boundaries.
Incorrect Answers
A:External agent memory is a data store subject to ordinary security and retention rules. This concept governs a different case (An agent stores customer account identifiers and API tokens in an unrestricted vector memory service.). The correct principle here is: Drift detection measures current activity against a durable intent baseline.
C:Shared memory without version control can cause silent context conflicts. This concept governs a different case (Two agents update the same design decision document with incompatible API contracts.). The correct principle here is: Drift detection measures current activity against a durable intent baseline.
D:Shared agent memory needs concurrency control just like any mutable database record. This concept governs a different case (Three agents simultaneously overwrite a common task-progress JSON file, losing two agents' completions.). The correct principle here is: Drift detection measures current activity against a durable intent baseline.
Question 218
What underlying agent-development control MOST directly applies to this situation? An enterprise multi-agent system retrieves a private client's incident notes while processing another client's repository.
- External agent memory is a data store subject to ordinary security and retention rules.
- Context reuse must never cross an authorization boundary merely because content is semantically similar.
- Memory retrieval must preserve provenance so recency and authority can be assessed.
- Shared memory without version control can cause silent context conflicts.
Explanation
Correct Answer
B:Context reuse must never cross an authorization boundary merely because content is semantically similar. This concept explains the proper correction. The corresponding intervention is: Partition retrieval indexes and authorization scopes by tenant and revalidate identity on each query.
Incorrect Answers
A:This concept governs a different case (An agent stores customer account identifiers and API tokens in an unrestricted vector memory service.).
C:This concept governs a different case (A maintenance agent retrieves a stale wiki snippet that contradicts the current signed release procedure.). Memory retrieval must preserve provenance so recency and authority can be assessed.
D:Shared memory without version control can cause silent context conflicts. This concept governs a different case (Two agents update the same design decision document with incompatible API contracts.). The correct principle here is: Context reuse must never cross an authorization boundary merely because content is semantically similar.
Question 219
A developer evaluates this agent workflow: A team wants an agent's proposed change checked by an existing CI workflow before merge. Which engineering concept is MOST relevant?
- CI invocation must respect workflow event permissions and the exact code revision being evaluated.
- Retrieved issue text cannot override higher-priority tool permissions or repository security boundaries.
- Cloud agent task scope is repository-bound in supported workflows and should not be bypassed through token expansion.
- Autonomous implementation need not imply autonomous approval or protected branch merging.
Explanation
Correct Answer
A:CI invocation must respect workflow event permissions and the exact code revision being evaluated. This concept explains the proper correction. The corresponding intervention is: Configure an approved workflow trigger and use the branch and event context supported by that repository.
Incorrect Answers
B:This concept governs a different case (A public issue description contains instructions telling the agent to upload repository secrets to an external URL.). Retrieved issue text cannot override higher-priority tool permissions or repository security boundaries.
C:Cloud agent task scope is repository-bound in supported workflows and should not be bypassed through token expansion.
D:Autonomous implementation need not imply autonomous approval or protected branch merging. This concept governs a different case (A coding agent has produced a change on a branch but the team wants the normal human review gate.). The correct principle here is: CI invocation must respect workflow event permissions and the exact code revision being evaluated.
Question 220
What underlying agent-development control MOST directly applies to this situation? A documentation agent fails mid-run while two implementation agents complete their code changes.
- Contradictory multi-agent outputs require reconciliation, not arbitrary vote counting.
- Cross-agent observability must preserve identity and decision provenance through handoffs.
- Dependent agent tasks must be ordered by required artifacts rather than launched solely for maximum parallelism.
- Partial worker failure needs targeted recovery and honest aggregate status.
Explanation
Correct Answer
D:Partial worker failure needs targeted recovery and honest aggregate status. This concept explains the proper correction. The corresponding intervention is: Mark documentation blocked, preserve successful artifacts and reassign only unfinished documentation work.
Incorrect Answers
A:Contradictory multi-agent outputs require reconciliation, not arbitrary vote counting. This concept governs a different case (A security-review agent recommends disabling a workflow while an implementation agent says it is safe to enable.). The correct principle here is: Partial worker failure needs targeted recovery and honest aggregate status.
B:Cross-agent observability must preserve identity and decision provenance through handoffs. This concept governs a different case (An agent team produces a large release but the reviewer cannot tell which agent edited sensitive workflow permissions.). The correct principle here is: Partial worker failure needs targeted recovery and honest aggregate status.
C:Dependent agent tasks must be ordered by required artifacts rather than launched solely for maximum parallelism. This concept governs a different case (A client-generation agent starts before the schema agent has completed its approved API contract.). The correct principle here is: Partial worker failure needs targeted recovery and honest aggregate status.