Question 28
Domain 3: Knowledge Integration, Data Handling, Cognition, Planning, and MemoryWhich type of memory mechanism is essential for an agent to retain user preferences across different sessions over a long period?
Correct answer: B
Explanation
Vector database-backed long-term memory stores information outside the model so it can be retrieved in later sessions. That makes it suitable for retaining user preferences “across different sessions over a long period,” unlike short-term context that is lost when a session ends.
Why each option is right or wrong
A. Short-term buffer memory limited to the current session window
B. Vector database-backed long-term memory.
The question asks for persistence beyond a single conversation, so the relevant mechanism is the one that stores user-specific information externally and can be queried again in future sessions. Short-term context is limited to the active session window and is discarded when that session ends, whereas a vector database enables durable retrieval of previously stored preference embeddings across sessions over time.
C. In-context prompt caching with no.
D. Recurrent Neural Network hidden states across turns