Skip to content
GAIEA
Application Development
hard
Question 5 of 60

A developer builds a LangChain RAG chain and adds MLflow tracing. Tracing confirms the retrieved context is passed correctly to the LLM, but the LLM still hallucinates product specifications not found in the retrieved chunks. What is the most likely cause and fix?

AThe vector search index must be rebuilt with a different similarity metric.
BThe system prompt does not explicitly instruct the model to answer only from the retrieved context, so the LLM supplements retrieved content with its own parametric knowledge.
CThe LangChain version is incompatible with the Databricks model serving endpoint version.
DThe retrieved chunks are being passed as a separate document object instead of being included in the messages list.

Educational Content — CertQnA practice questions are written against official exam objectives, covering the same domains tested on the real exam. All content is original and independent — not actual exam questions, not affiliated with any certification vendor. Learn more about our content policy

Discussion

Be the first to share your understanding of this concept

⚠️ Discussion is for concept clarification only. Do not share or request actual exam questions or answers.

Sign in to join the discussion