Skip to content

Manage memory, state, and execution Questions

Practice questions for Manage memory, state, and execution topic in GitHub Agentic AI Developer. 24 questions covering this domain.

24 questions8 easy12 medium4 hard
Q1
easy

To resume an agent task without repeating work or losing prior decisions, what should be persisted?

Q2
hard

You assign an issue to Copilot, and then a stakeholder adds new requirements in the issue comments. According to GitHub's guidance, where should you p...

Q3
medium

A team wants debug notes and temporary findings cleared after an incident is resolved. Which design choice from GH-600 addresses this directly?

Q4
easy

An agent is working on a one-time refactor and only needs temporary notes about the current task. Which memory strategy is the best fit?

Q5
medium

Which memory practice best helps reduce context drift during a long-running task?

Q6
medium

In VS Code, what happens when you hand off a local agent session to another agent type?

Q7
easy

An agent repeatedly works in the same repository and needs to remember stable build and validation conventions across tasks. Which memory strategy is ...

Q8
easy

An incident response agent stores temporary tokens and ad hoc notes that should not survive after the incident. Which rule is most appropriate?

Q9
medium

Which content should remain in agent memory during a long-running task to reduce context drift?

Q10
hard

A team hands work from one agent environment to another and wants the next agent to continue without repeating discovery or using stale assumptions. W...

Q11
medium

During an extended run, the agent starts reopening design choices that were already approved earlier in the task. What problem does this indicate, and...

Q12
medium

Two agents continue from different snapshots of the same task and begin making contradictory choices. Which practice best prevents that?

Q13
medium

A local agent will hand work to a cloud-based agent later in the day. Which persisted record best helps the second agent continue without repeating di...

Q14
medium

Two agents start from different snapshots of the same task and begin making conflicting choices. Which practice best prevents that?

Q15
easy

An agent needs fresh issue metadata from an external tracker while it works instead of relying only on chat history. Which memory choice best fits?

Q16
hard

A compliance rule changes halfway through a task, and the remaining work must continue in another tool. Which handoff package is safest?

Q17
medium

During an extended run, the agent keeps reopening an approach that was already rejected. What is the best corrective action?

Q18
easy

After a sev-1 incident is fully resolved, what should happen to temporary agent notes and incident-only context?

Q19
easy

An agent must consult a live deployment inventory service outside the repository each time it plans a change window. Which memory type is the best fit...

Q20
medium

After a repository renames its default branch, an agent keeps proposing the old branch name from previous work. What problem does this show, and what ...

Sign in to see all 24 questions

Create a free account to browse all questions — completely free during our launch phase.