Microsoft GH-600 Practice Test 48
Question 470
Which review MOST directly identifies the failing control or environment in this situation? An agent's final summary says it updated an issue, but the issue has no change.
- Inspect profile tool allow list, tool denial events and completed task artifacts.
- Inspect alert location, scanner rule, sample fixtures and documented approval.
- Inspect artifact links, SHA binding and independent rerun evidence.
- Compare tool trace IDs, response codes and issue event timeline.
Explanation
Correct Answer
D:Compare tool trace IDs, response codes and issue event timeline. External side-effect success should be grounded in tool responses and system-of-record evidence. Next action: Inspect tool-call request and response traces, then reconcile actual GitHub issue history before marking complete.
Incorrect Answers
A: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 tool trace IDs, response codes and issue event timeline.
B:This diagnostic relates to a different failure (A code scanning alert flags a generated test fixture as secret material while production files are clean.). For the reported case inspect: Compare tool trace IDs, response codes and issue event timeline.
C:This diagnostic relates to a different failure (An agent evaluation report displays pass/fail but discards the actual test logs and code revision tested.). For the reported case inspect: Compare tool trace IDs, response codes and issue event timeline.
Question 471
A developer evaluates this agent workflow: An agent is asked to migrate regulated source code and associated customer logs into a personal public workspace. Which engineering concept is MOST relevant?
- Agent autonomy must respect organizational compliance, tenancy and data handling constraints.
- Responsible AI and data governance guardrails constrain agent output as well as input permissions.
- Autonomy should be proportional to task risk rather than identical for all repository operations.
- Policy guardrails must block incompatible actions even when an agent predicts faster completion.
Explanation
Correct Answer
A:Agent autonomy must respect organizational compliance, tenancy and data handling constraints. This concept explains the proper correction. The corresponding intervention is: Keep processing within approved organizational repository and data residency boundaries, seeking compliance authorization before transfer.
Incorrect Answers
B:Responsible AI and data governance guardrails constrain agent output as well as input permissions.
C:Autonomy should be proportional to task risk rather than identical for all repository operations. This concept governs a different case (An agent can correct comments safely but its operator also proposes letting it rotate production credentials without review.). The correct principle here is: Agent autonomy must respect organizational compliance, tenancy and data handling constraints.
D:Policy guardrails must block incompatible actions even when an agent predicts faster completion. This concept governs a different case (An agent's proposed plan explicitly requests disabling required code scanning before deployment.). The correct principle here is: Agent autonomy must respect organizational compliance, tenancy and data handling constraints.
Question 472
For this GH-600 agent-governance case, choose the most defensible action: Three agent tasks modify the same generated client, and they start concurrently before the API schema is finalized.
- Sequence schema approval before client generation and run only independent work in parallel.
- Assign implementation and review to distinct actors with separate permissions and a required human merge decision.
- Include an explicit rollback strategy, previous lockfile commit and canary test in the approved implementation plan.
- Define a reusable documentation custom-agent profile with a narrow role, allowed tools and documentation-focused instructions.
Explanation
Correct Answer
A:Sequence schema approval before client generation and run only independent work in parallel. This action addresses the stated GitHub agent engineering issue. Dependency-aware planning prevents parallel work from creating avoidable incompatible artifacts. Verification: Generated client changes use the same approved schema version and conflicting branches are avoided.
Incorrect Answers
B: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: Sequence schema approval before client generation and run only independent work in parallel.
C: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: Sequence schema approval before client generation and run only independent work in parallel.
D:This action fits a different scenario (A documentation agent repeatedly modifies application code when asked to update API reference examples.), not the reported problem. Here the appropriate action is: Sequence schema approval before client generation and run only independent work in parallel.
Question 473
What underlying agent-development control MOST directly applies to this situation? A coordinator retries a worker assignment after a timeout, causing two agents to open identical pull requests.
- Retiring an agent includes credential revocation and record preservation, not just hiding its profile.
- Multi-agent testing needs combined acceptance signals after separate contributions.
- Idempotent orchestration avoids duplicate work when assignment acknowledgement is lost.
- Multi-agent recovery should preserve least privilege and allow targeted human decisions.
Explanation
Correct Answer
C:Idempotent orchestration avoids duplicate work when assignment acknowledgement is lost. This concept explains the proper correction. The corresponding intervention is: Use stable task IDs and reconcile active sessions or PRs before retrying delegation.
Incorrect Answers
A:Retiring an agent includes credential revocation and record preservation, not just hiding its profile.
B:Multi-agent testing needs combined acceptance signals after separate contributions. This concept governs a different case (Several worker branches each pass unit tests but the integrated feature fails an end-to-end checkout flow.). The correct principle here is: Idempotent orchestration avoids duplicate work when assignment acknowledgement is lost.
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: Idempotent orchestration avoids duplicate work when assignment acknowledgement is lost.
Question 474
Which result would BEST validate the corrected GitHub agent workflow? A schema validation worker rejects the API contract while dependent client and test agents continue implementing it.
- No downstream branch merges code based on the invalid schema and retained work is labeled obsolete.
- Both tasks finish without overlapping edits or unexpected dependency changes.
- Exactly one authorized worker owns the task and there is one expected PR or recorded cancellation.
- Localization changes stay within resource files and TypeScript fixes stay in code under normal review.
Explanation
Correct Answer
A:No downstream branch merges code based on the invalid schema and retained work is labeled obsolete. The corrective action is: Cancel or pause dependent tasks when their prerequisite contract is rejected, then restart from approved revision.
Incorrect Answers
B:This outcome is relevant to another case (A repository needs unrelated README cleanup and isolated unit tests added to separate modules.). For the stated scenario verify: No downstream branch merges code based on the invalid schema and retained work is labeled obsolete.
C:This outcome is relevant to another case (A coordinator retries a worker assignment after a timeout, causing two agents to open identical pull requests.). For the stated scenario verify: No downstream branch merges code based on the invalid schema and retained work is labeled obsolete.
D:This outcome is relevant to another case (One generalized agent repeatedly confuses localization review with TypeScript compiler fixes.).
Question 475
Which technical principle BEST explains the proper response to this agentic SDLC scenario? An agent claims to improve parsing but the new branch silently drops a previously supported event format.
- Evaluation requires interpreting security findings rather than blindly counting alerts.
- Error analysis requires distinguishing causal failure types before selecting a tuning strategy.
- Regression evaluation measures change against known behavior, not just performance on new examples.
- Evaluation of governance classifiers requires false-negative and false-positive evidence.
Explanation
Correct Answer
C:Regression evaluation measures change against known behavior, not just performance on new examples. This concept explains the proper correction. The corresponding intervention is: Run old and new fixtures against a recorded baseline and compare both expected positives and negatives.
Incorrect Answers
A:Evaluation requires interpreting security findings rather than blindly counting alerts. This concept governs a different case (A code scanning alert flags a generated test fixture as secret material while production files are clean.). The correct principle here is: Regression evaluation measures change against known behavior, not just performance on new examples.
B:Error analysis requires distinguishing causal failure types before selecting a tuning strategy. This concept governs a different case (A batch of agent tasks fails for different reasons: malformed plans, API 429 responses and missing dependency versions.). The correct principle here is: Regression evaluation measures change against known behavior, not just performance on new examples.
D:Evaluation of governance classifiers requires false-negative and false-positive evidence. This concept governs a different case (An agent continuously labels every generated diff low risk despite repeated security-sensitive changes.). The correct principle here is: Regression evaluation measures change against known behavior, not just performance on new examples.
Question 476
For this GH-600 agent-governance case, choose the most defensible action: An agent repeatedly chooses the wrong design despite receiving accurate repository files and functioning tools.
- Inspect tool-call request and response traces, then reconcile actual GitHub issue history before marking complete.
- Remove deployment tools from the agent profile and provide read-only documentation and repository browsing tools.
- Review plan assumptions and decision traces against the intended architecture, then revise decision constraints.
- Classify the failure as environment incompatibility, align approved runtime versions and rerun tests.
Explanation
Correct Answer
C:Review plan assumptions and decision traces against the intended architecture, then revise decision constraints. This action addresses the stated GitHub agent engineering issue. Reasoning errors differ from tool failures when evidence was available but interpreted incorrectly. Verification: A replayed test demonstrates corrected design choice without a new tool or environment failure.
Incorrect Answers
A:This action fits a different scenario (An agent's final summary says it updated an issue, but the issue has no change.), not the reported problem. Here the appropriate action is: Review plan assumptions and decision traces against the intended architecture, then revise decision constraints.
B:This action fits a different scenario (An agent repeatedly attempts forbidden deployment actions although its assigned task is documentation review.), not the reported problem. Here the appropriate action is: Review plan assumptions and decision traces against the intended architecture, then revise decision constraints.
D:This action fits a different scenario (An agent's tests fail only in the runner because Node is older than the repository's supported runtime.), not the reported problem. Here the appropriate action is: Review plan assumptions and decision traces against the intended architecture, then revise decision constraints.
Question 477
A developer evaluates this agent workflow: A paused agent resumes after main branch moved and applies patches against a now-obsolete dependency graph. Which engineering concept is MOST relevant?
- External agent memory is a data store subject to ordinary security and retention rules.
- Drift detection measures current activity against a durable intent baseline.
- Durable checkpoints must be revalidated against changing external state before use.
- Shared memory without version control can cause silent context conflicts.
Explanation
Correct Answer
C:Durable checkpoints must be revalidated against changing external state before use. This concept explains the proper correction. The corresponding intervention is: Fetch the current base SHA, compare drift and rebase or re-plan changes before execution.
Incorrect Answers
A:External agent memory is a data store subject to ordinary security and retention rules. This concept governs a different case (An agent stores customer account identifiers and API tokens in an unrestricted vector memory service.). The correct principle here is: Durable checkpoints must be revalidated against changing external state before use.
B:Drift detection measures current activity against a durable intent baseline. This concept governs a different case (A long-running coding agent begins optimizing front-end performance after being assigned a database migration review.). The correct principle here is: Durable checkpoints must be revalidated against changing external state before use.
D:Shared memory without version control can cause silent context conflicts. This concept governs a different case (Two agents update the same design decision document with incompatible API contracts.). The correct principle here is: Durable checkpoints must be revalidated against changing external state before use.
Question 478
Which TWO claims together describe the safe correction and measurable result? A bug-fixing agent needs to inspect repository files but its configuration also exposes production cloud deletion tools.
- Unsafe shortcut: Expose every organization integration to all agents so they can discover tools without policy review.
- Action: Expose only required repository read and scoped branch-write tools while withholding unrelated production mutation tools.
- Verification: Tool inventory and invocation traces show only approved repository operations for the bug fix.
- Verification: The issue is summarized safely, no secret reads or outbound uploads occur, and the suspicious instruction is flagged.
- Action: Configure permitted setup steps and package access through the supported agent environment mechanism with least privilege.
Explanation
Correct Answers
B:Action: Expose only required repository read and scoped branch-write tools while withholding unrelated production mutation tools. This fixes the target workflow. Tools must be selected and authorized according to task need rather than maximum available capability.
C:Verification: Tool inventory and invocation traces show only approved repository operations for the bug fix. This checks the intended result. Tools must be selected and authorized according to task need rather than maximum available capability.
Incorrect Answers
A:Unsafe shortcut: Expose every organization integration to all agents so they can discover tools without policy review. This is neither an appropriate remediation nor valid evidence. Tools must be selected and authorized according to task need rather than maximum available capability. Safer action: Expose only required repository read and scoped branch-write tools while withholding unrelated production mutation tools.
D:For the target verify: Tool inventory and invocation traces show only approved repository operations for the bug fix.
E:This action responds to a different problem (A coding agent can edit source but its isolated environment lacks the private package registry configuration required for tests.). For the target use: Expose only required repository read and scoped branch-write tools while withholding unrelated production mutation tools.
Question 479
What is the LEAST defensible response to this AI agent workflow problem? A build agent requests host-level root privileges simply to run repository unit tests.
- Reconcile branch conflicts against the latest reviewed interface contract.
- Run every generated command as unrestricted root to avoid setup issues.
- Validate the task's actual business outcome rather than relying on agent confidence.
- Preserve the current branch SHA and task acceptance criteria before making edits.
Explanation
Correct Answer
B:Run every generated command as unrestricted root to avoid setup issues. This shortcut bypasses the necessary constraint or makes the outcome unreliable. Least privilege applies to process execution context as well as GitHub API tokens. Safer action: Execute tests in an appropriately constrained sandbox with only necessary file and network privileges.
Incorrect Answers
A:Reconcile branch conflicts against the latest reviewed interface contract. This is an appropriate general safeguard, not the harmful shortcut. Parallel task success does not prove combined compatibility. Targeted remediation: Execute tests in an appropriately constrained sandbox with only necessary file and network privileges.
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: Execute tests in an appropriately constrained sandbox with only necessary file and network privileges.
D: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: Execute tests in an appropriately constrained sandbox with only necessary file and network privileges.
Question 480
A platform team reports: An agent fetches hundreds of GitHub issues and exhausts the API rate budget after repeated uncached requests. Which agent-engineering intervention is MOST appropriate?
- Use bounded pagination, caching and rate-limit-aware backoff within the authorized data scope.
- Publish approved MCP servers through a managed registry and document ownership, scopes and lifecycle review.
- Pin supported runtime and dependency versions for the agent workspace and CI or document a compatible matrix.
- Query repository state using a stable idempotency key or unique branch before retrying creation.
Explanation
Correct Answer
A:Use bounded pagination, caching and rate-limit-aware backoff within the authorized data scope. This action addresses the stated GitHub agent engineering issue. Reliable tool use must account for service quotas and reduce redundant calls. Verification: The agent completes issue discovery within limits without duplicate expensive queries.
Incorrect Answers
B:This action fits a different scenario (An organization has dozens of third-party MCP endpoints and developers cannot tell which are reviewed for use.), not the reported problem. Here the appropriate action is: Use bounded pagination, caching and rate-limit-aware backoff within the authorized data scope.
C:This action fits a different scenario (A test-writing agent passes in a local container but fails in CI because the container image uses an older runtime.), not the reported problem. Here the appropriate action is: Use bounded pagination, caching and rate-limit-aware backoff within the authorized data scope.
D:This action fits a different scenario (A tool call to create a pull request times out; the agent cannot tell whether the PR was created.), not the reported problem. Here the appropriate action is: Use bounded pagination, caching and rate-limit-aware backoff within the authorized data scope.