MLA-C02 practice question: RAG architecture and retrieval tuning (2 of 2)
ML Model and Foundation Model (FM) Development A free question from our original MLA-C02 practice exam. Try it, then open the answer to see why each option is right or wrong.
A pet insurer built a retrieval-augmented assistant over 40,000 policy clauses in an Amazon Bedrock knowledge base. For questions about exclusions, the top five retrieved clauses are often topically similar but do not answer the question, and the answers are wrong.
The retrieved set must be reordered so that the clauses that actually answer the question come first. Latency must stay under three seconds for each answer, and the team does not want to change the embedding model or re-index the clauses.
Which change best meets these requirements?
Choose one answer.
AA. Add a reranking model to the retrieval step so that it scores the retrieved clauses against the question and returns them in that order.
BB. Increase the number of results returned from the vector search to 100, and pass all of them to the foundation model together with the customer's question.
CC. Re-index all 40,000 clauses with a larger chunk size, so that each chunk holds an entire policy section.
DD. Replace the foundation model that writes answers with a larger one, expecting it to ignore unrelated clauses.
B. Wrong: Passing 100 clauses increases the model input and can push latency past the target, and the relevant clause may still sit low in the list. The stem asks for better ordering, not more text.
C. Wrong: Re-indexing is the change the team wants to avoid, and larger chunks do not reorder the candidates. Each section also brings more irrelevant text into the answer.
D. Wrong: The generation model is not the step that orders the clauses, and a bigger model adds cost and latency. The wrong clauses are reaching the model in the first place.
Explanation
A reranking model reorders a set of retrieved passages by relevance to the question, which fixes the case where the right clause ranks low. This needs no re-indexing and keeps the model input small. Larger result sets, bigger chunks or a larger generator each add cost or text without solving the ordering problem.
Want more on RAG architecture and retrieval tuning? The 5 full-length practice sets have 9 more RAG architecture and retrieval tuning questions, 325 in all, none of them in the free exam. One payment of $14.99, no subscription. See the practice sets →