Microsoft GH-600 Practice Test 44
Question 430
Which proposed action creates the CLEAREST avoidable governance or delivery risk? An agent continuously labels every generated diff low risk despite repeated security-sensitive changes.
- Require a reviewable PR and relevant automated checks before protected-branch merge.
- Keep the current risk classifier because its aggregate accuracy looks high on harmless tasks.
- Keep an accurate audit record of the agent, tool action, time and commit.
- Keep production credentials outside committed instructions and logs.
Explanation
Correct Answer
B:Keep the current risk classifier because its aggregate accuracy looks high on harmless tasks. This shortcut bypasses the necessary constraint or makes the outcome unreliable. Evaluation of governance classifiers requires false-negative and false-positive evidence. Safer action: Calibrate risk labels with sampled expert review and update classification thresholds using observed misses.
Incorrect Answers
A: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: Calibrate risk labels with sampled expert review and update classification thresholds using observed misses.
C:Keep an accurate audit record of the agent, tool action, time and commit. This is an appropriate general safeguard, not the harmful shortcut. Provenance supports accountability and incident reconstruction. Targeted remediation: Calibrate risk labels with sampled expert review and update classification thresholds using observed misses.
D: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: Calibrate risk labels with sampled expert review and update classification thresholds using observed misses.
Question 431
What underlying agent-development control MOST directly applies to this situation? A shared agent is simultaneously asked to implement code and independently approve its own security review.
- Planning should be separable from action so a human can detect bad assumptions before filesystem changes.
- Dependency-aware planning prevents parallel work from creating avoidable incompatible artifacts.
- Separation of duties remains important when both implementation and review are AI-assisted.
- Agent autonomy is more reliable when task scope, success criteria and handoff artifacts are explicit.
Explanation
Correct Answer
C:Separation of duties remains important when both implementation and review are AI-assisted. This concept explains the proper correction. The corresponding intervention is: Assign implementation and review to distinct actors with separate permissions and a required human merge decision.
Incorrect Answers
A:Planning should be separable from action so a human can detect bad assumptions before filesystem changes. This concept governs a different case (A coding agent reads a broad feature request and immediately starts deleting modules before agreeing on architecture.). The correct principle here is: Separation of duties remains important when both implementation and review are AI-assisted.
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: Separation of duties remains important when both implementation and review are AI-assisted.
D:Agent autonomy is more reliable when task scope, success criteria and handoff artifacts are explicit. 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.). The correct principle here is: Separation of duties remains important when both implementation and review are AI-assisted.
Question 432
Before making a new change, what evidence BEST diagnoses this agentic workflow issue? A coding agent forgets earlier decisions after a long session reaches its context limit.
- Compare persisted handoff notes, commit history and resumed task plan.
- Compare citations, revision dates, policy owners and selected recovery plan.
- 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
A:Compare persisted handoff notes, commit history and resumed task plan. Short-term model context is not a durable source of project memory. Next action: Persist task-relevant decisions, approved scope and tested state in versioned handoff artifacts outside transient chat context.
Incorrect Answers
B:This diagnostic relates to a different failure (A maintenance agent retrieves a stale wiki snippet that contradicts the current signed release procedure.). For the reported case inspect: Compare persisted handoff notes, commit history and resumed task plan.
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: Compare persisted handoff notes, commit history and resumed task 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 persisted handoff notes, commit history and resumed task plan.
Question 433
Before making a new change, what evidence BEST diagnoses this agentic workflow issue? Several worker branches each pass unit tests but the integrated feature fails an end-to-end checkout flow.
- Inspect dependency graph, schema version and worker start timestamps.
- Compare reviewer findings, permissions, audit evidence and final adjudication.
- Review worker heartbeat timestamps, tool traces and blocker detection record.
- Inspect merge candidate SHA, end-to-end fixtures and component check records.
Explanation
Correct Answer
D:Inspect merge candidate SHA, end-to-end fixtures and component check records. Multi-agent testing needs combined acceptance signals after separate contributions. Next action: Run a coordinated integration test on the combined candidate after individual worker validation.
Incorrect Answers
A:This diagnostic relates to a different failure (A client-generation agent starts before the schema agent has completed its approved API contract.). For the reported case inspect: Inspect merge candidate SHA, end-to-end fixtures and component check records.
B:This diagnostic relates to a different failure (A security-review agent recommends disabling a workflow while an implementation agent says it is safe to enable.). For the reported case inspect: Inspect merge candidate SHA, end-to-end fixtures and component check records.
C:This diagnostic relates to a different failure (An agent manager reports that five workers are progressing but cannot explain why one branch has had no commits for hours.). For the reported case inspect: Inspect merge candidate SHA, end-to-end fixtures and component check records.
Question 434
An engineer must find the underlying cause: Two agent profiles are being compared, but each is tested on different tasks and tool permissions. Which check should be prioritized?
- Compare accessible context, proposed plan, trace classification and replay outputs.
- Review acceptance fixtures, expected amounts and post-change test results.
- Inspect lockfile hashes, test scripts, runner image and run history.
- Inspect task assignment, runner variables, tool inventory and matched results.
Explanation
Correct Answer
D:Inspect task assignment, runner variables, tool inventory and matched results. Meaningful A/B evaluation requires controlling confounding factors. Next action: Run matched task cases with controlled environments and equivalent tool access, then compare outcomes.
Incorrect Answers
A:This diagnostic relates to a different failure (An agent repeatedly chooses the wrong design despite receiving accurate repository files and functioning tools.). Compare accessible context, proposed plan, trace classification and replay outputs.
B: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 task assignment, runner variables, tool inventory and matched results.
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.). For the reported case inspect: Inspect task assignment, runner variables, tool inventory and matched results.
Question 435
An engineer must find the underlying cause: A tool call to create a pull request times out; the agent cannot tell whether the PR was created. Which check should be prioritized?
- Compare allowed tool methods, task intent, audit logs and repository state before and after.
- Compare request IDs, PR searches, creation timestamps and final linked branch.
- Inspect endpoint health, approved fallback provenance and task stop reason.
- Compare runner filesystem evidence, remote branch commits and local repository status.
Explanation
Correct Answer
B:Compare request IDs, PR searches, creation timestamps and final linked branch. Ambiguous network errors should trigger reconciliation before repeating mutating API calls. Next action: Query repository state using a stable idempotency key or unique branch before retrying creation.
Incorrect Answers
A:This diagnostic relates to a different failure (An agent summarizes dependency alerts but is offered an update-dependency tool capable of pushing changes.). For the reported case inspect: Compare request IDs, PR searches, creation timestamps and final linked branch.
C:This diagnostic relates to a different failure (A remote issue-tracker MCP server is unavailable while the task requires authoritative issue status.). Inspect endpoint health, approved fallback provenance and task stop reason.
D:This diagnostic relates to a different failure (An AI coding session executes builds in an isolated runner but the owner expects local workstation edits.). For the reported case inspect: Compare request IDs, PR searches, creation timestamps and final linked branch.
Question 436
Which result would BEST validate the corrected GitHub agent workflow? A review agent becomes a deployment agent but still carries read-only review assumptions and old sensitive snippets.
- New invocations use only deployment-scoped credentials and relevant current release state.
- One contract revision is selected with an accountable decision and both agents consume the same version.
- A new session can reconcile issue labels and PR links without inventing a success state.
- The controller rejects completion when required checks or human approval remain pending.
Explanation
Correct Answer
A:New invocations use only deployment-scoped credentials and relevant current release state. The corrective action is: Reset role-specific transient memory and load fresh authorized deployment context when switching responsibilities.
Incorrect Answers
B:One contract revision is selected with an accountable decision and both agents consume the same version. This outcome is relevant to another case (Two agents update the same design decision document with incompatible API contracts.). For the stated scenario verify: New invocations use only deployment-scoped credentials and relevant current release state.
C:This outcome is relevant to another case (An agent changes a GitHub issue label, then opens a PR without recording whether the label operation succeeded.). For the stated scenario verify: New invocations use only deployment-scoped credentials and relevant current release state.
D:The controller rejects completion when required checks or human approval remain pending. This outcome is relevant to another case (An agent controller records tasks only as started or complete, hiding review holds and partial failures.). For the stated scenario verify: New invocations use only deployment-scoped credentials and relevant current release state.
Question 437
A developer evaluates this agent workflow: A Copilot-generated pull request changes a GitHub Actions workflow and the CI checks have not executed automatically. Which engineering concept is MOST relevant?
- Workflow event trust level determines safe secret exposure and deployment permissions.
- Tool-returned prose does not constitute authorization for privileged repository operations.
- Automated agent pushes can require explicit workflow approval under platform security controls.
- An ephemeral agent runtime is distinct from the user's device and requires explicit artifact or Git transfer.
Explanation
Correct Answer
C:Automated agent pushes can require explicit workflow approval under platform security controls. This concept explains the proper correction. The corresponding intervention is: Use the supported review-and-approve workflow execution path before treating CI status as validation.
Incorrect Answers
A:Workflow event trust level determines safe secret exposure and deployment permissions. This concept governs a different case (A CI remediation agent proposes changing deployment secrets because tests fail in an untrusted pull-request environment.). The correct principle here is: Automated agent pushes can require explicit workflow approval under platform security controls.
B:Tool-returned prose does not constitute authorization for privileged repository operations. This concept governs a different case (A third-party documentation MCP response embeds a fake approval to disable branch protection during setup.). The correct principle here is: Automated agent pushes can require explicit workflow approval under platform security controls.
D:This concept governs a different case (An AI coding session executes builds in an isolated runner but the owner expects local workstation edits.). An ephemeral agent runtime is distinct from the user's device and requires explicit artifact or Git transfer.
Question 438
Which technical principle BEST explains the proper response to this agentic SDLC scenario? An autonomous agent promises a detailed plan but commits files before recording why a dependency should change.
- High-impact design transitions require distinct approval checkpoints before action, not just post-hoc review.
- Planning should be separable from action so a human can detect bad assumptions before filesystem changes.
- One generic completion signal cannot validate tasks with radically different failure consequences.
- Inspectable planning artifacts improve causal traceability across tool calls and code changes.
Explanation
Correct Answer
D:Inspectable planning artifacts improve causal traceability across tool calls and code changes. This concept explains the proper correction. The corresponding intervention is: Capture a concise proposed action list and rationale before allowing repository modifications, and link actual commits back to decisions.
Incorrect Answers
A:High-impact design transitions require distinct approval checkpoints before action, not just post-hoc review.
B:Planning should be separable from action so a human can detect bad assumptions before filesystem changes. This concept governs a different case (A coding agent reads a broad feature request and immediately starts deleting modules before agreeing on architecture.). The correct principle here is: Inspectable planning artifacts improve causal traceability across tool calls and code changes.
C:One generic completion signal cannot validate tasks with radically different failure consequences. This concept governs a different case (An agent builds a harmless Markdown linter and a credential rotation task using the same generic pass condition.). The correct principle here is: Inspectable planning artifacts improve causal traceability across tool calls and code changes.
Question 439
Which review MOST directly identifies the failing control or environment in this situation? A custom agent's MCP configuration embeds an API secret directly in a tracked Markdown file.
- Inspect repository or organization MCP allow list and failed connection attempts.
- Inspect token grants, MCP server settings and attempted denied operations.
- Check workflow event, head SHA, token scopes and resulting check annotations.
- Scan repository history, profile files, workflow logs and runtime secret grants.
Explanation
Correct Answer
D:Scan repository history, profile files, workflow logs and runtime secret grants. Agent tool configuration and secret material require separate governance and access controls. Next action: Move secrets to the supported secret management mechanism and pass only scoped environment references at runtime.
Incorrect Answers
A: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.). For the reported case inspect: Scan repository history, profile files, workflow logs and runtime secret grants.
B:This diagnostic relates to a different failure (A GitHub MCP server is configured with a token that can administer all repositories, though the agent only needs to read one issue.). For the reported case inspect: Scan repository history, profile files, workflow logs and runtime secret grants.
C:This diagnostic relates to a different failure (A team wants an agent's proposed change checked by an existing CI workflow before merge.). For the reported case inspect: Scan repository history, profile files, workflow logs and runtime secret grants.
Question 440
Which measurable outcome demonstrates that the following agent issue is resolved? An agent is granted permission to write source, approve its own PR and merge to production in one uninterrupted loop.
- Files stay in authorized private storage and attempted personal-workspace uploads are denied.
- Documentation review succeeds, and attempts to modify secrets or rulesets are denied.
- Self-approval cannot satisfy the required reviewer gate and merges preserve independent authorization.
- Attempts to send files to the unknown destination are blocked while approved build dependencies remain reachable.
Explanation
Correct Answer
C:Self-approval cannot satisfy the required reviewer gate and merges preserve independent authorization. The corrective action is: Separate writing, review and merge authority with enforced branch rules and distinct accountable actors.
Incorrect Answers
A:This outcome is relevant to another case (An agent is asked to migrate regulated source code and associated customer logs into a personal public workspace.). For the stated scenario verify: Self-approval cannot satisfy the required reviewer gate and merges preserve independent authorization.
B:This outcome is relevant to another case (A documentation agent has a token that can edit organization secret settings, despite needing only to read code.). For the stated scenario verify: Self-approval cannot satisfy the required reviewer gate and merges preserve independent authorization.
D:This outcome is relevant to another case (A CI agent opens an unreviewed internet upload endpoint after reading internal repository files.). For the stated scenario verify: Self-approval cannot satisfy the required reviewer gate and merges preserve independent authorization.