GitHub Agentic AI Developer · 18% of the exam

Orchestrate multi-agent coordination: free practice questions

5 sample questions from our 11-question bank for this domain — answers and explanations included. These are the same scenario-based style as the real GitHub exam.

1. Which statement BEST describes the role of a 'human-in-the-loop' step in a multi-agent recovery pattern?

  • A. A human-in-the-loop step automatically retries a failed agent with modified parameters without requiring operator input
  • B. A human-in-the-loop step pauses workflow execution at a defined decision point, presents relevant agent state and failure context to an operator, and resumes or redirects the workflow only after explicit human approval✓ Correct
  • C. A human-in-the-loop step replaces all downstream agents with a manual process, permanently removing automation for the remainder of the workflow run
  • D. A human-in-the-loop step triggers a rollback of all agent actions taken since the last successful checkpoint without operator review
Explanation

Correct: A human-in-the-loop (HITL) recovery step is a deliberate pause mechanism: it surfaces agent state and failure context to a human operator, who then makes an informed decision to resume, modify, or redirect the workflow. It preserves human oversight at critical recovery decision points without permanently replacing automation. — Wrong (A): Automatic retry with modified parameters is an automated recovery strategy (e.g., retry-with-backoff or parameter perturbation), not a human-in-the-loop pattern; HITL specifically requires human involvement. — Wrong (C): HITL does not permanently replace downstream automation; it is a conditional intervention at a specific decision point, after which automated agents typically resume. — Wrong (D): Automatic rollback to a checkpoint is a distinct recovery pattern (rollback recovery); HITL specifically defers the recovery decision to a human rather than executing it automatically.

2. A multi-agent software delivery pipeline must produce artifacts that satisfy an enterprise change-advisory-board (CAB) review process. The CAB requires evidence of: (1) which agent approved each change, (2) the criteria used for approval, and (3) the sequence of handoffs between agents. Which workflow configuration approach BEST satisfies all three requirements?

  • A. Enable GitHub Actions verbose logging and provide CAB reviewers with access to the Actions tab for each workflow run
  • B. Require each agent to append a signed, structured decision record — including agent identity, decision criteria, and upstream agent reference — to an immutable artifact store at each handoff boundary, and expose these records via a summary report generated at workflow completion✓ Correct
  • C. Store the final merged output artifact in a GitHub Release with release notes describing the overall workflow outcome
  • D. Configure a GitHub Actions environment protection rule requiring a human approver at each pipeline stage, and treat the approval log as the audit record
Explanation

Correct: Signed structured decision records appended at each handoff directly satisfy all three CAB requirements: agent identity addresses (1), decision criteria addresses (2), and the upstream agent reference chain addresses (3). An immutable store prevents post-hoc tampering, and the summary report makes the evidence accessible to reviewers. — Wrong (A): Verbose logging produces unstructured, high-volume output that does not map cleanly to the three specific CAB evidence requirements; it requires manual correlation across log lines and does not provide attributable agent-level decision records. — Wrong (C): A GitHub Release captures the end state but contains no per-agent decision attribution or handoff sequence, omitting requirements (1) and (3). — Wrong (D): Human approval logs address human-in-the-loop checkpoints but do not capture autonomous agent decision criteria or the inter-agent handoff sequence; they partially address (1) only for human approvers, not agents.

3. Your organization wants to retire a legacy summarization agent that has been active in a multi-agent research workflow for 18 months. Compliance requires that all historical workflow runs remain fully auditable and reproducible. Which approach BEST preserves auditability and workflow continuity when retiring the agent?

  • A. Delete the agent's code and configuration immediately after confirming the replacement agent is operational, trusting GitHub's commit history to preserve prior versions
  • B. Tag the agent's repository at its final production version, archive the repository, retain all historical workflow run logs and artifacts, and update workflow documentation to reference the archived agent for historical run context✓ Correct
  • C. Replace all references to the legacy agent in historical workflow YAML files with the new agent's identifier to keep configurations consistent
  • D. Export the agent's last runtime state to a JSON file and store it as a GitHub Actions artifact before deleting the agent's codebase
Explanation

Correct: Tagging the final production version creates an immutable reference point; archiving the repository keeps it accessible without allowing new changes; retaining workflow run logs and artifacts ensures historical runs can be audited; and updating documentation provides context linking historical runs to the now-archived agent. This satisfies both auditability and continuity requirements. — Wrong (A): While Git history preserves code, simply deleting configuration without explicit archival and documentation makes it difficult for auditors unfamiliar with the repository to locate the correct version context. — Wrong (C): Retroactively modifying historical workflow YAML files corrupts the audit trail by misrepresenting what actually ran during historical executions — this is a serious compliance violation. — Wrong (D): Exporting only the last runtime state captures a single point-in-time snapshot and does not preserve the agent's full decision history or the ability to reproduce earlier runs.

4. Which of the following BEST describes the primary purpose of a 'coordinator agent' in a hierarchical multi-agent orchestration pattern?

  • A. To execute domain-specific tasks such as code generation or test execution directly alongside peer agents
  • B. To decompose a high-level goal into sub-tasks, delegate them to specialized agents, and synthesize their outputs into a coherent result✓ Correct
  • C. To monitor the health of other agents and restart them automatically when they fail, acting as a watchdog process
  • D. To serve as the single point of external API access for all agents in the workflow, proxying requests to prevent rate-limit conflicts
Explanation

Correct: In a hierarchical orchestration pattern, the coordinator agent's role is planning and synthesis — it breaks a complex goal into sub-tasks, assigns them to specialized subordinate agents, and integrates their individual outputs into a unified outcome. This is the defining characteristic of the orchestrator/coordinator role. — Wrong (A): Direct domain-specific task execution describes a worker or specialist agent, not a coordinator; coordinators delegate rather than execute domain tasks. — Wrong (C): Automated health monitoring and restart logic describes a watchdog or supervisor component, which is a distinct infrastructure concern from orchestration coordination. — Wrong (D): API proxying for rate-limit management is an infrastructure cross-cutting concern, not an orchestration pattern role; conflating it with coordination reflects a common architectural misunderstanding.

5. A GitHub Copilot Extensions multi-agent system is being reconfigured to swap a slow batch-processing agent for a new streaming agent without dropping in-flight requests. Which pattern BEST supports adding the new agent without disrupting the active workflow?

  • A. Halt the entire workflow, replace the agent configuration, and restart all active jobs from their last checkpoint
  • B. Implement a blue/green agent deployment: route new requests to the streaming agent while allowing the batch agent to drain its current work queue before decommissioning it✓ Correct
  • C. Update the workflow YAML to reference the streaming agent and trigger a re-run of all currently executing workflow runs to pick up the change
  • D. Deploy both agents simultaneously without a routing mechanism and let the orchestrator randomly select between them to gradually shift load
Explanation

Correct: A blue/green deployment pattern for agents routes new incoming work to the replacement (streaming) agent while the existing (batch) agent is allowed to complete — or 'drain' — its current queue. This ensures zero disruption to in-flight requests and provides a clean cutover point. — Wrong (A): Halting the workflow and restarting from checkpoints introduces downtime and may not be feasible if checkpointing is not configured; it is disruptive by definition. — Wrong (C): Triggering re-runs of currently executing workflow runs cancels and restarts active work, which drops in-flight requests rather than preserving them. — Wrong (D): Random selection between agents without a routing strategy can result in the same work unit being processed by both agents (duplicated effort) or neither, and does not guarantee the old agent drains gracefully.

6 more questions in this domain

Practice the full bank with instant grading, flashcards, and a timed mock exam.

Start practicing free