1Z0-1127-25 LangChain and AI Application Development Practice Question
A company wants to use LangChain to build a chatbot that remembers previous conversations across sessions. Which TWO components should they use together?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
ChatMessageHistory with a persistent backend (e.g., RedisChatMessageHistory)
To persist chat history across sessions, you need a memory type that stores history externally, such as ConversationBufferMemory combined with a persistent store like RedisChatMessageHistory. ConversationSummaryMemory can also be persisted similarly. The other options are not memory types.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
LLMChain
Why it's wrong here
LLMChain is a chain, not memory.
- ✓
ChatMessageHistory with a persistent backend (e.g., RedisChatMessageHistory)
Why this is correct
Persists messages across sessions.
- ✓
ConversationBufferMemory
Why this is correct
Stores full conversation history in memory, which can be persisted with a message store.
- ✗
AgentExecutor
Why it's wrong here
AgentExecutor runs agents, not memory persistence.
- ✗
OCIGenAIEmbeddings
Why it's wrong here
Embeddings are for vector representation, not history.
Go deeper
Related to this question
About these practice questions
This 1Z0-1127-25 question is part of Courseiva's 768-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This 1Z0-1127-25 practice question is part of Courseiva's free Oracle certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 1Z0-1127-25 exam.