All Microsoft exams

Free GH-600 practice test: 30 questions with answers

30 original questions for Developing in Agentic AI Systems, drawn from every topic area. Answer each one to see whether you got it right and why. No sign-up.

Free questions
30
Full bank
100 questions

GH-600 exam guide: topics, cost and format

All 30 GH-600 questions with answers

The same questions as the test above, grouped by exam topic. Open any question to see the answer and explanation.

Implement tool use and environment interaction (3 questions)

  1. Question 1

    An organization wants its agents to use only approved MCP servers. Which configuration enforces this?

    1. AA note in the README asking developers to use the approved servers
    2. BAllowing servers found on the public internet at runtime without review
    3. CRemoving tool access from the agent pending security review
    4. DAn MCP allow list that limits which servers and registries the agent can add
    Show answer and explanation
    Correct answer: D

    An allow list enforces the approved set in configuration rather than relying on developer discipline. A README note is advisory, open discovery is unsafe, and removing tools eliminates the capability the agent needs.

  2. Question 2

    An agent should only work on the repository that a given issue belongs to. Which configuration limits its scope?

    1. ALet the agent choose any repository it likes at runtime
    2. BUse a shared token across all teams' repositories
    3. CConfigure the agent's scope to that specific repository
    4. DGive the agent access to every repository in the organization
    Show answer and explanation
    Correct answer: C

    Repository-scoped configuration keeps the agent's actions inside the intended codebase. Organization-wide access, runtime repository choice, and shared tokens exceed the scope the task needs.

  3. Question 3

    An agent must run inside a CI workflow and fail safely when the environment is missing a required secret. Which behavior is correct?

    1. ARetry the job every ten minutes indefinitely until someone supplies the secret value in the vault
    2. BContinue the job with a placeholder secret value in staging environment
    3. CPrint the secret value from another job into the logs for debugging
    4. DStop with a clear error and no partial changes, then report the missing configuration
    Show answer and explanation
    Correct answer: D

    A clear failure with no partial changes keeps the repository consistent and surfaces the configuration problem. Placeholder secrets, exposing values in logs, and infinite retries each create a different failure or a security problem.

Perform evaluation, error analysis, and tuning (3 questions)

  1. Question 4

    Before an agent starts a task, the team wants to know how success will be judged afterward. What should be defined?

    1. ANothing, because success is obvious to reviewers reading the output
    2. BThe agent's display name, icon, and profile color shown in the console dashboard panel
    3. CExpected outcomes, operational constraints, and measurable signals for the task
    4. DA promise that the output will look good to reviewers and match the brand
    Show answer and explanation
    Correct answer: C

    Defining outcomes, constraints, and measurable signals in advance allows the result to be evaluated objectively. Names, icons, and vague impressions do not make success testable.

  2. Question 5

    An agent repeatedly calls a tool with arguments that do not match the tool's schema. How should the root cause be classified?

    1. ATool misuse caused by the agent's inputs to the tool
    2. BA problem with the user's monitor settings
    3. CA failure in the team's coffee order spreadsheet and cafe
    4. DA GitHub Actions outage on the hosted runner pool today
    Show answer and explanation
    Correct answer: A

    Mismatched arguments to a tool schema are tool misuse, which can be addressed by clearer tool descriptions or validation. Infrastructure outages and unrelated factors do not explain schema violations.

  3. Question 6

    A team wants evaluation signals that do not depend on a person reading every output. Which approach fits?

    1. AAutomated scanning tools that check outputs for defects, security issues, and policy violations
    2. BAsking the agent to grade its own output and whether its output is good enough
    3. CCounting how many commits the agent made to the repository per sprint and comparing totals across teams
    4. DReading the first line of each output as a sample while skipping the remaining body paragraphs entirely
    Show answer and explanation
    Correct answer: A

    Automated scans produce repeatable signals about defects and policy violations. Self-assessment by the agent is unreliable, partial reading misses problems, and commit counts do not measure quality.

