Free cheat sheet
Databricks Generative AI Engineer Associate
Two pages of the decision rules, APIs, defaults and traps the Databricks Generative AI Engineer Associate exam tests, organised by the March 2026 exam guide's six domains.
Aligned to the March 2026 exam guide · checked against the Databricks docs on 27 October 2026 · certlake.com/exam/genai-engineer-associate/cheat-sheet
Exam at a glance
The exam
45 scored questions (+ up to 10 unscored) · 90 min · exam published 18 March 2026.
Weights
| Domain | % |
|---|---|
| Design Applications | 14 |
| Data Preparation | 14 |
| Application Development | 30 |
| Assembling and Deploying | 22 |
| Governance | 8 |
| Evaluation and Monitoring | 12 |
New names
Vector Search → Databricks AI Search · Genie spaces → Genie Agents · endpoint AI Gateway (legacy) → Unity Gateway · Knowledge Assistant, Supervisor Agent, AI Playground, agents on Model Serving (agents.) now listed as legacy → Genie Agents (low code), Agent Bricks CLI on Agent Runtime (code) · Asset Bundles → Declarative Automation Bundles. Questions may use either name.
1. Design Applications14% of the exam
Goal → task
| Requirement | Task / design |
|---|---|
| Answer from internal docs | RAG: retriever + prompt + LLM |
| Route emails to teams | Classification |
| Paragraph → one line | Summarization |
| Documents → table of fields | Extraction with a schema |
| Look up, then decide | Agent with ordered tools |
Chain = fixed steps; agent = LLM picks the next tool. Strict format: rules in the system prompt + an example output; response_ JSON schema when code parses it.
Agent Bricks
| Need | Use |
|---|---|
| Q&A with citations over docs | Knowledge Assistant |
| One entry point over several agents, Genie spaces, tools | Multiagent Supervisor |
| Unstructured docs → structured fields | Information Extraction |
Tools: one job each, clear description; gather first, then act. Evaluation-driven: metrics and eval set before building.
2. Data Preparation14% of the exam
Parse and clean
| Source | Package |
|---|---|
| Scanned images | pytesseract |
| PDFs | pypdf, Py; pdfplumber (tables) |
| HTML | beautifulsoup4 |
| Word | python-docx |
| Files in SQL | ai_ |
Strip menus, headers, footers, cookie banners; de-duplicate chunks. Missing answers (shipping dates) → add the right source (a table keyed by ID), not more prompt.
Chunking
Fixed + overlap (baseline) · recursive (prose) · structure-aware (headings) · semantic · small-to-big (parent document). Chunk ≤ embedding model's context. Fewer records: bigger chunks, less overlap. Keep metadata per chunk.
Write: chunk → row + primary key → UC Delta table → Change Data Feed on → Delta Sync index.
Indexes and retrieval
| Index | Embeddings | Updates |
|---|---|---|
| Delta Sync, managed | Databricks computes | Syncs from table |
| Delta Sync, self-managed | You (vector column) | Syncs from table |
| Direct Vector Access | You | You write via API |
Retrieval metrics: precision@k, recall@k, MRR, NDCG. Re-ranker reorders candidates with a more accurate model; it can't find what retrieval missed.
3. Application Development30% of the exam
Prompts and parameters
System prompt = role, rules, format. Few-shot fixes format; chain-of-thought for multi-step logic. temperature, top_ = randomness; max_ caps output; context window = input + output. Hallucinations: RAG, allow "I don't know", cite sources.
Choosing models
| Situation | Pick |
|---|---|
| Narrow task, latency or cost first | Smaller model |
| Complex reasoning | Larger model |
| Data must stay in-house | Model hosted on Databricks |
| Embeddings, 512-token chunks, cost first | Smallest model with 512 context |
Foundation Model APIs
| Mode | Use |
|---|---|
| Pay-per-token | Start, explore |
| Provisioned throughput | Steady production, guarantees, fine-tuned weights |
| External models (legacy endpoints) | OpenAI, Anthropic … behind a Databricks endpoint |
Mostly OpenAI-compatible; stream=True streams tokens.
Frameworks and tools
databricks-langchain: Chat, Databricks (.), UCFunction (function_, then .), Genie. LCEL: prompt | llm | parser. UC functions as tools = governed (grants, audit); COMMENTs describe them.
Agents, guardrails, Genie
Author with Responses (Chat is older). Guardrails: input (safety model, injection detection), output (safety, PII masking), AI Gateway safety + PII on model endpoints (Public Preview). Table questions → Genie space (Conversation API, Genie MCP, Genie). Evaluation = offline dataset; monitoring = live traffic.
4. Assembling and Deploying22% of the exam
Package and deploy
Pyfunc: load_ (clients, once) + predict with pre- and post-processing. Models from code: set_, then python_. Log resources, pip_, input_ (signature = schema). Register catalog.; promote with aliases. agents. → endpoint, review app, tracing.
Access and querying
| Need | Use |
|---|---|
| Same data for all callers | Declare resources (auto passthrough) |
| Per-user permissions | On-behalf-of-user (Public Preview) |
| External API key | Secret: {{secrets/ |
Query: Databricks, then .; Chat → chat. with messages. Idle, variable traffic → scale to zero (not for production).
Vector Search
Endpoint STANDARD or STORAGE_ · pipeline_ TRIGGERED (idx.) or CONTINUOUS · similarity_.
| Requirement | Choose |
|---|---|
| Lowest latency, high QPS | Standard (~320M vectors at 768 dims) |
| Billion+ vectors, cost, fast indexing | Storage-optimized (+~250 ms; no continuous sync) |
| Exact codes and error strings | Hybrid (vector + BM25) |
| Restrict by attribute | filters |
Batch, memory, MCP
Millions of rows on a schedule → ai_ or ai_, ai_. Memory → Lakebase (Checkpoint, Databricks) or Delta tables. MCP: managed (Genie, AI Search, UC functions, DBSQL) → least effort; external → UC HTTP connection holds credentials; custom → Databricks Apps.
Prompts, CI/CD, UI
Prompt Registry (Beta): register_ (UC name, {{var}}), set_, load_; versions immutable, aliases move. CI/CD: bundles, test each tool, evaluate as a gate, promote by alias, sync the index. UI: Databricks Apps (backend calls the endpoint as the app or as the user); never tokens in the browser.
5. Governance8% of the exam
Data first
| Risk | Mitigation |
|---|---|
| PII in sources | Column masks, ai_ (Public Preview), mask before chunking |
| PII in replies | PII guardrail: block or mask |
| Prompt injection | Input guardrail, delimited input, least-privilege tools |
| Licensing | Check rights before ingesting; keep licence metadata |
| Toxic or biased source text | Remove or replace it at the source |
6. Evaluation and Monitoring12% of the exam
Evaluate
mlflow.: records with inputs (and expectations). Tracing (autolog, @mlflow.): spans show which step failed.
| Judge | Ground truth? |
|---|---|
| Correctness, RetrievalSufficiency, ToolCallCorrectness | Yes |
| RelevanceToQuery, RetrievalRelevance, RetrievalGroundedness, Safety, Guidelines | No |
Custom: @scorer on inputs, outputs, expectations, trace → bool, number, string or Feedback; make_ for LLM criteria. Inconsistent SME ratings → rubrics + calibration.
Monitor and control cost
| Need | Feature |
|---|---|
| Full payloads | Inference tables (UC Delta) |
| Tokens per endpoint, user | system. |
| Cap traffic, spend | Rate limits (QPM, TPM; not on agents) |
| Live quality | Production monitoring (Beta) |
Cost: smaller model, shorter prompts, right serving mode, scale to zero, batch ai_. Size: smallest model that meets the target on the same eval set.
Know it, or just recognise it?
The free diagnostic shows which domains you'd lose marks on, in about 10 minutes and without signing up.
Take the free diagnosticStudy guide
The full study guide: every domain explained, with snippets and diagrams.
Open the study guideSpotted something out of date? Email support@certlake.com. CertLake is not affiliated with Databricks, Inc.