CertLumen

Databricks Generative AI Engineer Associate · Section 2 · 14% of the exam

Explain the role of re-ranking in the information retrieval process

One of the objectives of the Databricks Certified Generative AI Engineer Associate exam, in the section “Data Preparation”. Here is what it covers, the points to remember and a question to try.

What it covers

Go beyond flat chunks with parent-child, context-enriched and hybrid retrieval designs, measure retrieval with precision, recall, MRR, NDCG and MLflow judges, and use a reranker to put the best candidates at the top.

Points to remember

  • Parent-child (small-to-big): embed small chunks, return their parent section for context.
  • Context-enriched chunks prepend title or section path to the embedded text; ai_prep_search builds chunk_to_embed this way.
  • Hybrid search runs ANN and BM25 full-text in parallel and merges with Reciprocal Rank Fusion; best for exact codes and names (query_type="hybrid").
  • Metadata filters (version, region, product) restrict search to the right subset.
  • Precision@k, recall@k, hit rate, MRR and NDCG need labeled relevant documents; label at document or section level so labels survive re-chunking.

Try a question

Which retrieval metric measures the fraction of all relevant documents for a query that appear in the top k results?

  1. APrecision@k
  2. BRecall@k
  3. CMean reciprocal rank
  4. DHit rate@k
Show the answer

B. Recall@k divides the number of relevant documents found in the top k by the total number of relevant documents for the query. It tells you whether the retriever finds the needed context at all.

Written for practice in the style of the exam: never a question from the real exam.

In the course

The lesson Advanced Retrieval: Chunking Designs, Evaluation and Re-ranking teaches this objective (about 45 minutes), and 13 practice questions test it. The course has lessons, exam-style questions, timed practice exams and an AI tutor for every objective, and a pass prediction that tells you when you're ready to book.

More in this section

← Previous objective · All 56 objectives · Next objective →