Orchestrate multi-agent coordination (3 questions)

  1. Question 7

    A coordinator assigns a planning agent, a coding agent, and a testing agent to one feature, with each handing its output to the next. Which orchestration pattern does this describe?

    1. AA sequential pipeline with explicit handoffs between specialized agents
    2. BRandom assignment of tasks with no handoff
    3. CEach agent working in isolation with its output never used
    4. DEvery agent editing the same file at the same time without coordination
    Show answer and explanation
    Correct answer: A

    A sequential pipeline with explicit handoffs is a common orchestration pattern for specialized agents. Random or isolated work and uncoordinated simultaneous edits do not produce a coherent feature.

  2. Question 8

    Two agents work in parallel and both modify the same module, producing conflicting changes. Which control prevents this?

    1. ADelete one agent's conflicting changes automatically without review and keep the other agent's edits in the shared working tree
    2. BDisable pull requests for the module while both agents finish their edits and branch protection is relaxed
    3. CConfigure agent isolation so each runs in its own branch or workspace, with conflicts resolved before merge
    4. DLet both agents write to the same file at once through the shared checkout so edits interleave
    Show answer and explanation
    Correct answer: C

    Isolated workspaces or branches keep parallel work separate, and conflicts are resolved in a controlled merge step. Simultaneous writes, silent deletion, and disabling reviews all cause or hide conflicts.

  3. Question 9

    An agent in a multi-agent workflow must be replaced by a newer version. The team wants no interruption to active work and a full audit record. What is the best approach?

    1. AReplace the agent in the middle of each active task while its queued handoffs remain open
    2. BStop every active workflow and restart them from the first step without preserving state
    3. CAdd the new agent alongside, shift new work to it, and retire the old one with its records preserved
    4. DDelete the old agent's full execution history and prompt logs to avoid confusion among reviewers during handoff
    Show answer and explanation
    Correct answer: C

    Running the new agent in parallel, shifting work gradually, and retiring the old one with records preserved avoids disruption and keeps auditability. Restarts, deleted history, and mid-task replacement each break continuity or traceability.

Implement guardrails and accountability (3 questions)

  1. Question 10

    An agent that updates release notes should only be able to write to one documentation folder in one repository. Which principle applies?

    1. ALeast privilege, scoping permissions and execution context to the minimum needed
    2. BShared administrator credentials across every repository in the organization
    3. CMaximum privilege granted to the agent's service account so it rarely fails
    4. DUnlimited write access to the entire repository tree for speed
    Show answer and explanation
    Correct answer: A

    Least privilege limits the agent to the folder and repository it needs, which contains mistakes and misuse. Maximum privilege, shared admin credentials, and unlimited access all expand the blast radius.

  2. Question 11

    An agent is asked to rotate production credentials. Policy requires human judgment for this change. What should the agent do?

    1. ARotate the production credentials immediately through the automation pipeline and report the completed change afterward
    2. BAsk a separate reviewer agent with credential-management permissions to approve the rotation as a peer-review step instead
    3. CSkip the rotation because the credentials were verified as valid during the last audit cycle, and report success
    4. DStop before the irreversible change and request explicit human authorization through a controlled path
    Show answer and explanation
    Correct answer: D

    Irreversible, compliance-sensitive changes require explicit authorization through controlled channels. Acting first, having another agent approve, or falsely reporting success violate the policy.

  3. Question 12

    A team classifies agent actions by risk before deciding how much human review each needs. Which factors are most appropriate for the classification?

    1. AThe color of the agent's avatar and the theme of its dashboard card
    2. BOperational, security, and compliance risk of each action
    3. CThe number of letters in the action's name and its identifier string
    4. DThe time of day the action is proposed and the hour it was queued
    Show answer and explanation
    Correct answer: B

    Classifying by operational, security, and compliance risk right-sizes human review while keeping delivery fast. Name length, time of day, and avatar color are not risk factors.

Manage memory, state, and execution (3 questions)

  1. Question 13

    An agent stores notes from earlier tasks in long-term memory, and some notes are now wrong. Which practice prevents outdated notes from influencing new work?

    1. ADefine expiration, pruning, and reset rules for memory entries
    2. BKeep every note forever with no review
    3. CDelete the whole memory each time an error occurs regardless of scope
    4. DCopy all notes into every new task
    Show answer and explanation
    Correct answer: A

    Expiration and pruning rules remove stale entries systematically, and reset rules handle major changes. Keeping everything, copying all notes, and blanket deletion either preserve stale data or lose needed context.

  2. Question 14

    A long-running agent task is interrupted and must resume later. Which practice avoids repeating completed steps?

    1. ADelete the progress notes after each run so the task starts clean on every restart
    2. BCapture task progress and decisions as durable artifacts that the agent reads when resuming
    3. CRestart the task from the beginning with a fresh context window every time it resumes
    4. DRely on the agent's in-memory context carried over from the last session without a file
    Show answer and explanation
    Correct answer: B

    Durable progress artifacts let the agent resume from recorded state without repeating steps or contradicting earlier decisions. Restarting wastes effort, and relying only on session memory fails once it is lost.

  3. Question 15

    A task needs information only for the current run, while team conventions must persist across many runs. Which memory types fit these needs?

    1. ALong-term memory for every temporary detail, including one-off debugging output and transient file paths and logs
    2. BNo memory is retained, so team conventions must be restated by hand in every prompt
    3. CShort-term memory for the current run and long-term or external memory for persistent conventions
    4. DExternal memory for temporary details such as scratch notes and per-run session identifiers
    Show answer and explanation
    Correct answer: C

    Short-term memory suits the current run, while persistent conventions belong in long-term or external storage. Storing temporary details permanently or restating by hand each run mismatches the need.

