Vector search returns relevant passages, but the best one is often ranked fifth. What do you add?
- Exam domain
- Developing custom agents~33% of the exam
- Difficulty
- Medium
- In this mock
- 15 questions on this domainPractise this domain
Why the exam asks this
Integrating enterprise domain knowledge.
Objective in the exam guide: Designing, configuring, and managing retrieval-augmented generation (RAG) pipelines and vector retrieval systems (e.g., embedding models, similarity scoring, and reranking) using appropriate services such as vector databases (e.g., Vector Search and Agent Retrieval).
Reranking is a standard fix when relevant results are in the wrong order.
Why C is the answer
A reranker that reorders the top results
A reranker scores each retrieved passage against the query more precisely than the first-stage similarity, so the best passage moves to the top.
Remember: Fix ordering with a reranker.
How it works
Vector search finds candidates by similarity. A reranker then scores each candidate against the query more precisely.
The best passage moves to the top, where the model uses it.
Clues in the question
The words that point to the answer, and what each one tells you.
- returns relevant passages
- Recall is fine.
- ranked fifth
- Ordering is the problem.
In detail
- The exam guide lists embedding models, similarity scoring and reranking as parts of RAG.
- Measure ranking quality on a golden set before and after.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. More documents in the indexWrongMost tempting
More documents can add noise.
Why it tempts: More documents do not fix ordering.
B. A higher temperature on the answering modelWrong
Temperature affects generation, not retrieval order.
C. A reranker that reorders the top resultsRight
Fix ordering with a reranker.
D. A larger embedding dimension for all documentsWrong
Bigger vectors do not fix ordering.
Use case
An illustrative scenario, not a real incident.
Illustrative: a policy assistant retrieves twenty passages and reranks them, so the answer cites the right clause.
See it in different ways
flowchart LR S0["Chunk documents"] --> S1["Embed with one model"] --> S2["Vector or hybrid search"] --> S3["Rerank"] --> S4["Ground the answer"]
How to read this chart
- Read it in order: Chunk documents, then Embed with one model, then Vector or hybrid search, then Rerank, then Ground the answer.
flowchart LR S0["Retrieve top 20"] --> S1["Rerank"] --> S2["Keep top 3"] --> S3["Answer"]
How to read this chart
- Read it in order: Retrieve top 20, then Rerank, then Keep top 3, then Answer.