A full GitHub Certified: Agentic AI Developer mock exam: 60 questions in 120 minutes, scored against the real exam's pass mark. Your first one is free.
Think first When you split one task across several agents, how do you coordinate them and keep their work from clashing?
Why it matters: Questions describe a multi-agent task and ask how to orchestrate it, isolate parallel agents or resolve conflicts between them.
An orchestrator, usually the main agent, tracks the overall goal and hands work to subagents. Each subagent works in its own context window, often in parallel. At the end, the results are reviewed and combined.
Reported, thanks
Step 2 of 10
Term
Meaning
Orchestrator
The agent, usually the main one, that tracks the overall goal and delegates work to subagents.
Subagent
An agent doing delegated work in its own separate context window.
Fleet mode
The /fleet command, where the main agent splits a prompt into subtasks for subagents.
Workspace isolation
Running app sessions in separate git worktrees or cloud sandboxes so concurrent tasks stay apart.
Dynamic workflow
An experimental Copilot CLI workflow made of steps and subagents, whose saved results a resumed run can reuse.
Reported, thanks
Step 3 of 10
The main agent decides whether a prompt can be split. With /fleet, the main agent looks for smaller subtasks in the prompt. If it delegates, it becomes the orchestrator and manages dependencies between subtasks. Where possible, it runs subagents in parallel to finish sooner. The /plan command can shape the breakdown first.
Exam trap More agents do not always help. A sequential request may gain nothing from /fleet, and separate model calls per subagent can use more AI Credits.
Reported, thanks
Step 4 of 10
Split work only when tasks are independent with clear boundaries. Coordinating the results must cost less than the time it saves. A subagent works in a context window of its own, so it does not carry all of the main session's context. In Copilot CLI, custom subagents do not get repository instructions by default.
Reported, thanks
Step 5 of 10
Give each concurrent task its own workspace. GitHub Copilot app sessions can each use a separate git worktree or cloud sandbox, apart from the default branch. Every cloud agent session gets a temporary environment that is destroyed when it ends, so no state carries over. Each SDK session has its own context, tools and permissions, and MCP servers run as separate processes.
Reported, thanks
Step 6 of 10
A custom agent's profile settings limit what it can do. Add the agent alias to the tools list to let one custom agent invoke another. For Copilot in the cloud, the built-in github MCP server offers read-only tools by default, with a token scoped to the originating repository.
Custom agent profile settings and their effects
Setting
Value
Effect
tools
omitted
Every available tool is enabled
tools
[]
Every tool is disabled
tools
a specific list
Only the listed tools are enabled
user-invocable
false
Not selectable by users; reached only programmatically
disable-model-invocation
true
Never picked automatically; it must be selected manually
Reported, thanks
Step 7 of 10
With duplicate names, the lowest-level agent wins. So a repository agent overrides an organization agent, which overrides an enterprise agent. An assigned custom agent uses the latest profile version for its repository and branch. Work in the pull request it opens keeps that same version for consistency.
Exam trap An enterprise-level agent does not beat a repository agent with the same name. The repository-level definition takes precedence.
Reported, thanks
Step 8 of 10
Review and combine subagent results before you merge. A coordinated workflow ends with that review step. Copilot CLI's built-in rubber-duck agent gives a second opinion. The GitHub Copilot app lets you inspect generated changes, CI results, reviews, pull request status and session history before merging.
Reported, thanks
Step 9 of 10
A resumed dynamic workflow can reuse finished work. It reuses saved results from completed steps and subagents instead of starting a new run. Dynamic workflows in Copilot CLI need experimental features, turned on with --experimental or /experimental on. When you steer a cloud agent session, Copilot applies the input after its current tool call.
Reported, thanks
Step 10 of 10
The orchestrator, usually the main agent, tracks the goal and delegates to subagents.
Use /fleet for independent tasks with clear boundaries, not for sequential ones.
/fleet can use more AI Credits, since each subagent calls the model on its own.
Isolate concurrent app sessions in separate git worktrees or cloud sandboxes.
On a name clash, a repository-level agent overrides organization and enterprise agents.
Think first After several agents work on one change, which records let you reconstruct who did what, and why?
Why it matters: Questions ask which logs, artifacts or audit records to set up so multi-agent work can be reviewed and analyzed later.
Observability means every agent leaves records you can review later. Workflow artifacts keep run output, the audit log keeps agent activity, and synced session history answers questions about past sessions. Each record has gaps, so you combine them.
Reported, thanks
Step 2 of 10
Term
Meaning
Workflow artifact
Files a workflow run produces that persist after the job ends and can be shared with another job.
Audit log
The enterprise record of agent activity and Copilot plan changes, kept for 180 days.
Check suite
Created for each workflow run; it holds one check run for each job.
Artifact attestation
A provenance record linking an artifact to its workflow, repository, environment, commit SHA and triggering event.
Reported, thanks
Step 3 of 10
Upload run output as artifacts for later review. Artifacts persist after a job finishes, and other jobs in the same workflow can use them. The upload-artifact and download-artifact actions move them. Uploaded build and test output helps you debug failed tests or crashes and view test coverage.
Exam trap Caching is not how you keep build logs for review. Artifacts are the tool for files you need to view after the run ends.
Reported, thanks
Step 4 of 10
A job that needs another job's artifacts waits for it. A dependent job waits until the earlier job completes successfully, and the needs keyword runs jobs in sequence. With no name given, download-artifact fetches every artifact of the run, one directory per artifact. Pulling artifacts from another run needs a token and a run identifier.
Reported, thanks
Step 5 of 10
Attestations and digests show an artifact's origin and integrity. An artifact attestation links the artifact to its workflow, repository, environment, commit SHA and triggering event. When a downloaded artifact's digest differs from the upload step's, the run shows a warning in the UI and in the job logs.
Exam trap Deleting a workflow run removes all of its artifacts from storage. Keep the run until review and audit are done.
Reported, thanks
Step 6 of 10
Search the audit log with actor:Copilot. The enterprise audit log records agent activity on the GitHub website and changes to the Copilot plan. It keeps events for 180 days. For long-term history and alerts on unusual activity, stream it to a SIEM platform.
Exam trap The audit log does not hold the prompts a user types to Copilot locally. Capture them with a custom solution, such as hooks feeding your own logging service.
Reported, thanks
Step 7 of 10
Hooks can log what happens in a local session. For example, a sessionStart hook can write each session's start date to a log file. To monitor and steer a Copilot CLI session from elsewhere, enable remote control. The session keeps running on the original machine, so that machine must stay online.
Reported, thanks
Step 8 of 10
Ask Copilot about your synced session history. Synced history covers Copilot in the cloud, code review, Copilot CLI, VS Code, JetBrains IDEs and the GitHub Copilot app. You can query only sessions you started. Syncing must be enabled and allowed by your organization's policies.
Records for post-hoc analysis and their limits
Record
What it captures
Limit
Workflow artifacts
Files a run produces, kept after jobs end
Deleted with the workflow run
Audit log
Agent activity on the website and Copilot plan changes
Keeps 180 days; no local prompts
Log archive after a partial re-run
Logs of the re-run jobs only
Earlier attempts' archives hold the rest
Synced session history
Past sessions across Copilot surfaces
Only sessions you started
Reported, thanks
Step 9 of 10
Pull request summaries record what changed. Copilot can write a summary of changes in a pull request description or comment. It helps reviewers, but it is not a code review. To request changes, mention @copilot in a comment or push commits to the branch.
Exam trap Your own approval of a Copilot pull request does not count toward required approvals. Another reviewer must approve it before merging.
Reported, thanks
Step 10 of 10
Keep run output as artifacts for review; deleting the run deletes them.
Search the audit log with actor:Copilot; it keeps events for 180 days.
Local prompts are not in the audit log, so capture them with hooks.
By default, workflows do not run automatically when Copilot pushes to a pull request.
After a partial re-run, download earlier attempts' log archives for a full set.
Think first When one agent stalls, fails halfway or drifts off course, how do you notice it and recover safely?
Why it matters: Questions describe a stuck, failed or misbehaving agent session and ask how to detect it, steer it or recover from it.
Watch sessions through their live logs so you spot a stalled or failing run early. You can steer a drifting session, retry a stuck task by reassigning its issue, or stop a run and keep its pushed commits. A human stays in the loop, because agent pull requests need human review and merge.
Reported, thanks
Step 2 of 11
Term
Meaning
Session log
A live view of an agent's work, with its progress, token usage and session length.
Steering
A message sent while Copilot works, applied to the current task instead of starting a new one.
Queued message
A message that waits for the current task to finish, then runs as the next turn.
Agent Merge
Copilot watching a pull request and fixing the blockers you pick: failed workflows, merge conflicts, or both.
Agent hook
A check you configure to run around an agent's tool calls, such as before or after a tool runs.
Reported, thanks
Step 3 of 11
An assigned issue should get a reaction, then a draft pull request. After you assign an issue, Copilot leaves an eyes reaction and soon opens a linked draft pull request. A "Copilot started work" event offers View session, whose logs stream live. If the task is stuck, unassign the issue and assign it to Copilot again.
Reported, thanks
Step 4 of 11
A session on GitHub Actions stops after 59 minutes. That limit cannot be extended or bypassed, so a longer task stops partway. Agent hooks time out after 30 seconds by default; raise timeoutSec if needed. Copilot cloud agent uses a hooks file only when it sits on the default branch.
Exam trap An invalid model provider configuration does not fall back to GitHub-hosted models. Copilot CLI exits with an error instead.
Reported, thanks
Step 5 of 11
Firewall warnings name the blocked address and command. When the Copilot firewall blocks a request, the warning shows where it went and which command sent it. A ruleset or branch protection rule can also stop Copilot from creating or updating pull requests; administrators can add a bypass. If Copilot stalls on a pull request comment, post that comment again.
Reported, thanks
Step 6 of 11
Steering corrects a session without restarting it. In a cloud agent session, Copilot acts on your steering input once its current tool call ends. Every steering message uses AI credits, and third-party coding agents cannot be steered.
Steering and queuing in Copilot CLI compared
Feature
Steering
Queued message
How you send it
A plain prompt while Copilot is thinking (the default)
Ctrl+Enter or Ctrl+Q
When it takes effect
Within the task in progress
As the next turn, after the task finishes
Reported, thanks
Step 7 of 11
Stopping a session keeps the commits already pushed. Stopping ends the GitHub Actions run, and the partial work stays for review. In Copilot CLI, press Esc twice to interrupt the current operation if it starts acting unexpectedly. Copilot cloud agent pushes to one branch only: the existing pull request branch when triggered with @copilot, otherwise a new copilot/ branch.
Exam trap Do not assume concurrent app tasks must share the default branch. Each GitHub Copilot app session can use its own git worktree or a cloud sandbox.
Reported, thanks
Step 8 of 11
Every agent commit links to its session logs. Each commit message carries that link, for code review and auditing. The logs show the work done and the tools used. They do not replace your own review and testing, so still check the changes yourself.
Reported, thanks
Step 9 of 11
A human must review and merge agent pull requests. Copilot cloud agent cannot mark its pull requests Ready for review, approve them or merge them. SDK lifecycle hooks such as onPreToolUse and onPostToolUse can add safety checks and approval workflows around tool execution.
Exam trap Workflows do not run on their own on an agent pull request. A user with write access must approve them, which also stops chains of automations.
Reported, thanks
Step 10 of 11
Agent Merge works on failed workflows and merge conflicts. Turn it on with Watch and fix in the merge box, then choose the blockers Copilot should handle. Subagents suit isolated tasks: each works in its own context window and returns a final result. They use the main session's tools and model but cannot create more subagents.
Exam trap Copilot code review does not catch every problem, especially in large or complex changes. Back it up with careful human review.
Reported, thanks
Step 11 of 11
Watch the live session log to spot stalled or failing work early.
A session on GitHub Actions stops at 59 minutes and cannot be extended.
Stopping a session keeps the commits it already pushed.
Retry a stuck task by unassigning the issue and assigning Copilot again.
Agent pull requests need a human to review and merge them.
Think first How do you add, change or retire an agent in a running workflow without breaking it or losing its history?
Why it matters: Questions describe a change to an agent in a workflow and ask which setting, command or step keeps work safe and traceable.
An agentic workflow is a file in the repository, so its agents are managed like code. You add or swap an agent in the frontmatter, revise saved definitions for future runs, and disable rather than delete to retire. Run logs let you review what each agent run did.
Reported, thanks
Step 2 of 11
Term
Meaning
Frontmatter
YAML between --- markers that sets a workflow's triggers, permissions and allowed write operations.
Engine
The frontmatter property that picks the coding agent; GitHub Copilot is the default.
Safe outputs
Validated write operations declared in the frontmatter; the only way an agentic workflow can write.
Dynamic workflow
A Copilot CLI workflow that runs subagents and keeps its definition in an extension.
Extension
Where a dynamic workflow's definition is saved: for a session, in a personal directory or in a repository.
Reported, thanks
Step 3 of 11
An agentic workflow is a markdown file with YAML frontmatter. The frontmatter sets when it runs, its permissions and its allowed writes. The markdown body holds plain-language instructions the agent follows. You compile the file into a .lock.yml Actions workflow, then commit and push both files to the default branch.
Exam trap Wrong: commit only the compiled .lock.yml file. The markdown file and its compiled .lock.yml file both go to the default branch.
Reported, thanks
Step 4 of 11
The engine frontmatter property picks the coding agent. Copilot runs when no engine is set. Supported agents include GitHub Copilot, which needs a Copilot plan, plus Anthropic Claude, OpenAI Codex and Google Gemini. To replace the agent, change engine. Every engine needs its own authentication secret set up in the repository.
Reported, thanks
Step 5 of 11
Organization-level custom agents live in an /agents directory. That directory sits in the organization's .github or .github-private repository. Every member can use these agents, even without access to that repository. In an enterprise, owners can restrict custom agents with a ruleset. To share a dynamic workflow, copy the folder holding its extension.mjs into .github/extensions/.
Exam trap Wrong: members need access to the .github-private repository to use its agents. Organization-level custom agents reach all members either way.
Reported, thanks
Step 6 of 11
New agentic workflows start with read-only repository permissions. Writes such as opening issues, posting comments or creating pull requests go only through validated safe outputs in the frontmatter. Role-based access controls limit who can trigger or modify the workflow. A dynamic workflow's subagents inherit the permission grants of the session that launched them.
Exam trap Wrong: subagents start with no permissions of their own. A dynamic workflow's subagents inherit whatever the starting session has already allowed.
Reported, thanks
Step 7 of 11
Pass data that later steps or jobs need as explicit outputs. Do not leave it only in logs. Pick the output type by where the consumer runs.
Step outputs and job outputs compared
Feature
Step outputs
Job outputs
Passes values
Between steps in the same job
Across different jobs
Relies on
Steps sharing one job
Job dependencies
Reported, thanks
Step 8 of 11
Revise the saved definition, not a one-run override. Test a new workflow on a small scope first, such as two or three files, then ask Copilot to revise it if needed. Revisions are saved to its extension. New runs use them once the updated extension loads, and a paused run keeps its saved results. Copying a session workflow shares its definition, not its run history.
Exam trap Wrong: teammates get a revision automatically. For a workflow shared in a project repository, people must pull the updated repository and reload their extensions first.
Reported, thanks
Step 9 of 11
Disable a workflow to stop triggers while keeping its file. The definition stays in the repository, and you can re-enable it later. Use gh workflow disable with the workflow's name, ID or file name. Existing runs are not cancelled. In a public repository, scheduled workflows also disable themselves after 60 days without activity.
Exam trap Wrong: disabling a workflow cancels its runs. Existing runs are kept, but you cannot re-run them or their jobs until you enable the workflow again.
Reported, thanks
Step 10 of 11
Review agent runs with the gh aw commands. The logs command lists recent runs with duration, token usage and AI Credit (AIC) estimates. The audit command inspects one run, including its estimated inference cost. In enterprise managed settings, the identity capture class ties activity to a user without collecting prompts or responses.
Example: Lists recent agentic workflow runs, then inspects a single run in detail.
gh aw logs
gh aw audit RUN-ID
RUN-ID: the ID of the run to inspect
Reported, thanks
Step 11 of 11
Add or replace a workflow's coding agent with the engine frontmatter property; Copilot is the default.
Agentic workflows are read-only by default, and writes happen only through declared safe outputs.
Change future runs by revising the saved definition; a paused run keeps its saved results.
Retire a workflow by disabling it: the file stays, and you can re-enable it later.
Use gh aw logs to review recent runs and gh aw audit to inspect one.
Each topic's Check tested it on its own; this mixes them.
Mixed quiz
Take the Domain 5 quiz
10 questions mixed from every topic in this domain, each answer explained. Mixing topics is harder than one at a time, and it is what the exam does. No account needed; with a free account your answers also build your estimated exam score.
Thank you. It goes straight to the people who write these notes.
Test yourself in exam conditions
A full GitHub Certified: Agentic AI Developer mock exam: 60 questions in 120 minutes, scored against the real exam's pass mark. Your first one is free.
Free to start: the study notes and plan, quizzes, flashcards and the first mock exam, no card needed. A free account keeps your place and saves your quiz scores.