Microsoft GH-600 Practice Test 36
Question 350
Which TWO claims together describe the safe correction and measurable result? A client-generation agent starts before the schema agent has completed its approved API contract.
- Action: Wait for schema approval and versioned artifact publication before starting schema-dependent client generation.
- Verification: The generated client uses the approved schema hash and passes contract tests.
- Verification: The integrated branch passes cross-module scenarios and not just isolated unit suites.
- Action: Delegate only task-relevant files and authorized permissions to a separated specialist context.
- Unsafe shortcut: Start all agents immediately and assume later incompatible interfaces will reconcile automatically.
Explanation
Correct Answers
A:Action: Wait for schema approval and versioned artifact publication before starting schema-dependent client generation. This fixes the target workflow. Dependent agent tasks must be ordered by required artifacts rather than launched solely for maximum parallelism.
B:Verification: The generated client uses the approved schema hash and passes contract tests. This checks the intended result. Dependent agent tasks must be ordered by required artifacts rather than launched solely for maximum parallelism.
Incorrect Answers
C:Verification: The integrated branch passes cross-module scenarios and not just isolated unit suites. This evidence relates to another situation (Several worker branches each pass unit tests but the integrated feature fails an end-to-end checkout flow.). For the target verify: The generated client uses the approved schema hash and passes contract tests.
D:This action responds to a different problem (A main agent asks a specialist to inspect dependency security but inadvertently passes unrelated client secrets to its context.).
E:Unsafe shortcut: Start all agents immediately and assume later incompatible interfaces will reconcile automatically. This is neither an appropriate remediation nor valid evidence. Dependent agent tasks must be ordered by required artifacts rather than launched solely for maximum parallelism. Safer action: Wait for schema approval and versioned artifact publication before starting schema-dependent client generation.
Question 351
Consider an AI agent in the GitHub software development lifecycle: An AI-assisted dependency update risks breaking consumers and there is no documented rollback point. What is the BEST next action?
- Assign implementation and review to distinct actors with separate permissions and a required human merge decision.
- Require an inspectable implementation plan with affected paths, risks, dependencies and proposed validation before enabling write operations.
- Capture a concise proposed action list and rationale before allowing repository modifications, and link actual commits back to decisions.
- Include an explicit rollback strategy, previous lockfile commit and canary test in the approved implementation plan.
Explanation
Correct Answer
D:Include an explicit rollback strategy, previous lockfile commit and canary test in the approved implementation plan. This action addresses the stated GitHub agent engineering issue. Reversible changes are easier to delegate safely than irreversible modifications without recovery evidence. Verification: A failed canary can revert to known-good dependency state with recorded impact and follow-up owner.
Incorrect Answers
A: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: Include an explicit rollback strategy, previous lockfile commit and canary test in the approved implementation plan.
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: Include an explicit rollback strategy, previous lockfile commit and canary test in the approved implementation plan.
C:This action fits a different scenario (An autonomous agent promises a detailed plan but commits files before recording why a dependency should change.), not the reported problem. Here the appropriate action is: Include an explicit rollback strategy, previous lockfile commit and canary test in the approved implementation plan.
Question 352
Before making a new change, what evidence BEST diagnoses this agentic workflow issue? A coding agent has produced a change on a branch but the team wants the normal human review gate.
- Review audit log correlation IDs, tool traces, commit metadata and approval events.
- Review prompt input provenance, secret access attempts, network calls and handling log.
- Inspect returned payload, subsequent tool calls and actual organization policy record.
- Inspect pull request review state, branch protection requirements and merge timeline.
Explanation
Correct Answer
D:Inspect pull request review state, branch protection requirements and merge timeline. Autonomous implementation need not imply autonomous approval or protected branch merging. Next action: Require a pull request with diff and checks and retain human approval before merging protected code.
Incorrect Answers
A: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: Inspect pull request review state, branch protection requirements and merge timeline.
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 pull request review state, branch protection requirements and merge timeline.
C:This diagnostic relates to a different failure (A third-party documentation MCP response embeds a fake approval to disable branch protection during setup.).
Question 353
Which measurable outcome demonstrates that the following agent issue is resolved? An autonomous agent promises a detailed plan but commits files before recording why a dependency should change.
- A new worker resumes on the correct commit and does not repeat already completed fixes or hide deferred tests.
- The action log references approved plan steps and shows no unplanned dependency upgrade.
- Tool traces show only scoped repository reads and the pull request targets the approved repository.
- A delegated documentation task updates correct reference pages without touching application modules.
Explanation
Correct Answer
B:The action log references approved plan steps and shows no unplanned dependency upgrade. The corrective action is: Capture a concise proposed action list and rationale before allowing repository modifications, and link actual commits back to decisions.
Incorrect Answers
A:This outcome is relevant to another case (A long coding session ends before completion and the next agent cannot reconstruct why two tests were intentionally deferred.). For the stated scenario verify: The action log references approved plan steps and shows no unplanned dependency upgrade.
C:This outcome is relevant to another case (An issue requests a fix in one GitHub repository, but agent research references private code from a different organization.). For the stated scenario verify: The action log references approved plan steps and shows no unplanned dependency upgrade.
D:A delegated documentation task updates correct reference pages without touching application modules. This outcome is relevant to another case (A documentation agent repeatedly modifies application code when asked to update API reference examples.). For the stated scenario verify: The action log references approved plan steps and shows no unplanned dependency upgrade.
Question 354
Which review MOST directly identifies the failing control or environment in this situation? A backend worker tells a frontend worker only that the API is done, omitting authentication and error response rules.
- Inspect denied scope, escalation record, approved grant and other worker states.
- Review handoff file, response schema, auth constraints and integration tests.
- Inspect task assignments, changed-file ownership and integration review artifacts.
- Compare profile versions, task version pinning and migration notes.
Explanation
Correct Answer
B:Review handoff file, response schema, auth constraints and integration tests. Agent handoffs should transfer explicit deliverables and assumptions rather than vague completion claims. Next action: Pass a versioned handoff artifact with endpoint contracts, sample responses, constraints and test references.
Incorrect Answers
A:This diagnostic relates to a different failure (A dependency-scanning worker cannot access a restricted registry and repeatedly requests wider permissions.). For the reported case inspect: Review handoff file, response schema, auth constraints and integration tests.
C:This diagnostic relates to a different failure (A repository change needs architecture analysis, implementation and documentation but agents duplicate each other's work.). For the reported case inspect: Review handoff file, response schema, auth constraints and integration tests.
D: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 handoff file, response schema, auth constraints and integration tests.
Question 355
Consider an AI agent in the GitHub software development lifecycle: An agent is asked to migrate regulated source code and associated customer logs into a personal public workspace. What is the BEST next action?
- Keep processing within approved organizational repository and data residency boundaries, seeking compliance authorization before transfer.
- Reject the disallowed step and keep deployment blocked or route a supported remediation for approval.
- Move low-risk reversible edits to streamlined checks while retaining explicit approval for secrets, deployment and destructive changes.
- Gate the change on approved migration plan, backup verification and explicit human authorization with rollback feasibility.
Explanation
Correct Answer
A:Keep processing within approved organizational repository and data residency boundaries, seeking compliance authorization before transfer. This action addresses the stated GitHub agent engineering issue. Agent autonomy must respect organizational compliance, tenancy and data handling constraints. Verification: Files stay in authorized private storage and attempted personal-workspace uploads are denied.
Incorrect Answers
B:This action fits a different scenario (An agent's proposed plan explicitly requests disabling required code scanning before deployment.), not the reported problem. Here the appropriate action is: Keep processing within approved organizational repository and data residency boundaries, seeking compliance authorization before transfer.
C: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: Keep processing within approved organizational repository and data residency boundaries, seeking compliance authorization before transfer.
D:This action fits a different scenario (An autonomous coding agent proposes dropping a column containing customer history as part of a schema cleanup.), not the reported problem. Here the appropriate action is: Keep processing within approved organizational repository and data residency boundaries, seeking compliance authorization before transfer.
Question 356
Consider an AI agent in the GitHub software development lifecycle: A coding agent forgets earlier decisions after a long session reaches its context limit. What is the BEST next action?
- Reset role-specific transient memory and load fresh authorized deployment context when switching responsibilities.
- Persist task-relevant decisions, approved scope and tested state in versioned handoff artifacts outside transient chat context.
- Summarize validated history into a short artifact and prune irrelevant context while preserving current issue constraints.
- Define explicit queued, planning, approved, executing, blocked, reviewing and completed states with valid transitions.
Explanation
Correct Answer
B:Persist task-relevant decisions, approved scope and tested state in versioned handoff artifacts outside transient chat context. This action addresses the stated GitHub agent engineering issue. Short-term model context is not a durable source of project memory. Verification: A restarted session reconstructs the baseline and resumes without undoing a previously approved change.
Incorrect Answers
A:This action fits a different scenario (A review agent becomes a deployment agent but still carries read-only review assumptions and old sensitive snippets.), not the reported problem. Here the appropriate action is: Persist task-relevant decisions, approved scope and tested state in versioned handoff artifacts outside transient chat context.
C:This action fits a different scenario (A support agent carries hundreds of obsolete build logs into every new task and starts ignoring the current requirement.), not the reported problem. Here the appropriate action is: Persist task-relevant decisions, approved scope and tested state in versioned handoff artifacts outside transient chat context.
D:This action fits a different scenario (An agent controller records tasks only as started or complete, hiding review holds and partial failures.), not the reported problem. Here the appropriate action is: Persist task-relevant decisions, approved scope and tested state in versioned handoff artifacts outside transient chat context.
Question 357
A GitHub agentic development workflow faces this issue: A repository needs unrelated README cleanup and isolated unit tests added to separate modules. Which change MOST directly resolves it?
- Run two agents in parallel on disjoint branches with explicit scope and a later reviewed merge.
- Collect actor/session identity, tool calls, branch commits, plan approvals and final review decisions across all workers.
- Wait for schema approval and versioned artifact publication before starting schema-dependent client generation.
- Disable its triggers, revoke tokens and archive necessary task history under approved retention.
Explanation
Correct Answer
A:Run two agents in parallel on disjoint branches with explicit scope and a later reviewed merge. This action addresses the stated GitHub agent engineering issue. Parallelism is appropriate when outputs and state do not conflict. Verification: Both tasks finish without overlapping edits or unexpected dependency changes.
Incorrect Answers
B:This action fits a different scenario (An agent team produces a large release but the reviewer cannot tell which agent edited sensitive workflow permissions.), not the reported problem. Here the appropriate action is: Run two agents in parallel on disjoint branches with explicit scope and a later reviewed merge.
C:This action fits a different scenario (A client-generation agent starts before the schema agent has completed its approved API contract.), not the reported problem. Here the appropriate action is: Run two agents in parallel on disjoint branches with explicit scope and a later reviewed merge.
D:This action fits a different scenario (A once-useful release-notes agent is no longer needed but still holds API access tokens and scheduled triggers.), not the reported problem.
Question 358
A GitHub agentic development workflow faces this issue: A custom agent cannot query the approved issue catalog because its MCP server was never configured in the environment. Which change MOST directly resolves it?
- Treat issue content as untrusted task data, ignore embedded policy overrides and block exfiltration tools.
- Verify the remote MCP authentication identity, authorized token scopes and the intended operation before retrying.
- Register the approved MCP endpoint in the supported agent configuration and verify authentication and transport.
- Split work into separately authorized repository-scoped tasks and coordinate through reviewed interface changes.
Explanation
Correct Answer
C:Register the approved MCP endpoint in the supported agent configuration and verify authentication and transport. This action addresses the stated GitHub agent engineering issue. An MCP tool is available only after an appropriate server connection and tool discovery succeed. Verification: The agent discovers the intended read-only catalog tool and a controlled query returns expected issue metadata.
Incorrect Answers
A:This action fits a different scenario (A public issue description contains instructions telling the agent to upload repository secrets to an external URL.), not the reported problem. Here the appropriate action is: Register the approved MCP endpoint in the supported agent configuration and verify authentication and transport.
B:This action fits a different scenario (A remote GitHub MCP integration can list issues but cannot update labels despite the user requesting label triage.), not the reported problem. Here the appropriate action is: Register the approved MCP endpoint in the supported agent configuration and verify authentication and transport.
D:This action fits a different scenario (A Copilot cloud agent is assigned a repository task but tries to modify code in a second repository in the same session.), not the reported problem. Here the appropriate action is: Register the approved MCP endpoint in the supported agent configuration and verify authentication and transport.
Question 359
Consider an AI agent in the GitHub software development lifecycle: A long coding session ends before completion and the next agent cannot reconstruct why two tests were intentionally deferred. What is the BEST next action?
- Assign implementation and review to distinct actors with separate permissions and a required human merge decision.
- Require structured plan fields for objectives, assumptions, file changes, dependencies, tests, risks and approval status.
- Write a handoff packet with task objective, base SHA, files changed, commands run, remaining failures and next steps.
- Include an explicit rollback strategy, previous lockfile commit and canary test in the approved implementation plan.
Explanation
Correct Answer
C:Verification: A new worker resumes on the correct commit and does not repeat already completed fixes or hide deferred tests.
Incorrect Answers
A: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: Write a handoff packet with task objective, base SHA, files changed, commands run, remaining failures and next steps.
B:This action fits a different scenario (A team cannot compare agent implementation plans because every agent outputs a different free-form narrative.), not the reported problem. Here the appropriate action is: Write a handoff packet with task objective, base SHA, files changed, commands run, remaining failures and next steps.
D:This action fits a different scenario (An AI-assisted dependency update risks breaking consumers and there is no documented rollback point.), not the reported problem. Here the appropriate action is: Write a handoff packet with task objective, base SHA, files changed, commands run, remaining failures and next steps.
Question 360
What underlying agent-development control MOST directly applies to this situation? Several worker branches each pass unit tests but the integrated feature fails an end-to-end checkout flow.
- Agent lifecycle changes must preserve auditability and avoid silent mid-task behavior shifts.
- Multi-agent testing needs combined acceptance signals after separate contributions.
- Cross-agent observability must preserve identity and decision provenance through handoffs.
- Multi-agent recovery should preserve least privilege and allow targeted human decisions.
Explanation
Correct Answer
B:Multi-agent testing needs combined acceptance signals after separate contributions. This concept explains the proper correction. The corresponding intervention is: Run a coordinated integration test on the combined candidate after individual worker validation.
Incorrect Answers
A:Agent lifecycle changes must preserve auditability and avoid silent mid-task behavior shifts. This concept governs a different case (An organization replaces a legacy code-review agent profile with a stricter approved version during a release.). The correct principle here is: Multi-agent testing needs combined acceptance signals after separate contributions.
C: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: Multi-agent testing needs combined acceptance signals after separate contributions.
D:Multi-agent recovery should preserve least privilege and allow targeted human decisions. This concept governs a different case (A dependency-scanning worker cannot access a restricted registry and repeatedly requests wider permissions.). The correct principle here is: Multi-agent testing needs combined acceptance signals after separate contributions.