Prepare agent architecture and SDLC processes (3 questions)

  1. Question 16

    A team lets an agent edit code, run tests, and open pull requests in one unbroken loop with no checkpoints. Which anti-pattern does this describe?

    1. AUsing a structured plan before acting, with each step written to a task file the agent follows in order
    2. BUnbounded autonomy with no validation gates between planning, execution, and merging
    3. CScoping the agent to one repository, with write access limited to the docs folder of the main branch
    4. DRecording the agent's decisions as artifacts in a run log stored beside the pull request description
    Show answer and explanation
    Correct answer: B

    Removing all checkpoints lets errors compound without review, which is a common anti-pattern for agents. Structured plans, repository scoping, and artifacts are controls that reduce this risk.

  2. Question 17

    An agent must not change any files until its plan has been checked. Which design achieves this?

    1. AAllow execution to begin immediately and review the plan afterward through a retrospective audit of the generated diffs
    2. BSeparate the planning step from the execution step and require approval of the plan before execution starts
    3. CRemove the plan so the agent has less to check, since a written plan duplicates the task description
    4. DLet the agent plan and execute in the same step to avoid the overhead of a separate handoff stage
    Show answer and explanation
    Correct answer: B

    Separating planning from execution, with an approval gate, prevents action before the plan is checked. Combining the steps or reviewing afterward allows changes to happen before validation.

  3. Question 18

    Which two properties make an agent's structured plan suitable for validation before action? (Choose two.)

    1. AEach step is described only as 'do the work'
    2. BThe plan is written in a format that a checker can parse and verify
    3. CThe plan is discarded after execution with no record
    4. DThe plan changes silently whenever the agent restarts
    5. EEach step names the expected inputs, outputs, and tools it will use
    Show answer and explanation
    Correct answer: B, E

    Explicit inputs, outputs, and tools make each step checkable, and a parseable format lets validation be automated. Vague steps, discarded plans, and silent changes make validation impossible or unreliable.

Integrate agents into the SDLC (3 questions)

  1. Question 19

    Which team practice best supports consistent agent behavior across repositories?

    1. AShared, versioned instructions and custom agent definitions applied across repositories
    2. BInstructions kept in personal notes and chat threads with no version history or review by each engineer
    3. CAvoiding documentation of the agent's rules to keep agents flexible across releases
    4. DEach team writing its own instructions from scratch in a private repository with no peer review or sign-off
    Show answer and explanation
    Correct answer: A

    Shared, versioned definitions give every repository the same reviewed behavior and make changes traceable. Unreviewed or personal instructions and undocumented setups produce drift between teams.

  2. Question 20

    An agent is asked to fix a bug, but no success criteria are defined. Reviewers disagree about whether the result is acceptable. Which gap caused this?

    1. AInputs, outputs, and success criteria were not defined for the agent task
    2. BThe repository has too many active branches, which makes a fix difficult to judge
    3. CThe agent's model has too many parameters to judge the fix
    4. DThe reviewers' keyboards are slow, which delayed their feedback
    Show answer and explanation
    Correct answer: A

    Without defined inputs, outputs, and success criteria, there is no shared test for acceptance. Model size, branch counts, and hardware do not determine whether a fix is acceptable.

  3. Question 21

    Which two configurations keep an agent limited to commenting on pull requests? (Choose two.)

    1. ANo permission to commit or merge changes
    2. BPermission to merge comments into the main branch
    3. CPermission to edit code whenever it decides
    4. DAllowed outputs limited to comments
    5. EWrite access to every branch
    Show answer and explanation
    Correct answer: A, D

    Limiting outputs to comments and withholding commit or merge permission enforce the boundary. Write access, merge rights, and discretionary edits all extend the agent beyond commenting.

Operate agents with safe execution paths and robust error handling (3 questions)

  1. Question 22

    An agent's change repeatedly fails the same test. The team wants the failure escalated after a fixed number of attempts with full details attached. Which mechanism fits?

    1. AAn escalation path triggered after bounded attempts, with the failure details attached
    2. BSilently closing the task in the tracker after the first failed test run, without notifying anyone
    3. CAn unbounded retry loop that keeps re-running the failing test with no notification to the owner
    4. DIgnoring the test results altogether and marking the change as merged-ready in the review queue
    Show answer and explanation
    Correct answer: A

    Bounded attempts followed by escalation with details give a human what they need to decide. Infinite loops, silent closure, and ignoring results each hide the failure or waste effort.

  2. Question 23

    Which two items should the audit trail record for each agent action? (Choose two.)

    1. AThe identity of the agent that acted
    2. BThe triggering input and the decision made
    3. CThe agent's favorite color
    4. DThe status of the coffee machine
    5. EThe agent's avatar image
    Show answer and explanation
    Correct answer: A, B

    Recording the acting identity and the triggering input and decision makes each action attributable and explainable. Personal preferences, office equipment, and avatars do not establish accountability.

  3. Question 24

    A rollback is needed after an agent's change has been merged and then found to break production. Which approach is safest?

    1. AEdit production files directly over SSH to remove the bug and then redeploy
    2. BRevert the merged change through a controlled pull request and verify production afterward
    3. CDelete the repository's history with a forced rewrite to hide the change from auditors
    4. DWait for the problem to disappear by itself while monitoring the dashboard over the next days
    Show answer and explanation
    Correct answer: B

    A controlled revert through a reviewed change restores the last good state with an audit trail. Direct production edits, deleting history, and waiting all bypass control or fail to fix the problem.

