Microsoft GH-600 Practice Test 10
Question 90
Before making a new change, what evidence BEST diagnoses this agentic workflow issue? A paused agent resumes after main branch moved and applies patches against a now-obsolete dependency graph.
- Inspect stored base hash, upstream diff, rebase logs and validation tests.
- Review retrieval tenant filter, access checks and audit events for denied requests.
- Inspect role boundary event, context reset evidence and active tool permissions.
- Inspect state version history, concurrent write logs and final task totals.
Explanation
Correct Answer
A:Inspect stored base hash, upstream diff, rebase logs and validation tests. Durable checkpoints must be revalidated against changing external state before use. Next action: Fetch the current base SHA, compare drift and rebase or re-plan changes before execution.
Incorrect Answers
B:This diagnostic relates to a different failure (An enterprise multi-agent system retrieves a private client's incident notes while processing another client's repository.). Review retrieval tenant filter, access checks and audit events for denied requests.
C:This diagnostic relates to a different failure (A review agent becomes a deployment agent but still carries read-only review assumptions and old sensitive snippets.). Inspect role boundary event, context reset evidence and active tool permissions.
D:This diagnostic relates to a different failure (Three agents simultaneously overwrite a common task-progress JSON file, losing two agents' completions.). Inspect state version history, concurrent write logs and final task totals.
Question 91
Which proposed action creates the CLEAREST avoidable governance or delivery risk? An AI coding session executes builds in an isolated runner but the owner expects local workstation edits.
- Preserve the current branch SHA and task acceptance criteria before making edits.
- Capture actual tests executed and clearly mark tests that could not run.
- Assume a tool run in an isolated sandbox automatically rewrites unrelated local filesystem files.
- Apply bounded retry with idempotency checks to external mutations.
Explanation
Correct Answer
C:An ephemeral agent runtime is distinct from the user's device and requires explicit artifact or Git transfer. Safer action: Keep work in the isolated execution context and transfer changes through branch commits or reviewable artifacts.
Incorrect Answers
A:Preserve the current branch SHA and task acceptance criteria before making edits. This is an appropriate general safeguard, not the harmful shortcut. A stable baseline makes changes and regressions auditable. Targeted remediation: Keep work in the isolated execution context and transfer changes through branch commits or reviewable artifacts.
B:Capture actual tests executed and clearly mark tests that could not run. This is an appropriate general safeguard, not the harmful shortcut. Evidence must distinguish passed, failed and blocked checks. Targeted remediation: Keep work in the isolated execution context and transfer changes through branch commits or reviewable artifacts.
D:Apply bounded retry with idempotency checks to external mutations. This is an appropriate general safeguard, not the harmful shortcut. Blind retries can duplicate durable side effects. Targeted remediation: Keep work in the isolated execution context and transfer changes through branch commits or reviewable artifacts.
Question 92
Which result would BEST validate the corrected GitHub agent workflow? Two approved agents update the same lockfile with different compatible dependency versions from different baselines.
- The retired agent cannot act while historical release evidence remains available for audit.
- The final lockfile represents one coherent dependency graph and all validations run at the merged head SHA.
- The specialist returns a scoped finding without receiving unrelated secret material.
- No downstream branch merges code based on the invalid schema and retained work is labeled obsolete.
Explanation
Correct Answer
B:The final lockfile represents one coherent dependency graph and all validations run at the merged head SHA. The corrective action is: Choose an integration order, rebase the second branch and rerun dependency resolution and tests on the combined state.
Incorrect Answers
A:This outcome is relevant to another case (A once-useful release-notes agent is no longer needed but still holds API access tokens and scheduled triggers.). For the stated scenario verify: The final lockfile represents one coherent dependency graph and all validations run at the merged head SHA.
C:This outcome is relevant to another case (A main agent asks a specialist to inspect dependency security but inadvertently passes unrelated client secrets to its context.). For the stated scenario verify: The final lockfile represents one coherent dependency graph and all validations run at the merged head SHA.
D:This outcome is relevant to another case (A schema validation worker rejects the API contract while dependent client and test agents continue implementing it.). For the stated scenario verify: The final lockfile represents one coherent dependency graph and all validations run at the merged head SHA.
Question 93
A GitHub agentic development workflow faces this issue: An agent's code passed PR tests but caused a production regression that was not fed back into future evaluations. Which change MOST directly resolves it?
- Calibrate risk labels with sampled expert review and update classification thresholds using observed misses.
- Define outcome quality metrics including accepted changes, escaped defects, review rework and policy violations.
- Classify the failure as authorization or tool access rather than absent repository content and correct the authorized scope.
- Convert the incident into a reproducible regression fixture and update agent instructions or constraints based on root cause.
Explanation
Correct Answer
D:Convert the incident into a reproducible regression fixture and update agent instructions or constraints based on root cause. This action addresses the stated GitHub agent engineering issue. Post-deployment failures should improve future evaluation signals and tuning rather than disappear from history. Verification: The fixed test fails on the offending commit and passes on the reviewed correction.
Incorrect Answers
A:This action fits a different scenario (An agent continuously labels every generated diff low risk despite repeated security-sensitive changes.), not the reported problem.
B:This action fits a different scenario (A platform team measures agent quality only by how quickly it creates pull requests.), not the reported problem. Here the appropriate action is: Convert the incident into a reproducible regression fixture and update agent instructions or constraints based on root cause.
C:This action fits a different scenario (An agent reports a missing file after a repository API returned 403 permission denied.), not the reported problem. Here the appropriate action is: Convert the incident into a reproducible regression fixture and update agent instructions or constraints based on root cause.
Question 94
Which review MOST directly identifies the failing control or environment in this situation? A repository agent keeps recommending a deprecated dependency version from memory months after the upgrade policy changed.
- Compare checkpoint, branch diff, resumed command history and duplicate commits.
- Review memory timestamps, policy version, expiry behavior and retrieval records.
- Inspect decision version IDs, competing edits, reconciliation note and downstream contract tests.
- Inspect stored base hash, upstream diff, rebase logs and validation tests.
Explanation
Correct Answer
B:Review memory timestamps, policy version, expiry behavior and retrieval records. Long-lived agent memory needs expiration and authority checks to prevent outdated choices. Next action: Set time-to-live and freshness checks for stored dependency recommendations, then retrieve the current policy on use.
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: Review memory timestamps, policy version, expiry behavior and retrieval records.
C:This diagnostic relates to a different failure (Two agents update the same design decision document with incompatible API contracts.). For the reported case inspect: Review memory timestamps, policy version, expiry behavior and retrieval records.
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: Review memory timestamps, policy version, expiry behavior and retrieval records.
Question 95
For this GH-600 agent-governance case, choose the most defensible action: A feature agent repeatedly rewrites unrelated modules after discovering a flaky unrelated test.
- Write a handoff packet with task objective, base SHA, files changed, commands run, remaining failures and next steps.
- Require an inspectable implementation plan with affected paths, risks, dependencies and proposed validation before enabling write operations.
- Specify reproducible environment setup and dependency preparation before enabling implementation work.
- Define a scope guard that stops for owner review when root-cause work would exceed the approved issue boundary.
Explanation
Correct Answer
D:Verification: Only the original feature files change or the agent records an escalation request with evidence.
Incorrect Answers
A: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: Define a scope guard that stops for owner review when root-cause work would exceed the approved issue boundary.
B:This action fits a different scenario (A coding agent reads a broad feature request and immediately starts deleting modules before agreeing on architecture.), not the reported problem. Here the appropriate action is: Define a scope guard that stops for owner review when root-cause work would exceed the approved issue boundary.
C:This action fits a different scenario (A package upgrade agent fails immediately because the development environment does not install the required SDK.), not the reported problem. Here the appropriate action is: Define a scope guard that stops for owner review when root-cause work would exceed the approved issue boundary.
Question 96
Which result would BEST validate the corrected GitHub agent workflow? An agent summarizes dependency alerts but is offered an update-dependency tool capable of pushing changes.
- The server authenticates while no credential appears in committed files, printed logs or PR diffs.
- The report lists alert facts without any branch, package or ruleset changes.
- The local workstation remains unchanged and the PR reflects the complete authorized agent diff.
- The expected workflows run after approval and their logs appear on the pull request.
Explanation
Correct Answer
B:The report lists alert facts without any branch, package or ruleset changes. The corrective action is: Run the summary task with read-only tool grants and require separate approved write delegation for remediation.
Incorrect Answers
A:This outcome is relevant to another case (A custom agent's MCP configuration embeds an API secret directly in a tracked Markdown file.). For the stated scenario verify: The report lists alert facts without any branch, package or ruleset changes.
C:This outcome is relevant to another case (An AI coding session executes builds in an isolated runner but the owner expects local workstation edits.). For the stated scenario verify: The report lists alert facts without any branch, package or ruleset changes.
D:This outcome is relevant to another case (A Copilot-generated pull request changes a GitHub Actions workflow and the CI checks have not executed automatically.). For the stated scenario verify: The report lists alert facts without any branch, package or ruleset changes.
Question 97
After the recommended fix, which observation MOST convincingly proves success? Two agents are asked to build an API and its client but disagree about request field names and error semantics.
- Generated client changes use the same approved schema version and conflicting branches are avoided.
- The change is reviewable in a linked pull request with issue context and no unreviewed direct default-branch writes.
- Only the original feature files change or the agent records an escalation request with evidence.
- Server and client pass the same contract fixtures and error cases without last-minute incompatible renaming.
Explanation
Correct Answer
D:Server and client pass the same contract fixtures and error cases without last-minute incompatible renaming. The corrective action is: Agree on a versioned request and response contract with example payloads and contract tests before assigning implementation branches.
Incorrect Answers
A:This outcome is relevant to another case (Three agent tasks modify the same generated client, and they start concurrently before the API schema is finalized.). For the stated scenario verify: Server and client pass the same contract fixtures and error cases without last-minute incompatible renaming.
B:This outcome is relevant to another case (A team wants an agent to implement a small documentation change while preserving ordinary GitHub review and audit history.).
C:This outcome is relevant to another case (A feature agent repeatedly rewrites unrelated modules after discovering a flaky unrelated test.). For the stated scenario verify: Server and client pass the same contract fixtures and error cases without last-minute incompatible renaming.
Question 98
Which proposed action creates the CLEAREST avoidable governance or delivery risk? A backlog contains a precise unit-test addition and a high-risk unsupervised production database migration.
- Choose supported GitHub configurations from current first-party documentation.
- Re-check current permission scopes before remote MCP calls.
- Require a reviewable PR and relevant automated checks before protected-branch merge.
- Choose the database migration first because an agent can type the required SQL faster.
Explanation
Correct Answer
D:Safer action: Delegate the bounded unit-test addition to the coding agent and reserve the production migration for human-led planning and safeguards.
Incorrect Answers
A: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: Delegate the bounded unit-test addition to the coding agent and reserve the production migration for human-led planning and safeguards.
B:Re-check current permission scopes before remote MCP calls. This is an appropriate general safeguard, not the harmful shortcut. Connected services inherit credential capability and must be constrained. Targeted remediation: Delegate the bounded unit-test addition to the coding agent and reserve the production migration for human-led planning and safeguards.
C: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: Delegate the bounded unit-test addition to the coding agent and reserve the production migration for human-led planning and safeguards.
Question 99
For this GH-600 agent-governance case, choose the most defensible action: An agent continuously labels every generated diff low risk despite repeated security-sensitive changes.
- Classify the failure as environment incompatibility, align approved runtime versions and rerun tests.
- Classify the failure as authorization or tool access rather than absent repository content and correct the authorized scope.
- Calibrate risk labels with sampled expert review and update classification thresholds using observed misses.
- Define outcome quality metrics including accepted changes, escaped defects, review rework and policy violations.
Explanation
Correct Answer
C:Calibrate risk labels with sampled expert review and update classification thresholds using observed misses. This action addresses the stated GitHub agent engineering issue. Evaluation of governance classifiers requires false-negative and false-positive evidence. Verification: Sensitivity to high-impact permission edits improves while harmless documentation changes remain fast.
Incorrect Answers
A:This action fits a different scenario (An agent's tests fail only in the runner because Node is older than the repository's supported runtime.), not the reported problem. Here the appropriate action is: Calibrate risk labels with sampled expert review and update classification thresholds using observed misses.
B:This action fits a different scenario (An agent reports a missing file after a repository API returned 403 permission denied.), not the reported problem. Here the appropriate action is: Calibrate risk labels with sampled expert review and update classification thresholds using observed misses.
D:This action fits a different scenario (A platform team measures agent quality only by how quickly it creates pull requests.), not the reported problem. Here the appropriate action is: Calibrate risk labels with sampled expert review and update classification thresholds using observed misses.
Question 100
A platform team reports: A team wants all agent changes in one repository to use its API naming conventions and existing test runner. Which agent-engineering intervention is MOST appropriate?
- Allow discovery and planning autonomously, but block the interface-changing commit until recorded architectural approval.
- Store concise repository instructions in the supported configuration location, with exact commands and applicable boundaries.
- Sequence schema approval before client generation and run only independent work in parallel.
- Write a handoff packet with task objective, base SHA, files changed, commands run, remaining failures and next steps.
Explanation
Correct Answer
B:Store concise repository instructions in the supported configuration location, with exact commands and applicable boundaries. This action addresses the stated GitHub agent engineering issue. Persistent repository-specific instructions prevent repeated ambiguity without replacing task-level requirements. Verification: Multiple new agent tasks follow the same naming rules and run the documented tests on isolated branches.
Incorrect Answers
A:This action fits a different scenario (An agent needs to rename a public API but the organization requires architects to approve breaking interfaces.), not the reported problem. Here the appropriate action is: Store concise repository instructions in the supported configuration location, with exact commands and applicable boundaries.
C:This action fits a different scenario (Three agent tasks modify the same generated client, and they start concurrently before the API schema is finalized.), not the reported problem. Here the appropriate action is: Store concise repository instructions in the supported configuration location, with exact commands and applicable boundaries.
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: Store concise repository instructions in the supported configuration location, with exact commands and applicable boundaries.