Microsoft GH-600 Practice Test 56
Question 550
An engineer must find the underlying cause: A team wants an agent to implement a small documentation change while preserving ordinary GitHub review and audit history. Which check should be prioritized?
- Compare plan rollback sections, commit graph, lockfile history and canary outcomes.
- Inspect issue linkage, branch target, PR diff, workflow checks and reviewer requests.
- Validate sample plans against the agreed schema and review missing assumptions.
- Inspect issue acceptance text, tested monetary fixtures, result logs and business-owner signoff.
Explanation
Correct Answer
B:GitHub issues, branches and pull requests form a traceable SDLC control plane for agent contributions. This inspection tests the affected workflow and identifies the causal condition.
Incorrect Answers
A:This diagnostic relates to a different failure (An AI-assisted dependency update risks breaking consumers and there is no documented rollback point.). For the reported case inspect: Inspect issue linkage, branch target, PR diff, workflow checks and reviewer requests.
C:This diagnostic relates to a different failure (A team cannot compare agent implementation plans because every agent outputs a different free-form narrative.). For the reported case inspect: Inspect issue linkage, branch target, PR diff, workflow checks and reviewer requests.
D:This diagnostic relates to a different failure (An agent reports a checkout feature complete because it compiled, despite failure to meet tax rounding requirements.). For the reported case inspect: Inspect issue linkage, branch target, PR diff, workflow checks and reviewer requests.
Question 551
Which measurable outcome demonstrates that the following agent issue is resolved? An agent passes its tests once but the result cannot be reproduced because dependency versions were not saved.
- Both local isolated and CI environments pass the same tests using compatible versions.
- A clean independent runner reproduces the same measured output from the recorded commit.
- The agent completes doc review and cannot invoke the deployment endpoint.
- Sensitivity to high-impact permission edits improves while harmless documentation changes remain fast.
Explanation
Correct Answer
B:A clean independent runner reproduces the same measured output from the recorded commit. The corrective action is: Pin and preserve execution environment details, fixture versions, command invocations and resulting artifacts.
Incorrect Answers
A:This outcome is relevant to another case (An agent's tests fail only in the runner because Node is older than the repository's supported runtime.). For the stated scenario verify: A clean independent runner reproduces the same measured output from the recorded commit.
C:The agent completes doc review and cannot invoke the deployment endpoint. This outcome is relevant to another case (An agent repeatedly attempts forbidden deployment actions although its assigned task is documentation review.). For the stated scenario verify: A clean independent runner reproduces the same measured output from the recorded commit.
D:Sensitivity to high-impact permission edits improves while harmless documentation changes remain fast. This outcome is relevant to another case (An agent continuously labels every generated diff low risk despite repeated security-sensitive changes.). For the stated scenario verify: A clean independent runner reproduces the same measured output from the recorded commit.
Question 552
Before making a new change, what evidence BEST diagnoses this agentic workflow issue? A batch of agent tasks fails for different reasons: malformed plans, API 429 responses and missing dependency versions.
- Inspect raw HTTP status, token scopes, resource identity and final retrieval log.
- Inspect profile tool allow list, tool denial events and completed task artifacts.
- Review acceptance fixtures, expected amounts and post-change test results.
- Review categorized traces, failed commands, HTTP codes and environment manifests.
Explanation
Correct Answer
D:Review categorized traces, failed commands, HTTP codes and environment manifests. Error analysis requires distinguishing causal failure types before selecting a tuning strategy. Next action: Classify each failure by reasoning, tool/service or environment and assign separate corrective actions.
Incorrect Answers
A:This diagnostic relates to a different failure (An agent reports a missing file after a repository API returned 403 permission denied.). For the reported case inspect: Review categorized traces, failed commands, HTTP codes and environment manifests.
B:This diagnostic relates to a different failure (An agent repeatedly attempts forbidden deployment actions although its assigned task is documentation review.). For the reported case inspect: Review categorized traces, failed commands, HTTP codes and environment manifests.
C: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: Review categorized traces, failed commands, HTTP codes and environment manifests.
Question 553
After the recommended fix, which observation MOST convincingly proves success? An agent claims to improve parsing but the new branch silently drops a previously supported event format.
- The update handles new inputs without regressing representative previously valid events.
- The report links every case to its actual cause and the appropriate targeted remediation.
- A replayed test demonstrates corrected design choice without a new tool or environment failure.
- A dashboard distinguishes fast-but-rejected work from reviewed successful deliveries.
Explanation
Correct Answer
A:The update handles new inputs without regressing representative previously valid events. The corrective action is: Run old and new fixtures against a recorded baseline and compare both expected positives and negatives.
Incorrect Answers
B:This outcome is relevant to another case (A batch of agent tasks fails for different reasons: malformed plans, API 429 responses and missing dependency versions.). For the stated scenario verify: The update handles new inputs without regressing representative previously valid events.
C:This outcome is relevant to another case (An agent repeatedly chooses the wrong design despite receiving accurate repository files and functioning tools.). For the stated scenario verify: The update handles new inputs without regressing representative previously valid events.
D:A dashboard distinguishes fast-but-rejected work from reviewed successful deliveries. This outcome is relevant to another case (A platform team measures agent quality only by how quickly it creates pull requests.). For the stated scenario verify: The update handles new inputs without regressing representative previously valid events.
Question 554
An engineer must find the underlying cause: An agent can correct comments safely but its operator also proposes letting it rotate production credentials without review. Which check should be prioritized?
- Inspect audit events, workflow artifacts, commit SHA and approval records.
- Review action risk matrix, permission tiers and required approval records.
- Compare tiered policy, approval counts and sampled risk outcomes.
- Review migration diff, data retention obligations, backup verification and human approval event.
Explanation
Correct Answer
B:Review action risk matrix, permission tiers and required approval records. Autonomy should be proportional to task risk rather than identical for all repository operations. Next action: Classify actions by reversibility, data sensitivity and operational impact and assign distinct approval tiers.
Incorrect Answers
A:This diagnostic relates to a different failure (An agent updates security rules without recording its session identity, plan or approver.). For the reported case inspect: Review action risk matrix, permission tiers and required approval records.
C:This diagnostic relates to a different failure (A team requires manager approval for every harmless README typo, delaying work while high-risk code still receives weak review.). For the reported case inspect: Review action risk matrix, permission tiers and required approval records.
D:This diagnostic relates to a different failure (An autonomous coding agent proposes dropping a column containing customer history as part of a schema cleanup.). For the reported case inspect: Review action risk matrix, permission tiers and required approval records.
Question 555
A developer evaluates this agent workflow: An agent needs to rename a public API but the organization requires architects to approve breaking interfaces. Which engineering concept is MOST relevant?
- Explicit inputs, outputs and machine-checkable contracts reduce hidden assumptions between delegated tasks.
- Persistent repository-specific instructions prevent repeated ambiguity without replacing task-level requirements.
- A plausible implementation plan is not approval to bypass security controls or organization rules.
- High-impact design transitions require distinct approval checkpoints before action, not just post-hoc review.
Explanation
Correct Answer
D:High-impact design transitions require distinct approval checkpoints before action, not just post-hoc review. This concept explains the proper correction. The corresponding intervention is: Allow discovery and planning autonomously, but block the interface-changing commit until recorded architectural approval.
Incorrect Answers
A:Explicit inputs, outputs and machine-checkable contracts reduce hidden assumptions between delegated tasks.
B:Persistent repository-specific instructions prevent repeated ambiguity without replacing task-level requirements. This concept governs a different case (A team wants all agent changes in one repository to use its API naming conventions and existing test runner.). The correct principle here is: High-impact design transitions require distinct approval checkpoints before action, not just post-hoc review.
C:A plausible implementation plan is not approval to bypass security controls or organization rules.
Question 556
After the recommended fix, which observation MOST convincingly proves success? A tool call to create a pull request times out; the agent cannot tell whether the PR was created.
- The server authenticates while no credential appears in committed files, printed logs or PR diffs.
- Exactly one PR exists for the task, and the agent reports uncertainty until verification completes.
- The agent discovers the intended read-only catalog tool and a controlled query returns expected issue metadata.
- Every changed file and workflow permission maps to an approved trace and revision.
Explanation
Correct Answer
B:Exactly one PR exists for the task, and the agent reports uncertainty until verification completes. The corrective action is: Query repository state using a stable idempotency key or unique branch before retrying creation.
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: Exactly one PR exists for the task, and the agent reports uncertainty until verification completes.
C:This outcome is relevant to another case (A custom agent cannot query the approved issue catalog because its MCP server was never configured in the environment.). For the stated scenario verify: Exactly one PR exists for the task, and the agent reports uncertainty until verification completes.
D: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: Exactly one PR exists for the task, and the agent reports uncertainty until verification completes.
Question 557
Which measurable outcome demonstrates that the following agent issue is resolved? A client-generation agent starts before the schema agent has completed its approved API contract.
- A replacement resumes from the documented checkpoint without rerunning or overwriting completed code.
- Final integration waits for all required worker artifacts and records any incomplete work.
- The generated client uses the approved schema hash and passes contract tests.
- The retired agent cannot act while historical release evidence remains available for audit.
Explanation
Correct Answer
C:The generated client uses the approved schema hash and passes contract tests. The corrective action is: Wait for schema approval and versioned artifact publication before starting schema-dependent client generation.
Incorrect Answers
A:A replacement resumes from the documented checkpoint without rerunning or overwriting completed code. This outcome is relevant to another case (A documentation agent fails mid-run while two implementation agents complete their code changes.). For the stated scenario verify: The generated client uses the approved schema hash and passes contract tests.
B: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 generated client uses the approved schema hash and passes contract tests.
D: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 generated client uses the approved schema hash and passes contract tests.
Question 558
Which result would BEST validate the corrected GitHub agent workflow? An agent creates a branch and updates an issue label, then its final pull-request creation fails.
- The report lists alert facts without any branch, package or ruleset changes.
- No protection rule changes occur and the suspicious approval claim is documented as untrusted.
- The agent discovers the intended read-only catalog tool and a controlled query returns expected issue metadata.
- The failed workflow leaves either a usable recovery branch or a documented reverted state with no orphaned labels.
Explanation
Correct Answer
D:The failed workflow leaves either a usable recovery branch or a documented reverted state with no orphaned labels. The corrective action is: Record committed side effects and perform approved compensating cleanup or escalate while preserving audit history.
Incorrect Answers
A:This outcome is relevant to another case (An agent summarizes dependency alerts but is offered an update-dependency tool capable of pushing changes.). For the stated scenario verify: The failed workflow leaves either a usable recovery branch or a documented reverted state with no orphaned labels.
B:This outcome is relevant to another case (A third-party documentation MCP response embeds a fake approval to disable branch protection during setup.). For the stated scenario verify: The failed workflow leaves either a usable recovery branch or a documented reverted state with no orphaned labels.
C:This outcome is relevant to another case (A custom agent cannot query the approved issue catalog because its MCP server was never configured in the environment.). For the stated scenario verify: The failed workflow leaves either a usable recovery branch or a documented reverted state with no orphaned labels.
Question 559
Which TWO claims together describe the safe correction and measurable result? An agent's tests fail only in the runner because Node is older than the repository's supported runtime.
- Action: Classify the failure as environment incompatibility, align approved runtime versions and rerun tests.
- Verification: A reviewer can reconstruct why each status was assigned to a particular commit.
- Verification: Both local isolated and CI environments pass the same tests using compatible versions.
- Unsafe shortcut: Rewrite product logic to suppress a runtime error caused by an obsolete build image.
- Action: Revise instructions to state permitted files, expected outputs and explicit stop/escalation conditions.
Explanation
Correct Answers
A:Action: Classify the failure as environment incompatibility, align approved runtime versions and rerun tests. This fixes the target workflow. Environment drift is a separate failure category from defective generated code.
C:Verification: Both local isolated and CI environments pass the same tests using compatible versions. This checks the intended result. Environment drift is a separate failure category from defective generated code.
Incorrect Answers
B:This evidence relates to another situation (An agent evaluation report displays pass/fail but discards the actual test logs and code revision tested.). For the target verify: Both local isolated and CI environments pass the same tests using compatible versions.
D:Unsafe shortcut: Rewrite product logic to suppress a runtime error caused by an obsolete build image. This is neither an appropriate remediation nor valid evidence. Environment drift is a separate failure category from defective generated code. Safer action: Classify the failure as environment incompatibility, align approved runtime versions and rerun tests.
E:Action: Revise instructions to state permitted files, expected outputs and explicit stop/escalation conditions. This action responds to a different problem (An agent writes oversized broad edits because task instructions do not specify changed-file boundaries.). For the target use: Classify the failure as environment incompatibility, align approved runtime versions and rerun tests.
Question 560
An engineer must find the underlying cause: An agent team produces a large release but the reviewer cannot tell which agent edited sensitive workflow permissions. Which check should be prioritized?
- Compare task scopes, changed files and merge conflict count.
- Review handoff file, response schema, auth constraints and integration tests.
- Compare profile versions, task version pinning and migration notes.
- Inspect session logs, commit authors, approval artifacts and workflow diffs.
Explanation
Correct Answer
D:Inspect session logs, commit authors, approval artifacts and workflow diffs. Cross-agent observability must preserve identity and decision provenance through handoffs. Next action: Collect actor/session identity, tool calls, branch commits, plan approvals and final review decisions across all workers.
Incorrect Answers
A:This diagnostic relates to a different failure (A repository needs unrelated README cleanup and isolated unit tests added to separate modules.). For the reported case inspect: Inspect session logs, commit authors, approval artifacts and workflow diffs.
B:This diagnostic relates to a different failure (A backend worker tells a frontend worker only that the API is done, omitting authentication and error response rules.). For the reported case inspect: Inspect session logs, commit authors, approval artifacts and workflow diffs.
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.). For the reported case inspect: Inspect session logs, commit authors, approval artifacts and workflow diffs.