C1000-185 practice question 9 of 35
In a RAG system, the retriever is responsible for fetching relevant documents or information from a knowledge base based on the input query. Different retriever types can be used depending on the nature of the task. Which retriever type is most suitable for a RAG system that requires efficient large-scale retrieval from a document corpus based on semantic similarity?
Full set: 376 questionsDomain Access Governance and Certification
A Dense Retriever is the most suitable choice as it is specifically designed for semantic search at scale. It operates by transforming both the input query and the documents in the knowledge base into numerical vector representations, known as embeddings. Retrieval is then performed by finding the document vectors that are closest to the query vector in the high-dimensional space, a process that captures semantic meaning rather than just lexical overlap. When paired with optimized Approximate Nearest Neighbor (ANN) search indexes, this method provides the efficiency required for large-scale document corpora, directly addressing the question's core requirements.
A. Lexical retrievers operate on keyword matching (e.g., BM25), failing to capture the semantic similarity required by the question.
B. While a hybrid retriever uses semantic methods, the description explicitly notes it "sacrifices retrieval speed," which conflicts with the need for "efficient large-scale retrieval."
C. Exact-match retrieval is too restrictive for a general document corpus, as it lacks the ability to understand synonyms, paraphrasing, or conceptual relationships.
1. Academic Publication: Lewis
P.
Perez
E.
Piktus
A.
et al. (2020). Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks. In Advances in Neural Information Processing Systems 33 (NeurIPS 2020). Section 2
"Methods
" describes the retriever component
highlighting the use of a Dense Passage Retriever (DPR) which computes embeddings for queries and documents to find the top-k passages with the highest inner product similarity. This is the foundation of dense retrieval.
2. University Courseware: Manning
C. (2021). Lecture 15: Retrieval and Question Answering. Stanford University
CS224N: Natural Language Processing with Deep Learning
Winter 2021. The lecture slides (specifically slides 25-38) detail the shift from sparse retrieval (like TF-IDF) to dense retrieval for open-domain QA
explaining how dense vectors capture semantic meaning for more effective information retrieval.
3. Official Vendor Documentation: IBM Cloud Docs. (2023). Generating trusted AI with the RAG pattern in watsonx.ai. In the section "The RAG pattern
" the "Retrieve" step is detailed: "The user input is converted to a vector representation (embedding) and is used to query the vector database to find document chunks that are relevant to the user input." This describes the core mechanism of a dense retriever.
Keep practicing
Take the free C1000-185 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other C1000-185 practice questions
- Question 1You are tasked with designing a LangChain-based AI workflow using watsonx.ai that incorpo…
- Question 2You are working with a healthcare provider to deploy a generative AI model that assists i…
- Question 3You are developing a generative AI model using the IBM Watsonx platform to assist in cust…
- Question 4You are training a generative AI model using IBM’s Tuning Studio and want to optimize its…
- Question 5Which of the following best describes the effect of controlling model parameters during t…
- Question 6You are tasked with optimizing a generative AI model’s output for a natural language gene…
