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?
- AIt is truncated: only about the first 512 tokens shape the embedding
- BThe endpoint returns an error, so the indexing job fails
- CThe endpoint automatically splits each long chunk and stores two vectors for it
- 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
- Select Langchain/similar tools for use in a Generative AI application
- Qualitatively assess responses to identify common issues such as quality and safety
- Augment a prompt with additional context from a user's input based on key fields, terms, and intents
- Create a prompt that adjusts an LLM's response from a baseline to a desired output
- Implement LLM guardrails to prevent negative outcomes
- Select the best LLM based on the attributes of the application to be developed
- Select an embedding model context length based on source documents, expected queries, and optimization strategy
- Select a model from a model hub or marketplace for a task based on model metadata/model cards
- Select the best model for a given task based on common metrics generated in experiments
- Utilize MLflow and Agent Framework for developing agentic systems
- Compare the evaluation and monitoring phases of the Gen AI application life cycle
- Enable multi-agent systems to leverage Genie Spaces or conversational API to retrieve data