Practice 1Z0-1127-25 LangChain and AI Application Development questions with full explanations on every answer.
Start practicing
LangChain and AI Application Development — choose a session length
Free · No account required
Click any question to see the full explanation and answer options, or start a focused practice session above.
A company wants to build a customer service chatbot that answers questions about their internal policy documents. The documents are updated monthly, and the team cannot afford to retrain a model each time. Which approach is MOST appropriate?
2In LangChain, which component is responsible for connecting a language model to a retriever and a prompt template to answer questions based on retrieved documents?
3A developer is building a RAG pipeline using LangChain and Oracle AI Vector Search. After loading and splitting PDF documents, they generate embeddings and store them in Oracle Database using OracleVS. Which method should they call on the vector store object to create a retriever that uses similarity search with a configurable number of results?
4A company uses LangChain with OCI Generative AI. They notice that their agent-based application occasionally exceeds the rate limits of the OCI Generative AI service, causing errors. Which strategy is MOST effective for handling rate limits in a production LangChain application?
5Which LangChain memory type stores the entire conversation history as a list of messages and is best for simple, short conversations?
6A developer wants to index a large corpus of HTML web pages for a RAG pipeline using LangChain. They need to load the content from URLs, split the text into chunks, and generate embeddings. Which combination of LangChain components should they use?
7In LangChain, what is the purpose of the LCEL (LangChain Expression Language) | operator?
8A team is building a conversational chatbot using LangChain and OCI Generative AI. They want to maintain a summary of the conversation rather than storing the entire history, to keep within token limits. Which memory class should they use, and what additional step is required when initializing the memory?
9An application uses LangChain's ConversationalRetrievalChain with memory. Users report that the chatbot occasionally repeats information from earlier in the conversation even when the new question is unrelated. What is the most likely cause?
10Which Oracle AI Vector Search index type is designed for approximate nearest neighbor search and uses a navigable small world graph?
11A developer wants to use LangChain to create an agent that can perform calculations and look up information from a database. Which tools should be provided to the agent?
12A company has a collection of PDF documents that are 500 pages each. They want to build a RAG system using LangChain and FAISS. They need to ensure that each chunk has enough context for accurate retrieval while keeping chunk size small enough for efficient embedding. They also want some overlap between chunks to avoid losing context at boundaries. Which text splitter configuration is most appropriate?
13A developer is building a LangChain application that uses OCI Generative AI service. They want to implement streaming responses from the LLM to improve user experience. Which TWO actions are necessary to enable streaming?
14A data scientist is designing a RAG pipeline using LangChain and Oracle AI Vector Search. They want to ensure that the retrieved documents are diverse and not overly similar to each other. Which TWO approaches can achieve this?
15Which THREE of the following are core LangChain components?
16A company wants to build a customer service chatbot that answers questions about their internal policy documents. The documents are updated monthly, and the team cannot afford to retrain a model each time. Which approach is MOST appropriate?
17Which LangChain abstraction is responsible for storing and retrieving conversation history to maintain context across multiple turns in a chatbot?
18An AI developer is building a document Q&A application using LangChain and OCI Generative AI. They need to split large PDF documents into smaller chunks before embedding. Which text splitter should they use to ensure splits respect sentence boundaries while also controlling chunk size?
19Which of the following best describes the role of a Retriever in a LangChain RAG pipeline?
20In Oracle AI Vector Search, which index type is designed for approximate nearest neighbor search and employs a hierarchical navigable small world graph, offering high recall and fast search speeds for high-dimensional data?
21A developer is using LangChain's LCEL to build a RAG pipeline. They want to add streaming of the final answer to the user. Which LCEL feature enables streaming output from the model?
22A team wants to deploy a LangChain agent that can perform mathematical calculations, look up current weather, and search the web. Which tools should they include in the agent's toolkit?
23A developer notices that the ConversationalRetrievalChain in their LangChain application is not retaining context from previous turns in the conversation. Which component is most likely missing or misconfigured?
24Which LangChain document loader would be most appropriate to load content from a public website for inclusion in a knowledge base?
25In a LangChain RAG pipeline using Oracle AI Vector Search, the developer wants to retrieve chunks that are both relevant and diverse to cover multiple aspects of a query. Which retrieval method should they configure on the retriever?
26A developer is using ChatPromptTemplate with MessagesPlaceholder to handle conversation history. What is the purpose of MessagesPlaceholder in the prompt template?
27An organization needs to implement a RAG application with Oracle AI Vector Search but has strict latency requirements. They have millions of vectors. Which index type is likely to provide the best search speed while maintaining reasonable recall?
28A developer is building a RAG pipeline using LangChain and OCI Generative AI. They need to split a large PDF into overlapping chunks for embedding. Which text splitter and parameter settings are MOST appropriate?
29A team is using LangChain's ConversationalRetrievalChain with ConversationBufferMemory to build a chatbot. After a few turns, the chatbot starts repeating information from earlier messages. What is the MOST likely cause?
30An organization uses Oracle AI Vector Search in Oracle Database 23ai to store embeddings for a LangChain RAG application. They need to perform similarity search with high recall and low latency for a large dataset (10M vectors). Which index configuration should they choose?
31Which LangChain abstraction is used to wrap OCI Generative AI's chat models (e.g., Cohere Command R) for use in a LangChain chain?
32A developer wants to compose a LangChain pipeline using the LCEL (LangChain Expression Language) to combine a prompt template, a model, and an output parser. Which operator is used for this composition?
33A company is deploying a LangChain agent that uses a custom tool to query an external API. The agent must handle rate limits gracefully. Which approach should the developer implement?
34A developer is using LangChain's ConversationBufferMemory to store chat history. They notice that after many turns, the prompt becomes too large and exceeds the model's context window. What is the BEST memory type to use for this scenario?
35A LangChain application uses an agent with a calculator tool and a search tool. The agent is supposed to answer a question that requires both arithmetic and web lookup, but it only uses the search tool and gives an approximate answer. Which agent type is MOST likely to correctly combine the tools?
36When using LangChain's RetrievalQA chain with `chain_type="stuff"`, what happens if the retrieved documents exceed the model's context window?
37A developer is building a LangChain RAG pipeline with OCI Generative AI. Which TWO components are needed to create embeddings from documents and store them for retrieval?
38A company wants to use LangChain to build a chatbot that remembers previous conversations across sessions. Which TWO components should they use together?
39A developer is using LangChain to build a RAG pipeline with Oracle Database 23ai as the vector store. Which LangChain wrapper should they use to create embeddings and store them in the database?
40A team is implementing a conversational chatbot that needs to remember a user's previous messages within the same session. They are using LangChain with OCI Generative AI. Which memory type and persistence approach should they choose for session-only memory?
41In LangChain's Expression Language (LCEL), what does the pipe (|) operator do when connecting components?
42A developer is using LangChain's RecursiveCharacterTextSplitter with chunk_size=1000 and chunk_overlap=200. Which statement best describes the resulting chunks?
43A team is building an agent using LangChain that needs to perform calculations and search the web for current information. Which combination of tools and agent type should they use?
44A company is using Oracle AI Vector Search in Oracle Database 23ai for semantic search over product descriptions. They need to create an index that supports approximate nearest neighbor search with high recall and moderate indexing time. Which index type and parameters should they choose?
45In LangChain, which component is responsible for loading data from a specific file format, such as PDF or CSV, into a document object?
46A LangChain application using ChatOCIGenAI is hitting rate limits from the OCI Generative AI service. The developer wants to implement retry logic with exponential backoff. Which approach is most appropriate in LangChain?
47Which LangChain memory type is best suited for a long-running conversation where token consumption must be minimized, and the gist of previous exchanges should be retained?
48An organization is deploying a RAG application with Oracle AI Vector Search. They need to ensure that the vector index supports low-latency queries and can handle updates to the underlying documents (inserts, deletes, modifications) without significant performance degradation. Which two index features should they consider? (Choose TWO.)
49Which LangChain component is responsible for storing and retrieving message history across multiple turns in a conversation?
50In LangChain, which class should be used to wrap Oracle Cloud Infrastructure's Generative AI service as a chat model?
51A developer needs to include the conversation history in a prompt for a LangChain chatbot. They want to insert previous exchanges between the user and the AI into the prompt at a specific position. Which component should they use?
52A developer uses the ReAct agent in LangChain with a calculator tool and a search tool. The agent receives the question: 'What is the population of Paris multiplied by 3?' The agent first calls the search tool to find the population, then calls the calculator tool to multiply it by 3. Which component is responsible for deciding the sequence of tool calls?
53An AI application uses LangChain's LCEL with the | operator to compose a chain: prompt | model | output_parser. During testing, the developer notices that the output_parser is not receiving the expected input format from the model. What is the most likely cause?
54Which LangChain document loader should be used to load text from a web page given its URL?
55A developer is building a conversational AI application using LangChain and needs to persist chat history across sessions. Which TWO approaches can they use? (Choose TWO.)
56A company is deploying a LangChain application on OCI and needs to implement error handling and rate limit management. Which THREE strategies should they consider? (Choose THREE.)
57You need to build a RAG pipeline using LangChain and OCI Generative AI. The pipeline must load PDF documents, split them into chunks, embed them, store in a vector store, and retrieve relevant chunks at query time. Which THREE components are essential? (Choose THREE.)
58A developer is building a LangChain-powered application that must maintain conversation history across multiple turns. They want to store the chat history in Oracle Database. Which memory type and persistence approach should they use?
59Which LangChain component is responsible for splitting long documents into smaller, overlapping chunks before embedding?
60A developer is using Oracle AI Vector Search with LangChain to build a RAG system on top of Oracle Database 23ai. They have created a VECTOR column and built an HNSW index. To improve recall at the cost of some accuracy, which index parameter should they adjust?
61A developer needs to build a chain that first summarizes a long document, then translates the summary into French. Which LangChain chain type allows executing these steps in sequence with the output of one step feeding into the next?
62A team is building a LangChain agent that needs to answer questions using both a company-internal knowledge base (stored in Oracle AI Vector Search) and live web search. Which THREE components should they include in the agent setup?
63A developer is building a RAG pipeline with LangChain. They have loaded PDF documents with PDFLoader. Which TWO steps must they perform before indexing the documents into a vector store?
64A company is deploying a LangChain application using OCI Generative AI. They need to comply with a policy that requires all prompts sent to the LLM to be logged for audit, and they must also handle rate limits gracefully. Which TWO strategies should they implement?
65A developer is using LangChain's ChatPromptTemplate to construct a prompt for a conversational agent. The prompt should include a system message, a placeholder for conversation history, and the latest user query. Which TWO components should they include in the template?
The LangChain and AI Application Development domain covers the key concepts tested in this area of the 1Z0-1127-25 exam blueprint published by Oracle. Courseiva provides free domain-focused practice, mock exams, missed-question review, and readiness tracking across all 1Z0-1127-25 domains — no account required.
The Courseiva 1Z0-1127-25 question bank contains 65 questions in the LangChain and AI Application Development domain, covering the 13% of the exam attributed to this domain in the official Oracle blueprint. Click any question to see the full explanation and answer breakdown.
Start with a 10-question focused session to identify your baseline accuracy in this domain. Read every explanation — even for questions you answer correctly — to understand the reasoning. Once you score consistently above 80%, move to a 20–30 question session to confirm depth before moving to the next domain.
Yes — the session launcher on this page draws questions exclusively from the LangChain and AI Application Development domain. Choose 10, 20, 30, or 50 questions for a focused session, or click individual questions to review them one by one.
Save your results, see per-domain analytics, and get readiness scores — free, for every certification.
Sign Up FreeFree forever · Every certification included