Read the text and answer the question. Passage: "A company uses a knowledge base to answer customer questions. Instead of relying on the model alone, it breaks documents into smaller passages, creates vector embeddings for each passage, and stores them in a vector index. When a user asks a question, the system embeds the query, retrieves the most similar passages, and sends them to the model along with an instruction to answer only using that context. The team also logs the retrieved passages and the final responses so they can later analyze failures, such as when the model provides an answer that is not clearly supported by the retrieved text." Which failure mode does the logging described most directly help diagnose?
Answer
Answers that are not supported by retrieved passages (poor grounding)
Explanation
Logging retrieved passages plus the final response enables teams to check whether the answer is grounded in the provided context and identify grounding failures.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
Which approach best improves reproducibility of outputs in a generative AI workflow?
View question →
A chatbot must comply with a policy that blocks certain categories of content (e.g., hate, self-harm). What is the most effective AWS-native strategy?
View question →
Which action most directly improves the quality of Retrieval Augmented Generation (RAG) responses?
View question →
For evaluating a generative AI application, which metric most directly checks whether the answer is supported by retrieved sources?
View question →
You are designing an event-driven workflow that must call an LLM and store results. Which AWS service combination is most appropriate?
View question →
Which statement about fine-tuning for generative AI on AWS is most accurate?
View question →