Evaluation shows an agent often acts on outdated conventions it learned weeks ago, which have since changed. How should you refine its memory usage?
- Exam domain
- Perform evaluation, error analysis, and tuning15–20% of the exam
- Difficulty
- Medium
- In this mock
- 10 questions on this domainPractise this domain
Why the exam asks this
Perform evaluation, error analysis, and tuning: Tune agent behavior based on evaluation results.
Objective in the exam guide: Refine memory usage.
Memory can hurt as much as it helps. The exam checks tuning it from evaluation results.
Why A is the answer
Prune or downvote outdated memories, shorten expiry for this repository, and put current conventions in instructions
Outdated memories should be removed or shortened in lifetime, and current, authoritative conventions should live in instructions that are kept up to date.
How it works
Memories that were true can become outdated.
Pruning removes them; shorter expiry prevents buildup.
Authoritative conventions belong in versioned instructions, which are updated when conventions change.
Clues in the question
The words that point to the answer, and what each one tells you.
- Outdated conventions learned weeks ago
- Stale memory.
In detail
- Copilot Memory expiry can be set from 7 to 180 days by owners.
- Memories that are found wrong can be downvoted.
Side by side with look-alikes
| Change | Helps? |
|---|---|
| Prune, shorten expiry, update instructions | Yes |
| Disable all guidance | No |
| Maximum expiry | No |
| Try harder prompt | No |
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Prune or downvote outdated memories, shorten expiry for this repository, and put current conventions in instructionsRight
Outdated memories should be removed or shortened in lifetime, and current, authoritative conventions should live in instructions that are kept up to date.
B. Disable all memory and instructionsWrong
Removing all guidance loses useful context.
C. Increase the memory expiry to the maximumWrongMost tempting
Longer expiry keeps stale facts longer.
Why it tempts: Longer memory sounds like more knowledge. But it keeps the outdated facts around longer.
D. Ask the agent to try harder in the promptWrong
Effort does not fix wrong stored facts.
In practice
- Review memories after major convention changes, such as library migrations.