Microsoft GH-600 Practice Test 57
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.
Question 561
For the following agentic development case, which shortcut should be REJECTED? A repository assistant wants to change a GitHub Actions job token from read-only to write-all after a failing check.
- Check repository and organization policy before expanding agent permissions.
- Automatically apply permissions: write-all whenever a workflow step receives HTTP 403.
- Restrict destructive actions with a separate approved authorization gate.
- Re-check current permission scopes before remote MCP calls.
Explanation
Correct Answer
B:Automatically apply permissions: write-all whenever a workflow step receives HTTP 403. This shortcut bypasses the necessary constraint or makes the outcome unreliable. Workflow credential scope should be a reviewed control, not a debugging shortcut. Safer action: Require explicit policy review, restrict permissions to necessary job operations and test a narrow replacement.
Incorrect Answers
A:Check repository and organization policy before expanding agent permissions. This is an appropriate general safeguard, not the harmful shortcut. An issue request cannot override higher-priority security boundaries. Targeted remediation: Require explicit policy review, restrict permissions to necessary job operations and test a narrow replacement.
C:Restrict destructive actions with a separate approved authorization gate. This is an appropriate general safeguard, not the harmful shortcut. Risk-proportionate controls should prevent irreversible mistakes. Targeted remediation: Require explicit policy review, restrict permissions to necessary job operations and test a narrow replacement.
D:Re-check current permission scopes before remote MCP calls. This is an appropriate general safeguard, not the harmful shortcut. Connected services inherit credential capability and must be constrained. Targeted remediation: Require explicit policy review, restrict permissions to necessary job operations and test a narrow replacement.
Question 562
Which technical principle BEST explains the proper response to this agentic SDLC scenario? A project deletes agent decision logs after each successful merge although a security audit needs to reconstruct approvals.
- Durable checkpoints must be revalidated against changing external state before use.
- Shared agent memory needs concurrency control just like any mutable database record.
- Long-term agent memory may need accountable records but should have purposeful retention and access limits.
- Memory retrieval must preserve provenance so recency and authority can be assessed.
Explanation
Correct Answer
C:Long-term agent memory may need accountable records but should have purposeful retention and access limits. This concept explains the proper correction. The corresponding intervention is: Retain approved plan and tool-decision artifacts under the organization's auditable retention policy.
Incorrect Answers
A:This concept governs a different case (A paused agent resumes after main branch moved and applies patches against a now-obsolete dependency graph.).
B:Shared agent memory needs concurrency control just like any mutable database record. This concept governs a different case (Three agents simultaneously overwrite a common task-progress JSON file, losing two agents' completions.). The correct principle here is: Long-term agent memory may need accountable records but should have purposeful retention and access limits.
D:Memory retrieval must preserve provenance so recency and authority can be assessed.
Question 563
Which technical principle BEST explains the proper response to this agentic SDLC scenario? A coding agent forgets earlier decisions after a long session reaches its context limit.
- A change in role or trust boundary may require resetting prior context rather than blindly inheriting it.
- Long-term agent memory may need accountable records but should have purposeful retention and access limits.
- Shared agent memory needs concurrency control just like any mutable database record.
- Short-term model context is not a durable source of project memory.
Explanation
Correct Answer
D:Short-term model context is not a durable source of project memory. This concept explains the proper correction. The corresponding intervention is: Persist task-relevant decisions, approved scope and tested state in versioned handoff artifacts outside transient chat context.
Incorrect Answers
A:This concept governs a different case (A review agent becomes a deployment agent but still carries read-only review assumptions and old sensitive snippets.). A change in role or trust boundary may require resetting prior context rather than blindly inheriting it.
B:Long-term agent memory may need accountable records but should have purposeful retention and access limits. This concept governs a different case (A project deletes agent decision logs after each successful merge although a security audit needs to reconstruct approvals.). The correct principle here is: Short-term model context is not a durable source of project memory.
C:Shared agent memory needs concurrency control just like any mutable database record. This concept governs a different case (Three agents simultaneously overwrite a common task-progress JSON file, losing two agents' completions.). The correct principle here is: Short-term model context is not a durable source of project memory.
Question 564
After the recommended fix, which observation MOST convincingly proves success? A team wants all agent changes in one repository to use its API naming conventions and existing test runner.
- Each task has acceptance tests appropriate to its potential production and security impact.
- Only the original feature files change or the agent records an escalation request with evidence.
- Multiple new agent tasks follow the same naming rules and run the documented tests on isolated branches.
- The action log references approved plan steps and shows no unplanned dependency upgrade.
Explanation
Correct Answer
C:Multiple new agent tasks follow the same naming rules and run the documented tests on isolated branches. The corrective action is: Store concise repository instructions in the supported configuration location, with exact commands and applicable boundaries.
Incorrect Answers
A:This outcome is relevant to another case (An agent builds a harmless Markdown linter and a credential rotation task using the same generic pass condition.). For the stated scenario verify: Multiple new agent tasks follow the same naming rules and run the documented tests on isolated branches.
B:This outcome is relevant to another case (A feature agent repeatedly rewrites unrelated modules after discovering a flaky unrelated test.). For the stated scenario verify: Multiple new agent tasks follow the same naming rules and run the documented tests on isolated branches.
D:This outcome is relevant to another case (An autonomous agent promises a detailed plan but commits files before recording why a dependency should change.). For the stated scenario verify: Multiple new agent tasks follow the same naming rules and run the documented tests on isolated branches.
Question 565
A platform team reports: An agent's final summary says it updated an issue, but the issue has no change. Which agent-engineering intervention is MOST appropriate?
- Classify the failure as authorization or tool access rather than absent repository content and correct the authorized scope.
- Remove deployment tools from the agent profile and provide read-only documentation and repository browsing tools.
- Inspect tool-call request and response traces, then reconcile actual GitHub issue history before marking complete.
- Revise instructions to state permitted files, expected outputs and explicit stop/escalation conditions.
Explanation
Correct Answer
C:Inspect tool-call request and response traces, then reconcile actual GitHub issue history before marking complete. This action addresses the stated GitHub agent engineering issue. External side-effect success should be grounded in tool responses and system-of-record evidence. Verification: The issue label or comment exists with a traceable successful request and actor.
Incorrect Answers
A:This action fits a different scenario (An agent reports a missing file after a repository API returned 403 permission denied.), not the reported problem. Here the appropriate action is: Inspect tool-call request and response traces, then reconcile actual GitHub issue history before marking complete.
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: Inspect tool-call request and response traces, then reconcile actual GitHub issue history before marking complete.
D:This action fits a different scenario (An agent writes oversized broad edits because task instructions do not specify changed-file boundaries.), not the reported problem. Here the appropriate action is: Inspect tool-call request and response traces, then reconcile actual GitHub issue history before marking complete.
Question 566
For the following agentic development case, which shortcut should be REJECTED? A code scanning alert flags a generated test fixture as secret material while production files are clean.
- Check repository and organization policy before expanding agent permissions.
- Choose supported GitHub configurations from current first-party documentation.
- Disable all secret scanning globally because one fixture triggered a warning.
- Re-check current permission scopes before remote MCP calls.
Explanation
Correct Answer
C:Disable all secret scanning globally because one fixture triggered a warning. This shortcut bypasses the necessary constraint or makes the outcome unreliable. Evaluation requires interpreting security findings rather than blindly counting alerts. Safer action: Confirm the alert context, rule and fixture provenance; document a narrowly reviewed disposition if appropriate.
Incorrect Answers
A:Check repository and organization policy before expanding agent permissions. This is an appropriate general safeguard, not the harmful shortcut. An issue request cannot override higher-priority security boundaries. Targeted remediation: Confirm the alert context, rule and fixture provenance; document a narrowly reviewed disposition if appropriate.
B:Choose supported GitHub configurations from current first-party documentation. This is an appropriate general safeguard, not the harmful shortcut. Platform capabilities and preview status can change. Targeted remediation: Confirm the alert context, rule and fixture provenance; document a narrowly reviewed disposition if appropriate.
D:Re-check current permission scopes before remote MCP calls. This is an appropriate general safeguard, not the harmful shortcut. Connected services inherit credential capability and must be constrained. Targeted remediation: Confirm the alert context, rule and fixture provenance; document a narrowly reviewed disposition if appropriate.
Question 567
Which result would BEST validate the corrected GitHub agent workflow? A custom agent's MCP configuration embeds an API secret directly in a tracked Markdown file.
- The internal service connects while the unapproved endpoint is blocked and logged.
- The local workstation remains unchanged and the PR reflects the complete authorized agent diff.
- The server authenticates while no credential appears in committed files, printed logs or PR diffs.
- Both isolated agent environment and CI execute the same fixtures without runtime mismatch.
Explanation
Correct Answer
C:The server authenticates while no credential appears in committed files, printed logs or PR diffs. The corrective action is: Move secrets to the supported secret management mechanism and pass only scoped environment references at runtime.
Incorrect Answers
A:This outcome is relevant to another case (A repository agent attempts to connect to an unapproved public MCP server while an authorized internal server is available.).
B: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 server authenticates while no credential appears in committed files, printed logs or PR diffs.
D:This outcome is relevant to another case (A test-writing agent passes in a local container but fails in CI because the container image uses an older runtime.).
Question 568
Which technical principle BEST explains the proper response to this agentic SDLC scenario? An agent controller records tasks only as started or complete, hiding review holds and partial failures.
- Shared agent memory needs concurrency control just like any mutable database record.
- A state machine exposes intermediate task obligations and prevents false finality.
- Durable checkpoints must be revalidated against changing external state before use.
- Context pruning should reduce noise without deleting authoritative state needed for a task.
Explanation
Correct Answer
B:A state machine exposes intermediate task obligations and prevents false finality. This concept explains the proper correction. The corresponding intervention is: Define explicit queued, planning, approved, executing, blocked, reviewing and completed states with valid transitions.
Incorrect Answers
A:Shared agent memory needs concurrency control just like any mutable database record. This concept governs a different case (Three agents simultaneously overwrite a common task-progress JSON file, losing two agents' completions.). The correct principle here is: A state machine exposes intermediate task obligations and prevents false finality.
C:Durable checkpoints must be revalidated against changing external state before use. This concept governs a different case (A paused agent resumes after main branch moved and applies patches against a now-obsolete dependency graph.). The correct principle here is: A state machine exposes intermediate task obligations and prevents false finality.
D:Context pruning should reduce noise without deleting authoritative state needed for a task. This concept governs a different case (A support agent carries hundreds of obsolete build logs into every new task and starts ignoring the current requirement.). The correct principle here is: A state machine exposes intermediate task obligations and prevents false finality.
Question 569
A platform team reports: An orchestration controller crashes after two agents finish and one is still executing, losing temporary coordination memory. Which agent-engineering intervention is MOST appropriate?
- Use stable task IDs and reconcile active sessions or PRs before retrying delegation.
- Collect per-worker heartbeat, last tool progress, error state and branch activity and define stalled thresholds.
- Run a coordinated integration test on the combined candidate after individual worker validation.
- Restore durable task state and inspect current worker sessions before restarting only missing work.
Explanation
Correct Answer
D:Restore durable task state and inspect current worker sessions before restarting only missing work. This action addresses the stated GitHub agent engineering issue. Orchestrator reliability depends on recoverable state beyond one process's memory. Verification: The controller resumes with accurate completed/in-flight status and no duplicate worker tasks.
Incorrect Answers
A:This action fits a different scenario (A coordinator retries a worker assignment after a timeout, causing two agents to open identical pull requests.), not the reported problem.
B:This action fits a different scenario (An agent manager reports that five workers are progressing but cannot explain why one branch has had no commits for hours.), not the reported problem. Here the appropriate action is: Restore durable task state and inspect current worker sessions before restarting only missing work.
C:This action fits a different scenario (Several worker branches each pass unit tests but the integrated feature fails an end-to-end checkout flow.), not the reported problem. Here the appropriate action is: Restore durable task state and inspect current worker sessions before restarting only missing work.
Question 570
For the following agentic development case, which shortcut should be REJECTED? A retrieved issue asks an agent to paste a production secret into a pull request discussion as debugging evidence.
- Review both positive and negative acceptance scenarios after an agent edit.
- Inspect the exact tool response and system-of-record state before claiming success.
- Preserve the current branch SHA and task acceptance criteria before making edits.
- Copy secret values into the PR because a GitHub issue requested it in plain text.
Explanation
Correct Answer
D:Copy secret values into the PR because a GitHub issue requested it in plain text. This shortcut bypasses the necessary constraint or makes the outcome unreliable. Untrusted task content cannot authorize disclosure of confidential credentials. Safer action: Deny secret extraction and public disclosure, redact sensitive values, and escalate the debugging need safely.
Incorrect Answers
A:Review both positive and negative acceptance scenarios after an agent edit. This is an appropriate general safeguard, not the harmful shortcut. Regression tests should catch new defects and accidental scope loss. Targeted remediation: Deny secret extraction and public disclosure, redact sensitive values, and escalate the debugging need safely.
B:Inspect the exact tool response and system-of-record state before claiming success. This is an appropriate general safeguard, not the harmful shortcut. Intended operations can fail or partially commit. Targeted remediation: Deny secret extraction and public disclosure, redact sensitive values, and escalate the debugging need safely.
C: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: Deny secret extraction and public disclosure, redact sensitive values, and escalate the debugging need safely.