Microsoft GH-600 Practice Test 8
Question 70
What is the LEAST defensible response to this AI agent workflow problem? An agent can correct comments safely but its operator also proposes letting it rotate production credentials without review.
- Grant every agent full production rights because low-risk documentation tasks often succeed.
- Preserve the current branch SHA and task acceptance criteria before making edits.
- Validate the task's actual business outcome rather than relying on agent confidence.
- Limit external data access to the specific approved repository and tenant.
Explanation
Correct Answer
A:Grant every agent full production rights because low-risk documentation tasks often succeed. This shortcut bypasses the necessary constraint or makes the outcome unreliable. Autonomy should be proportional to task risk rather than identical for all repository operations. Safer action: Classify actions by reversibility, data sensitivity and operational impact and assign distinct approval tiers.
Incorrect Answers
B: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: Classify actions by reversibility, data sensitivity and operational impact and assign distinct approval tiers.
C:Validate the task's actual business outcome rather than relying on agent confidence. This is an appropriate general safeguard, not the harmful shortcut. Self-reported completion is a weaker signal than external verification. Targeted remediation: Classify actions by reversibility, data sensitivity and operational impact and assign distinct approval tiers.
D:Limit external data access to the specific approved repository and tenant. This is an appropriate general safeguard, not the harmful shortcut. Context retrieval should respect authorization boundaries. Targeted remediation: Classify actions by reversibility, data sensitivity and operational impact and assign distinct approval tiers.
Question 71
What underlying agent-development control MOST directly applies to this situation? A schema validation worker rejects the API contract while dependent client and test agents continue implementing it.
- Subagents benefit from isolated context when inputs and tools are constrained to their mandate.
- Orchestrator reliability depends on recoverable state beyond one process's memory.
- Isolated success does not guarantee compatible combined changes.
- Failed dependencies must propagate to affected downstream workflow tasks.
Explanation
Correct Answer
D:Failed dependencies must propagate to affected downstream workflow tasks. This concept explains the proper correction. The corresponding intervention is: Cancel or pause dependent tasks when their prerequisite contract is rejected, then restart from approved revision.
Incorrect Answers
A:Subagents benefit from isolated context when inputs and tools are constrained to their mandate.
B:Orchestrator reliability depends on recoverable state beyond one process's memory. This concept governs a different case (An orchestration controller crashes after two agents finish and one is still executing, losing temporary coordination memory.). The correct principle here is: Failed dependencies must propagate to affected downstream workflow tasks.
C:Isolated success does not guarantee compatible combined changes. This concept governs a different case (Two agents independently change a function signature in incompatible ways, but both local branches pass tests.). The correct principle here is: Failed dependencies must propagate to affected downstream workflow tasks.
Question 72
Which measurable outcome demonstrates that the following agent issue is resolved? A retrieved issue asks an agent to paste a production secret into a pull request discussion as debugging evidence.
- No secret value appears in PR text or logs, and authorized tests can still diagnose the issue.
- The staging action succeeds under its approval while production delete remains blocked.
- Documentation edits proceed with ordinary review while credential rotation requires explicit authorized approval.
- Files stay in authorized private storage and attempted personal-workspace uploads are denied.
Explanation
Correct Answer
A:No secret value appears in PR text or logs, and authorized tests can still diagnose the issue. The corrective action is: Deny secret extraction and public disclosure, redact sensitive values, and escalate the debugging need safely.
Incorrect Answers
B:This outcome is relevant to another case (An owner approves a limited staging deployment but an agent later tries to reuse that approval for production deletion.). For the stated scenario verify: No secret value appears in PR text or logs, and authorized tests can still diagnose the issue.
C:This outcome is relevant to another case (An agent can correct comments safely but its operator also proposes letting it rotate production credentials without review.). For the stated scenario verify: No secret value appears in PR text or logs, and authorized tests can still diagnose the issue.
D: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: No secret value appears in PR text or logs, and authorized tests can still diagnose the issue.
Question 73
Which review MOST directly identifies the failing control or environment in this situation? An agent's tests fail only in the runner because Node is older than the repository's supported runtime.
- Inspect task assignment, runner variables, tool inventory and matched results.
- Compare environment manifests, error stack and test outcomes on matched runtimes.
- Review instructions before and after, diff footprint and regression results.
- Inspect profile tool allow list, tool denial events and completed task artifacts.
Explanation
Correct Answer
B:Compare environment manifests, error stack and test outcomes on matched runtimes. Environment drift is a separate failure category from defective generated code. Next action: Classify the failure as environment incompatibility, align approved runtime versions and rerun tests.
Incorrect Answers
A:This diagnostic relates to a different failure (Two agent profiles are being compared, but each is tested on different tasks and tool permissions.). For the reported case inspect: Compare environment manifests, error stack and test outcomes on matched runtimes.
C:This diagnostic relates to a different failure (An agent writes oversized broad edits because task instructions do not specify changed-file boundaries.). Review instructions before and after, diff footprint and regression results.
D: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: Compare environment manifests, error stack and test outcomes on matched runtimes.
Question 74
Which technical principle BEST explains the proper response to this agentic SDLC scenario? A remote GitHub MCP integration can list issues but cannot update labels despite the user requesting label triage.
- CI invocation must respect workflow event permissions and the exact code revision being evaluated.
- Tool-returned prose does not constitute authorization for privileged repository operations.
- Remote tool authorization requires appropriate identity and operation scope, not merely successful server discovery.
- Reliable tool use must account for service quotas and reduce redundant calls.
Explanation
Correct Answer
C:The corresponding intervention is: Verify the remote MCP authentication identity, authorized token scopes and the intended operation before retrying.
Incorrect Answers
A:CI invocation must respect workflow event permissions and the exact code revision being evaluated.
B:This concept governs a different case (A third-party documentation MCP response embeds a fake approval to disable branch protection during setup.).
D:This concept governs a different case (An agent fetches hundreds of GitHub issues and exhausts the API rate budget after repeated uncached requests.). Reliable tool use must account for service quotas and reduce redundant calls.
Question 75
A developer evaluates this agent workflow: Two approved agents update the same lockfile with different compatible dependency versions from different baselines. Which engineering concept is MOST relevant?
- Cross-agent observability must preserve identity and decision provenance through handoffs.
- Parallelism is appropriate when outputs and state do not conflict.
- Safe merge ordering and reconciliation matter even when separate workers make individually valid changes.
- Operational multi-agent supervision requires time-series signals as well as final artifacts.
Explanation
Correct Answer
C:Safe merge ordering and reconciliation matter even when separate workers make individually valid changes. This concept explains the proper correction. The corresponding intervention is: Choose an integration order, rebase the second branch and rerun dependency resolution and tests on the combined state.
Incorrect Answers
A:This concept governs a different case (An agent team produces a large release but the reviewer cannot tell which agent edited sensitive workflow permissions.). Cross-agent observability must preserve identity and decision provenance through handoffs.
B:Parallelism is appropriate when outputs and state do not conflict. This concept governs a different case (A repository needs unrelated README cleanup and isolated unit tests added to separate modules.). The correct principle here is: Safe merge ordering and reconciliation matter even when separate workers make individually valid changes.
D:This concept governs a different case (An agent manager reports that five workers are progressing but cannot explain why one branch has had no commits for hours.). Operational multi-agent supervision requires time-series signals as well as final artifacts.
Question 76
Consider an AI agent in the GitHub software development lifecycle: A manager agent loses track of which three workers have completed checks and merges the task early. What is the BEST next action?
- Use a manager-worker orchestration plan with distinct scoped tasks, shared interface contract and final integration review.
- Delegate only task-relevant files and authorized permissions to a separated specialist context.
- Pass a versioned handoff artifact with endpoint contracts, sample responses, constraints and test references.
- Maintain a durable per-worker status ledger with branch SHA, tests, artifact paths and review holds.
Explanation
Correct Answer
D:Maintain a durable per-worker status ledger with branch SHA, tests, artifact paths and review holds. This action addresses the stated GitHub agent engineering issue. Coordination requires an authoritative shared state rather than optimistic conversational summaries. Verification: Final integration waits for all required worker artifacts and records any incomplete work.
Incorrect Answers
A:This action fits a different scenario (A repository change needs architecture analysis, implementation and documentation but agents duplicate each other's work.), not the reported problem. Here the appropriate action is: Maintain a durable per-worker status ledger with branch SHA, tests, artifact paths and review holds.
B:This action fits a different scenario (A main agent asks a specialist to inspect dependency security but inadvertently passes unrelated client secrets to its context.), not the reported problem. Here the appropriate action is: Maintain a durable per-worker status ledger with branch SHA, tests, artifact paths and review holds.
C:This action fits a different scenario (A backend worker tells a frontend worker only that the API is done, omitting authentication and error response rules.), not the reported problem. Here the appropriate action is: Maintain a durable per-worker status ledger with branch SHA, tests, artifact paths and review holds.
Question 77
A developer evaluates this agent workflow: An agent repeatedly chooses the wrong design despite receiving accurate repository files and functioning tools. Which engineering concept is MOST relevant?
- Evaluation metrics should align agent output quality and safety with business delivery goals.
- Evaluation signals are only auditable when linked to specific reproducible artifacts.
- Reasoning errors differ from tool failures when evidence was available but interpreted incorrectly.
- Error analysis requires distinguishing causal failure types before selecting a tuning strategy.
Explanation
Correct Answer
C:Reasoning errors differ from tool failures when evidence was available but interpreted incorrectly. This concept explains the proper correction. The corresponding intervention is: Review plan assumptions and decision traces against the intended architecture, then revise decision constraints.
Incorrect Answers
A:Evaluation metrics should align agent output quality and safety with business delivery goals. This concept governs a different case (A platform team measures agent quality only by how quickly it creates pull requests.). The correct principle here is: Reasoning errors differ from tool failures when evidence was available but interpreted incorrectly.
B:Evaluation signals are only auditable when linked to specific reproducible artifacts. This concept governs a different case (An agent evaluation report displays pass/fail but discards the actual test logs and code revision tested.). The correct principle here is: Reasoning errors differ from tool failures when evidence was available but interpreted incorrectly.
D:This concept governs a different case (A batch of agent tasks fails for different reasons: malformed plans, API 429 responses and missing dependency versions.). Error analysis requires distinguishing causal failure types before selecting a tuning strategy.
Question 78
After the recommended fix, which observation MOST convincingly proves success? An organization reduces agent execution time by disabling all security checks, causing rejected changes to increase.
- A reviewer can reconstruct why each status was assigned to a particular commit.
- A clean independent runner reproduces the same measured output from the recorded commit.
- Total delivery time improves without reduced scan coverage or increased defect escape rate.
- The issue label or comment exists with a traceable successful request and actor.
Explanation
Correct Answer
C:Total delivery time improves without reduced scan coverage or increased defect escape rate. The corrective action is: Measure end-to-end review acceptance and risk alongside latency, then optimize safe bottlenecks.
Incorrect Answers
A:This outcome is relevant to another case (An agent evaluation report displays pass/fail but discards the actual test logs and code revision tested.). For the stated scenario verify: Total delivery time improves without reduced scan coverage or increased defect escape rate.
B:This outcome is relevant to another case (An agent passes its tests once but the result cannot be reproduced because dependency versions were not saved.). For the stated scenario verify: Total delivery time improves without reduced scan coverage or increased defect escape rate.
D:This outcome is relevant to another case (An agent's final summary says it updated an issue, but the issue has no change.). For the stated scenario verify: Total delivery time improves without reduced scan coverage or increased defect escape rate.
Question 79
Which result would BEST validate the corrected GitHub agent workflow? An agent fetches hundreds of GitHub issues and exhausts the API rate budget after repeated uncached requests.
- The agent completes issue discovery within limits without duplicate expensive queries.
- Tool inventory and invocation traces show only approved repository operations for the bug fix.
- The local workstation remains unchanged and the PR reflects the complete authorized agent diff.
- The report lists alert facts without any branch, package or ruleset changes.
Explanation
Correct Answer
A:The agent completes issue discovery within limits without duplicate expensive queries. The corrective action is: Use bounded pagination, caching and rate-limit-aware backoff within the authorized data scope.
Incorrect Answers
B:This outcome is relevant to another case (A bug-fixing agent needs to inspect repository files but its configuration also exposes production cloud deletion tools.). For the stated scenario verify: The agent completes issue discovery within limits without duplicate expensive queries.
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 agent completes issue discovery within limits without duplicate expensive queries.
D:The report lists alert facts without any branch, package or ruleset changes. 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 agent completes issue discovery within limits without duplicate expensive queries.
Question 80
An engineer must find the underlying cause: A repository assistant wants to change a GitHub Actions job token from read-only to write-all after a failing check. Which check should be prioritized?
- Inspect egress firewall policy, outbound request logs and successful approved traffic.
- Compare workflow YAML grants, audit approval and authorized API calls.
- Inspect example output, sensitivity classification and publishing approval.
- Inspect policy evaluator result, proposed diff and workflow security settings.
Explanation
Correct Answer
B:Compare workflow YAML grants, audit approval and authorized API calls. Workflow credential scope should be a reviewed control, not a debugging shortcut. Next action: Require explicit policy review, restrict permissions to necessary job operations and test a narrow replacement.
Incorrect Answers
A:This diagnostic relates to a different failure (A CI agent opens an unreviewed internet upload endpoint after reading internal repository files.). For the reported case inspect: Compare workflow YAML grants, audit approval and authorized API calls.
C:This diagnostic relates to a different failure (An AI agent drafts user-facing explanations that reveal private customer incident details obtained from a diagnostic log.). For the reported case inspect: Compare workflow YAML grants, audit approval and authorized API calls.
D:This diagnostic relates to a different failure (An agent's proposed plan explicitly requests disabling required code scanning before deployment.). For the reported case inspect: Compare workflow YAML grants, audit approval and authorized API calls.