Microsoft GH-600 Practice Test 1
Question 1
Which review MOST directly identifies the failing control or environment in this situation? 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.
- Inspect coordinator ledger, worker artifacts and resumed worker diff.
- Compare profile versions, task version pinning and migration notes.
- Inspect lockfile conflicts, final install output and merged SHA tests.
Explanation
Correct Answer
A:Compare branch APIs, combined test failures and conflict resolution record. Isolated success does not guarantee compatible combined changes. Next action: Detect overlapping API signatures and run combined contract tests before accepting either branch.
Incorrect Answers
B:This diagnostic relates to a different failure (A documentation agent fails mid-run while two implementation agents complete their code changes.). Inspect coordinator ledger, worker artifacts and resumed worker diff.
C:This diagnostic relates to a different failure (An organization replaces a legacy code-review agent profile with a stricter approved version during a release.). Compare profile versions, task version pinning and migration notes.
D:This diagnostic relates to a different failure (Two approved agents update the same lockfile with different compatible dependency versions from different baselines.).
Question 2
Which measurable outcome demonstrates that the following agent issue is resolved? An orchestration controller crashes after two agents finish and one is still executing, losing temporary coordination memory.
- Final integration waits for all required worker artifacts and records any incomplete work.
- Sensitive changes map to an accountable agent, approval and tested commit SHA.
- The controller resumes with accurate completed/in-flight status and no duplicate worker tasks.
- An integration check flags the mismatch and the selected contract is reconciled before merge.
Explanation
Correct Answer
C:The controller resumes with accurate completed/in-flight status and no duplicate worker tasks. The corrective action is: Restore durable task state and inspect current worker sessions before restarting only missing work.
Incorrect Answers
A:This outcome is relevant to another case (A manager agent loses track of which three workers have completed checks and merges the task early.). For the stated scenario verify: The controller resumes with accurate completed/in-flight status and no duplicate worker tasks.
B:This outcome is relevant to another case (An agent team produces a large release but the reviewer cannot tell which agent edited sensitive workflow permissions.). For the stated scenario verify: The controller resumes with accurate completed/in-flight status and no duplicate worker tasks.
D:This outcome is relevant to another case (Two agents independently change a function signature in incompatible ways, but both local branches pass tests.). For the stated scenario verify: The controller resumes with accurate completed/in-flight status and no duplicate worker tasks.
Question 3
An engineer must find the underlying cause: An agent cannot run integration tests because credentials are missing but states that all integration tests passed. Which check should be prioritized?
- Compare logged commands, test reports, required credentials and PR status text.
- Inspect baseline fixture history, changed outcomes and rejected malformed cases.
- Inspect lockfile hashes, test scripts, runner image and run history.
- Inspect profile tool allow list, tool denial events and completed task artifacts.
Explanation
Correct Answer
A:Compare logged commands, test reports, required credentials and PR status text. Evaluation reporting must distinguish not-run, failed and passed evidence. Next action: Require explicit unrun and blocked statuses with commands attempted, missing prerequisites and residual release risk.
Incorrect Answers
B:This diagnostic relates to a different failure (An agent claims to improve parsing but the new branch silently drops a previously supported event format.). Inspect baseline fixture history, changed outcomes and rejected malformed cases.
C: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.). Inspect lockfile hashes, test scripts, runner image and run history.
D:This diagnostic relates to a different failure (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.
Question 4
A developer evaluates this agent workflow: An agent summarizes dependency alerts but is offered an update-dependency tool capable of pushing changes. Which engineering concept is MOST relevant?
- Read-only analysis and state-changing implementation are distinct authorization levels.
- Ambiguous network errors should trigger reconciliation before repeating mutating API calls.
- CI invocation must respect workflow event permissions and the exact code revision being evaluated.
- Agent environment setup must be reproducible and scoped rather than dependent on a developer laptop.
Explanation
Correct Answer
A:Read-only analysis and state-changing implementation are distinct authorization levels. This concept explains the proper correction. The corresponding intervention is: Run the summary task with read-only tool grants and require separate approved write delegation for remediation.
Incorrect Answers
B:Ambiguous network errors should trigger reconciliation before repeating mutating API calls. 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.). The correct principle here is: Read-only analysis and state-changing implementation are distinct authorization levels.
C:CI invocation must respect workflow event permissions and the exact code revision being evaluated. This concept governs a different case (A team wants an agent's proposed change checked by an existing CI workflow before merge.). The correct principle here is: Read-only analysis and state-changing implementation are distinct authorization levels.
D:This concept governs a different case (A coding agent can edit source but its isolated environment lacks the private package registry configuration required for tests.). Agent environment setup must be reproducible and scoped rather than dependent on a developer laptop.
Question 5
Before making a new change, what evidence BEST diagnoses this agentic workflow issue? An agent manager reports that five workers are progressing but cannot explain why one branch has had no commits for hours.
- Review worker heartbeat timestamps, tool traces and blocker detection record.
- Inspect agent profiles, task ownership and resulting diff scope.
- Inspect task assignments, changed-file ownership and integration review artifacts.
- Review branch tips, overlapping file diffs and merge resolution history.
Explanation
Correct Answer
A:Review worker heartbeat timestamps, tool traces and blocker detection record. Operational multi-agent supervision requires time-series signals as well as final artifacts. Next action: Collect per-worker heartbeat, last tool progress, error state and branch activity and define stalled thresholds.
Incorrect Answers
B:This diagnostic relates to a different failure (One generalized agent repeatedly confuses localization review with TypeScript compiler fixes.). Inspect agent profiles, task ownership and resulting diff scope.
C:This diagnostic relates to a different failure (A repository change needs architecture analysis, implementation and documentation but agents duplicate each other's work.). Inspect task assignments, changed-file ownership and integration review artifacts.
D:This diagnostic relates to a different failure (Two agents edit the same migration file concurrently and their commits alternately overwrite each other.).
Question 6
Select THREE appropriate statements: action, underlying reason, and successful verification. Scenario: Two agent sessions commit to the same feature branch and overwrite each other's generated patches.
- Action: Give each agent a distinct working branch based on a recorded base commit and merge through controlled review.
- Verification: Both branch histories remain independently auditable and no pushed commit disappears.
- Unsafe shortcut: Ask agents to force-push the common branch whenever conflict arises.
- Action: Configure an approved workflow trigger and use the branch and event context supported by that repository.
- Verification: The expected workflows run after approval and their logs appear on the pull request.
- Principle: Branch-level isolation prevents uncontrolled concurrent writes to the same Git ref.
Explanation
Correct Answers
A:Action: Give each agent a distinct working branch based on a recorded base commit and merge through controlled review. This fixes the target workflow. Branch-level isolation prevents uncontrolled concurrent writes to the same Git ref.
B:Verification: Both branch histories remain independently auditable and no pushed commit disappears. This checks the intended result. Branch-level isolation prevents uncontrolled concurrent writes to the same Git ref.
F:Principle: Branch-level isolation prevents uncontrolled concurrent writes to the same Git ref. This describes why the correction and evidence align.
Incorrect Answers
C:Unsafe shortcut: Ask agents to force-push the common branch whenever conflict arises. This is neither an appropriate remediation nor valid evidence. Branch-level isolation prevents uncontrolled concurrent writes to the same Git ref. Safer action: Give each agent a distinct working branch based on a recorded base commit and merge through controlled review.
D:Action: Configure an approved workflow trigger and use the branch and event context supported by that repository. This action responds to a different problem (A team wants an agent's proposed change checked by an existing CI workflow before merge.). For the target use: Give each agent a distinct working branch based on a recorded base commit and merge through controlled review.
E:This evidence relates to another situation (A Copilot-generated pull request changes a GitHub Actions workflow and the CI checks have not executed automatically.).
Question 7
Which measurable outcome demonstrates that the following agent issue is resolved? An agent repeatedly chooses the wrong design despite receiving accurate repository files and functioning tools.
- A replayed test demonstrates corrected design choice without a new tool or environment failure.
- Observed quality changes can be attributed more plausibly to profile instructions than to differing permissions.
- The same file is retrieved with the required grants while unrelated access stays denied.
- Security checks retain true-positive detection while the reviewed fixture alert has a justified audit trail.
Explanation
Correct Answer
A:A replayed test demonstrates corrected design choice without a new tool or environment failure. The corrective action is: Review plan assumptions and decision traces against the intended architecture, then revise decision constraints.
Incorrect Answers
B:This outcome is relevant to another case (Two agent profiles are being compared, but each is tested on different tasks and tool permissions.). For the stated scenario verify: A replayed test demonstrates corrected design choice without a new tool or environment failure.
C:This outcome is relevant to another case (An agent reports a missing file after a repository API returned 403 permission denied.). For the stated scenario verify: A replayed test demonstrates corrected design choice without a new tool or environment failure.
D:This outcome is relevant to another case (A code scanning alert flags a generated test fixture as secret material while production files are clean.). For the stated scenario verify: A replayed test demonstrates corrected design choice without a new tool or environment failure.
Question 8
Consider an AI agent in the GitHub software development lifecycle: A repository issue asks an agent to redesign authentication and billing in one task with no boundaries or acceptance tests. What is the BEST next action?
- Require an inspectable implementation plan with affected paths, risks, dependencies and proposed validation before enabling write operations.
- Define behavioral acceptance cases for fractional amounts, currency rounding and rollback before coding begins.
- Keep the delegated task restricted to its authorized repository and request explicit access approval for any cross-repository source.
- Split the issue into independently reviewable tasks with explicit in-scope files, interfaces and acceptance criteria before delegation.
Explanation
Correct Answer
D:Verification: Each pull request implements one approved change and its targeted automated tests pass without unrelated billing edits.
Incorrect Answers
A: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: Split the issue into independently reviewable tasks with explicit in-scope files, interfaces and acceptance criteria before delegation.
B:This action fits a different scenario (An agent reports a checkout feature complete because it compiled, despite failure to meet tax rounding requirements.), not the reported problem. Here the appropriate action is: Split the issue into independently reviewable tasks with explicit in-scope files, interfaces and acceptance criteria before delegation.
C:This action fits a different scenario (An issue requests a fix in one GitHub repository, but agent research references private code from a different organization.), not the reported problem. Here the appropriate action is: Split the issue into independently reviewable tasks with explicit in-scope files, interfaces and acceptance criteria before delegation.
Question 9
For the following agentic development case, which shortcut should be REJECTED? A custom agent cannot query the approved issue catalog because its MCP server was never configured in the environment.
- Keep production credentials outside committed instructions and logs.
- Preserve an authorized rollback path for reversible repository changes.
- Tell the agent to invent catalog responses when the MCP connection cannot be established.
- Review both positive and negative acceptance scenarios after an agent edit.
Explanation
Correct Answer
C:An MCP tool is available only after an appropriate server connection and tool discovery succeed.
Incorrect Answers
A:Keep production credentials outside committed instructions and logs. This is an appropriate general safeguard, not the harmful shortcut. Confidential secret material needs controlled storage and redaction. Targeted remediation: Register the approved MCP endpoint in the supported agent configuration and verify authentication and transport.
B:Preserve an authorized rollback path for reversible repository changes. This is an appropriate general safeguard, not the harmful shortcut. A known-good state makes failures recoverable. Targeted remediation: Register the approved MCP endpoint in the supported agent configuration and verify authentication and transport.
D:Review both positive and negative acceptance scenarios after an agent edit. This is an appropriate general safeguard, not the harmful shortcut. Regression tests should catch new defects and accidental scope loss. Targeted remediation: Register the approved MCP endpoint in the supported agent configuration and verify authentication and transport.
Question 10
A platform team reports: An agent's proposed plan explicitly requests disabling required code scanning before deployment. Which agent-engineering intervention is MOST appropriate?
- Reject the disallowed step and keep deployment blocked or route a supported remediation for approval.
- Require traceable identity, task links, approvals, tool invocations and resulting commit references.
- Restrict outbound network egress and permitted MCP destinations to task-required endpoints.
- Move low-risk reversible edits to streamlined checks while retaining explicit approval for secrets, deployment and destructive changes.
Explanation
Correct Answer
A:Reject the disallowed step and keep deployment blocked or route a supported remediation for approval. This action addresses the stated GitHub agent engineering issue. Policy guardrails must block incompatible actions even when an agent predicts faster completion. Verification: Mandatory scanners remain enabled and no prohibited workflow edit is committed.
Incorrect Answers
B:This action fits a different scenario (An agent updates security rules without recording its session identity, plan or approver.), not the reported problem. Here the appropriate action is: Reject the disallowed step and keep deployment blocked or route a supported remediation for approval.
C:This action fits a different scenario (A CI agent opens an unreviewed internet upload endpoint after reading internal repository files.), not the reported problem. Here the appropriate action is: Reject the disallowed step and keep deployment blocked or route a supported remediation for approval.
D:This action fits a different scenario (A team requires manager approval for every harmless README typo, delaying work while high-risk code still receives weak review.), not the reported problem. Here the appropriate action is: Reject the disallowed step and keep deployment blocked or route a supported remediation for approval.