CertLumen

Databricks Generative AI Engineer Associate · Section 3 · 30% of the exam

Select chunking strategy based on model & retrieval evaluation

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

What it covers

Two token limits shape retrieval: what the embedding model can read per chunk, and what the LLM can hold for the retrieved chunks plus the prompt. This lesson shows how to pick an embedding model's context length from your documents, queries and optimization goals, and how to choose a chunking strategy from retrieval and end-to-end evaluation results.

Points to remember

  • Embedding max input limits each chunk; the LLM context window limits k times chunk size plus instructions and history.
  • databricks-gte-large-en: 8,192 tokens, 1,024 dims, not normalized. databricks-bge-large-en: 512 tokens, 1,024 dims, normalized.
  • databricks-qwen3-embedding-0-6b (Public Preview): about 32K tokens, configurable dimensions up to 1,024, 100+ languages.
  • Text beyond the embedding window is truncated silently; keep chunk p95 below the limit with headroom.
  • Queries and chunks must use the same embedding model; queries are short, so match chunk granularity to the questions.

Try a question

Chunks in a knowledge base average 900 tokens, with some up to 1,400 tokens, and they are embedded with databricks-bge-large-en. What happens to the text beyond the model's input limit?

  1. AIt is truncated: only about the first 512 tokens shape the embedding
  2. BThe endpoint returns an error, so the indexing job fails
  3. CThe endpoint automatically splits each long chunk and stores two vectors for it
  4. DThe model extends its window to the chunk length at a higher price
Show the answer

A. databricks-bge-large-en has a 512-token window. The Databricks docs warn that chunks exceeding the embedding model's limit are truncated, potentially losing important information. Re-chunk below the limit or use a longer-window model such as databricks-gte-large-en (8,192 tokens).

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

In the course

The lesson Embedding context length and chunking from evaluation teaches this objective (about 45 minutes), and 12 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 →