Free sample exam
Databricks Certified Generative AI Engineer Associate
Free practice questions for the Databricks Generative AI Engineer Associate exam, scored as you go, with the reason behind every answer, written to the current guide and the product names Databricks uses today.
Tecyfy is independent of Databricks. These are our own practice questions, written to the objectives in the official exam guide and answered from Databricks' documentation.
The real exam
The exam tests whether you can design and build LLM applications on Databricks: break a business need into a retrieval or agent pipeline, prepare and chunk documents into Delta tables, pick models and prompts, deploy with MLflow and Model Serving, govern it with Unity Catalog, and evaluate and monitor it in production. Application development is 30% of the questions and assembling and deploying 22%, so the hands-on build matters more than theory.
The guide was written in March 2026, and several products it names have new names since: Vector Search is now AI Search, Genie spaces are Genie Agents and AI Gateway is part of Unity Gateway. The questions below use today's names and say the old one where it helps. Anyone can sit the exam; Databricks recommends 6 months of hands-on work on the platform.
- Questions
- 45 scored, multiple choice and multiple selection, plus up to 10 unscored
- Time
- 90 minutes
- Pass mark
- Not published by Databricks
- Fee
- $200, plus tax
- Delivery
- Online proctored
- Languages
- English, Japanese, Brazilian Portuguese, Korean
- Valid for
- 2 years, renewed by passing the current exam
- Prerequisite
- None; 6 months of hands-on Databricks work recommended
What it covers, by share of the questions
- Design Applications14%
- Data Preparation14%
- Application Development30%
- Assembling and Deploying Applications22%
- Governance8%
- Evaluation and Monitoring12%
The sample
11 questions in the style of the exam. Pick an answer to see why it is right or wrong. Your best score stays in this browser.
Question 1 of 11
Question 1
A company wants one assistant that answers both "What were EMEA returns last quarter?" from governed sales tables in Unity Catalog and "What does our returns policy allow for opened items?" from a folder of policy PDFs. Which design fits best?
Not this time. The 2 questions need different tools. A figure such as last quarter's EMEA returns is an aggregate that has to be computed with SQL over governed tables, which is what a Genie Agent does: it answers natural-language data questions grounded in Unity Catalog data. Policy wording is unstructured text, which is what chunked retrieval is for. Embedding table rows makes the model guess a sum from a handful of similar-looking rows. Fine-tuning goes stale between runs and does not respect table permissions. A whole table in the prompt is costly, hits the context limit and is out of date the next day.
Question 2
You write review chunks to a new Delta table in Unity Catalog and try to create a Delta Sync Index on it on a standard AI Search (formerly Vector Search) endpoint. Creation fails, saying the source table needs change data feed. What do you do?
Not this time. On a standard endpoint, a Delta Sync Index follows its source through the table's change data feed, so the source table must have it (tables with row tracking get it automatically). Turning it on with the table property and creating the index again fixes the error. A Direct Vector Access index would avoid the requirement only by giving up syncing: you would then push every change through the REST API yourself. OPTIMIZE compacts files and has nothing to do with it. AI Search needs a Unity Catalog workspace, and indexes are governed by Unity Catalog, so the Hive metastore is no way round.
Question 3
Your embedding model's documentation says to compare its vectors by cosine similarity. You compute the embeddings yourself and index them in AI Search. What do you need to do so the ranking matches cosine similarity?
Not this time. AI Search finds nearest neighbours with HNSW and measures similarity by L2 (Euclidean) distance. Databricks' documentation says that to get cosine similarity you normalise the embeddings first: for unit-length vectors, ranking by L2 distance gives the same order as ranking by cosine similarity. There is no cosine setting to choose, and AI Search does not inspect your model. Hybrid search adds a keyword score, which changes the ranking for another reason and does not turn L2 into cosine.
Question 4
A parts catalogue assistant retrieves from AI Search. When a mechanic types "bracket XJ-4411", it returns brackets with similar descriptions but other part numbers, and the right part is often missing. What should you change first?
Not this time. Part numbers are tokens an embedding treats as near-noise: XJ-4411 and XJ-4417 look almost the same to a similarity search. Hybrid search combines the vector search with a BM25 keyword search and merges the 2 rankings with reciprocal rank fusion, so a document that contains the exact string rises. Databricks names SKUs and identifiers as the case it is for. A bigger model still compares meaning, not exact strings. More results costs tokens and still may not include the part. Shorter chunks lose the description that the rest of the query needs.
Question 5
A batch job classifies product reviews with a GPT OSS model on Foundation Model APIs. You ask for JSON with
sentiment(positive, negative or neutral) andproduct_id, but about 1 response in 200 leaves out a field or invents a fourth sentiment, and the job fails parsing. What fixes it?Not this time. Structured outputs with a JSON schema make the response follow that schema: the fields you require and the values you allow. json_object only asks for some JSON object, of any shape, so a missing field still gets through. Examples and a temperature of 0 make mistakes rarer but guarantee nothing over thousands of rows. Databricks recommends structured outputs for exactly this kind of batch extraction and classification. One catch: Claude 5.5 models on Databricks take the schema through output_config.format in the Messages API, not response_format.
Question 6
Your data team's pipeline already computes embeddings with its own model and writes them, with the text, to a Delta table that changes every hour. The index must follow the table with no code that pushes changes. Which index do you create?
Not this time. A Delta Sync Index with self-managed embeddings reads vectors you have already computed and stays in sync as the source table changes, which is exactly the requirement. A Direct Vector Access index also takes your vectors, but you must update it through the REST API whenever the data changes. Letting Databricks compute embeddings would embed the text again with another model, wasting the team's work, and a self-managed index cannot later be converted to a managed one or the other way. A full-text index answers keyword searches only and throws away the semantic search the embeddings are for.
Question 7
Your corpus will produce about 200 million chunks. With your 1,536-dimension embedding model, they must run on a standard AI Search endpoint, because you need high QPS, which only standard endpoints offer. The index is too large. What lets it fit without dropping documents?
Not this time. A standard endpoint holds about 160 million embeddings at 1,536 dimensions and about 320 million at 768; capacity scales roughly with the inverse of the dimension. A 768-dimension model fits 200 million vectors, after a test that retrieval quality holds. More overlap and smaller chunks both create more chunks, not fewer. A Direct Vector Access index is far smaller on a standard endpoint, about 2 million vectors at 768 dimensions. A storage-optimized endpoint would hold over a billion vectors, but it does not offer high QPS and adds about 250 ms to each query.
Question 8
A nightly job labels 4 million support tickets with
ai_query. The engineer loops over the table in 1,000-row batches, and the whole run fails whenever one ticket makes the model return an error. What does Databricks recommend instead?Not this time. AI Functions parallelise, retry and scale a batch themselves, so Databricks recommends submitting the full dataset in one query, and splitting it by hand reduces throughput. With failOnError false, a failed row returns its error message instead of failing the job, so you keep every good result and reprocess only the failures. Parallel notebooks repeat the hand-splitting at a larger scale. AI Functions do not use the compute provisioned to an endpoint; they manage batch scaling themselves. A row-by-row UDF rebuilds badly what ai_query already does.
Question 9
An agent loads its prompt as
prompts:/support.agents.triage@production. The production alias points to version 8, which has just made answers worse; version 7 was fine. How do you roll back without redeploying the agent?Not this time. In the MLflow prompt registry, versions are immutable snapshots and aliases are mutable pointers to a version. The agent loads whatever the production alias points to, so moving the alias back to version 7 rolls back every agent that loads it, with no deploy, and keeps version 8 in the history for comparison. A version cannot be edited. Registering a version 9 changes nothing until an alias points to it. Writing a version into the code works, but it is the redeploy the question rules out and gives up the alias workflow.
Question 10
A sales assistant runs on Databricks Apps. Regional managers may see only their own region's rows, and the sales table has a Unity Catalog row filter for that. In testing, every manager sees every region. Why, and what fixes it?
Not this time. By default an app authenticates with app authorization: a service principal created with the app, whose permissions every user shares. The row filter is evaluated for that service principal, not for the manager. With user authorization the agent acts with the caller's identity, so row filters and column masks are enforced for each user. Put the check in to confirm it: if the forwarded user token is missing, the client falls back to the service principal without an error. A rule in the prompt is not access control and can be talked around. A column mask hides columns, not rows. Granting EMEA only would show every manager EMEA.
Question 11
Your team has a set of real user questions for a RAG agent but no expected answers or facts yet. Which built-in MLflow judge can you not run on it until you add them?
Not this time. Correctness compares the response with ground truth you provide in expectations, so without expected answers or facts it has nothing to compare against; RetrievalSufficiency and ToolCallCorrectness need ground truth too. RelevanceToQuery checks the response against the question, RetrievalGroundedness checks it against the retrieved context, and Safety checks the content itself, so all 3 run on inputs and outputs alone. A common plan is to start with those, then have experts write expected facts for a subset and add Correctness.
Sources
Where each fact comes from
- 1Databricks Certified Generative AI Engineer Associate exam guide
- 2Databricks Certified Generative AI Engineer Associate
- 3Badge and Certification FAQ
- 4Databricks AI Search
- 5Perform batch LLM inference using AI Functions (ai_query)
- 6Structured outputs on Databricks
- 7Prompt Registry
- 8Authentication for agents
- 9Built-in LLM judges
- 10Genie
How to study for it, domain by domain
Study the domains in order of weight: the larger the share, the more questions it sets. Each one links to our own free pages that teach it.
30%
Application Development
22%
Assembling and Deploying Applications
14%
Design Applications
14%
Data Preparation
12%
Evaluation and Monitoring
8%
Governance
Questions
- How many questions are on the Databricks Generative AI Engineer Associate exam?
- 45 scored questions, multiple choice and multiple selection, in 90 minutes. Up to 10 more unscored questions may be added to test new items; they are not marked and the time limit already allows for them.
- What is the passing score for the Databricks Generative AI Engineer Associate exam?
- Databricks does not publish one. Its certification FAQ says the passing score is set by statistical analysis and may change, so aim to answer the whole guide confidently rather than to a percentage.
- How much does the Databricks Generative AI Engineer Associate exam cost?
- $200 plus applicable tax for each attempt. A retake costs the full fee again and can be taken 14 days after the previous attempt.
- Does the Databricks Generative AI Engineer Associate certification expire?
- Yes, after 2 years. To keep it, you pass the exam version that is live at the time.
- Are Vector Search and AI Search the same thing on the exam?
- Yes. The exam guide was written in March 2026 and says Mosaic AI Vector Search; Databricks renamed the product AI Search in June 2026. The same goes for Genie spaces, now Genie Agents, and AI Gateway, now part of Unity Gateway. Study the current documentation and expect either name.
- Who can take the Databricks Generative AI Engineer Associate exam?
- Anyone; there is no prerequisite. Databricks recommends about 6 months of hands-on work with the platform areas in the guide, and its Generative AI Engineering training.