Define boundaries between planning, reasoning, and action (2 questions)

  1. Question 25

    An agent's plan includes a step to delete a database table. The plan is generated and immediately executed. What should be changed?

    1. AExecute the destructive step twice in succession to be sure the table is fully removed afterward
    2. BInsert a checkpoint that prevents the destructive step until the plan has been validated and approved
    3. CRemove the planning stage entirely so the agent can act faster on each task by skipping plan generation and review steps
    4. DAllow the agent to approve its own destructive plans through the automated self-review module before execution
    Show answer and explanation
    Correct answer: B

    A checkpoint before destructive steps enforces validation and approval, so the plan is checked before action. Removing planning, self-approval, and repeated execution all increase the risk.

  2. Question 26

    An agent is configured to output a structured plan, but the plan omits the tools it intends to use. Why is this a problem?

    1. AThe plan is shorter, which tends to be better for quick human review
    2. BThe omission has no effect on execution since tools are inferred at runtime
    3. CTools are rarely needed for planning, since the plan describes reasoning steps
    4. DThe plan cannot be validated for permissions or scope if the tools are not listed
    Show answer and explanation
    Correct answer: D

    Listing tools lets reviewers and validators check permissions and scope before execution. Omitting them makes the plan unverifiable, which is why the claim that it has no effect is wrong.

Operate and manage multi-agent workflows (2 questions)

  1. Question 27

    Which two signals indicate a stalled or partial agent execution? (Choose two.)

    1. AThe agent's avatar changed
    2. BA completed summary artifact with all checks passed
    3. CNo progress artifacts for longer than the expected interval
    4. DA new commit appears on the expected branch
    5. ERepeated identical tool calls with no change in state
    Show answer and explanation
    Correct answer: C, E

    A missing progress artifact over an expected interval and repeated identical calls both show the execution has stopped advancing. A new commit or a passing summary indicates progress, and avatar changes say nothing about execution.

  2. Question 28

    Which two orchestration decisions reduce coordination failures? (Choose two.)

    1. ADefine ownership of each subtask so one agent is accountable for it
    2. BLet agents edit shared files without any locking or coordination
    3. CSet clear handoff contracts specifying inputs, outputs, and formats
    4. DRun the agents without any coordinator at all
    5. ERemove timeouts from handoffs so agents never give up
    Show answer and explanation
    Correct answer: A, C

    Clear ownership and explicit handoff contracts prevent confusion about who does what and in what format. Unlocked shared edits, no coordinator, and removing timeouts all make failures more likely or harder to recover from.

Operate agents with safe execution paths (1 question)

  1. Question 29

    After a failed multi-file change, the agent must return the repository to its prior state. Which capability provides this?

    1. AA rollback to the last known good state
    2. BDeleting the repository and cloning it again from memory
    3. CContinuing from the failed state and hoping the tests pass
    4. DCommitting the failed state with a message about the failure
    Show answer and explanation
    Correct answer: A

    Rolling back to the last known good state restores consistency after a failed change. Continuing from failure, rebuilding from memory, and committing broken state all leave the repository inconsistent.

Configure observability for multi-agent behavior (1 question)

  1. Question 30

    Which two artifacts best support post-hoc analysis of a multi-agent workflow? (Choose two.)

    1. AHandoff logs with timestamps for each transfer between agents
    2. BThe final output alone
    3. CPer-agent decision records explaining why each choice was made
    4. DA screenshot of the team chat
    5. EThe agents' display names
    Show answer and explanation
    Correct answer: A, C

    Timestamped handoff logs and decision records reconstruct how the workflow unfolded and why. The final output alone hides the path, and screenshots and display names do not explain the behavior.

Want more GH-600 questions?

The full bank has 100 questions with answers and explanations, as a PDF, an online practice exam, or both.

Full question bank · 100 questions
$89$124

Both formats together. The best value.

Instant access after payment, with 90 days of updates. Checkout is on our store, AIExamCerts.