Databricks

Databricks Generative AI Engineer Associate practice exam

Databricks Certified Generative AI Engineer Associate

120 original questions for the Databricks Certified Generative AI Engineer Associate exam, written from the official guide, with an explanation for every answer. Try 10 here and start practicing free.

questions
120
in the mock
45
minutes
90
domains
6

Unofficial practice: Plotto is not affiliated with or endorsed by Databricks. Original questions, written from the official exam guide.

The real exam.

Format
  • 45 questions
  • 90 min
  • ~70% to pass
  • US$200
  • online proctored
Pass mark on the Plotto mock
70%

Skills measured

6 domains from the official guide, with how much each one weighs on the exam.

Based on: Databricks Exam Guide (exam live since Mar 18, 2026)

  1. Design Applicationsweight on the exam: 14%
  2. Data Preparationweight on the exam: 14%
  3. Application Developmentweight on the exam: 30%
  4. Assembling and Deploying Applicationsweight on the exam: 22%
  5. Governanceweight on the exam: 8%
  6. Evaluation and Monitoringweight on the exam: 12%

Try 10 free questions.

At least one question from each of the exam's 6 domains. Think of your answer, then open it to see the right option and why.

  1. Question 1 of 10Design Applications

    Downstream code must parse the model output as JSON with keys sentiment and reason. Which prompt design is most reliable?

    1. Ask for a short free-text answer that mentions the sentiment and the reason, and extract both fields with regular expressions (or string/keyword matching)
    2. State the exact JSON schema, instruct to return only JSON with no prose, and include one or two examples (or use structured output/tool calling)
    3. Ask the model to write a Python script that prints the JSON, run the script on the driver, and have the downstream code parse its printed output
    4. List the two keys at the end of the prompt, raise the temperature to 1.0 so the model explores formats, and keep the first response that parses
    Show answer

    Correct answer: B. State the exact JSON schema, instruct to return only JSON with no prose, and include one or two examples (or use structured output/tool calling)

    Why: Explicit format instructions plus examples maximise compliance; schema-enforced structured output removes syntax errors entirely.

    Docs: "Structured outputs on Databricks"

  2. Question 2 of 10Data Preparation

    Retrieved chunks are frequently page headers, footers and legal boilerplate. What should you do?

    1. Strip boilerplate (headers, footers, navigation, disclaimers) during preprocessing before chunking and embedding
    2. Increase top-k to retrieve enough body text (paragraphs, lists, tables) along with the headers, footers and disclaimers
    3. Use a bigger LLM with a longer context window and instruct it to skip the headers, footers and disclaimers it receives
    4. Lower the temperature and the maximum output tokens to keep headers, footers and disclaimers out of answers
    Show answer

    Correct answer: A. Strip boilerplate (headers, footers, navigation, disclaimers) during preprocessing before chunking and embedding

    Why: Noise in the corpus competes with real content at retrieval time; clean at ingestion.

    Docs: "Prepare data for RAG"

  3. Question 3 of 10Application Development

    A public chatbot must reject toxic inputs and never echo PII. Which Databricks feature applies this centrally at the endpoint?

    1. Mosaic AI Gateway guardrails (safety filtering, PII detection, topic/keyword restrictions)
    2. A longer system prompt (safety instructions, PII reminders, list of forbidden topics)
    3. Unity Catalog column masks (masking functions, row filters, group membership checks)
    4. Mosaic AI Gateway inference tables (request/response logging, sampling rate, payload analysis)
    Show answer

    Correct answer: A. Mosaic AI Gateway guardrails (safety filtering, PII detection, topic/keyword restrictions)

    Why: AI Gateway guardrails run on inputs/outputs of serving endpoints without changing application code.

    Docs: "Mosaic AI Gateway, guardrails"

  4. Question 4 of 10Assembling and Deploying Applications

    Which code registers a logged chain into Unity Catalog?

    1. mlflow.set_registry_uri("databricks-uc"); mlflow.pyfunc.log_model(..., registered_model_name="main.genai.support_agent")
    2. mlflow.set_registry_uri("databricks-uc"); mlflow.log_param("registered_model_name", "main.genai.support_agent")
    3. mlflow.set_experiment("/main/genai"); mlflow.pyfunc.log_model(..., artifact_path="main/genai/support_agent")
    4. mlflow.set_registry_uri("databricks"); mlflow.pyfunc.log_model(..., registered_model_name="hive_metastore.default.agent")
    Show answer

    Correct answer: A. mlflow.set_registry_uri("databricks-uc"); mlflow.pyfunc.log_model(..., registered_model_name="main.genai.support_agent")

    Why: UC models use three-level names; the registry URI must be databricks-uc.

    Docs: "Manage model lifecycle in Unity Catalog"

  5. Question 5 of 10Governance

    Customer records include emails and card numbers that must never reach the LLM, but the assistant still needs to reason about the customer. What should you do?

    1. Mask or tokenise PII before it enters the prompt (UC column masks, AI Gateway PII detection, or a PII library), keeping non-sensitive fields usable
    2. Send the complete record with a system prompt instruction (do not repeat, store or reveal emails and card numbers) to a model with strong safety training
    3. Delete all the customer fields before the call (name, email, card, segment, order history) and send the question to the model with an empty customer record
    4. Lower the temperature to zero and cap the output tokens (deterministic, short answers) while the full record stays available in the prompt
    Show answer

    Correct answer: A. Mask or tokenise PII before it enters the prompt (UC column masks, AI Gateway PII detection, or a PII library), keeping non-sensitive fields usable

    Why: Masking at the data/gateway layer is deterministic; prompt instructions are not a control.

    Docs: "AI Gateway guardrails, PII detection"; "Column masks"

  6. Question 6 of 10Evaluation and Monitoring

    How do you capture every request and response of a serving endpoint into a Delta table for later analysis?

    1. Enable inference tables (AI Gateway) on the endpoint
    2. Print each payload to the driver log of the endpoint
    3. Run DESCRIBE HISTORY (Delta log) on the served model
    4. Enable usage tracking (AI Gateway) on the endpoint
    Show answer

    Correct answer: A. Enable inference tables (AI Gateway) on the endpoint

    Why: Inference tables log payloads to Unity Catalog; Agent Monitoring can then run judges on samples.

    Docs: "Inference tables for monitoring"

  7. Question 7 of 10Design Applications

    In a RAG chain that answers questions over internal PDFs, which component converts the user question into the relevant document chunks?

    1. The output parser that splits the LLM response
    2. The retriever backed by a Vector Search index
    3. The prompt template that holds the question
    4. The tokenizer bundled with the embedding model
    Show answer

    Correct answer: B. The retriever backed by a Vector Search index

    Why: Typical chain: retriever → prompt template (question + context) → LLM → output parser.

    Docs: "RAG on Databricks"

  8. Question 8 of 10Data Preparation

    A Delta table of chunks will back a Delta Sync Vector Search index that updates automatically. What must be enabled on the table?

    1. Change Data Feed (delta.enableChangeDataFeed = true)
    2. Liquid clustering (CLUSTER BY on the chunk ID column)
    3. Deletion vectors (delta.enableDeletionVectors = true)
    4. A primary key constraint only (chunk_id PRIMARY KEY)
    Show answer

    Correct answer: A. Change Data Feed (delta.enableChangeDataFeed = true)

    Why: Delta Sync indexes read the change feed to keep the index in sync; the table also needs a primary key column.

    Docs: "Create a vector search index, Delta Sync"

  9. Question 9 of 10Application Development

    In LangChain on Databricks, which class wraps a Vector Search index as a retriever?

    1. DatabricksVectorSearch (from databricks_langchain)
    2. ChatDatabricks (from databricks_langchain)
    3. VectorSearchClient (from databricks.vector_search.client)
    4. DatabricksEmbeddings (from databricks_langchain)
    Show answer

    Correct answer: A. DatabricksVectorSearch (from databricks_langchain)

    Why: databricks_langchain provides ChatDatabricks (LLM), DatabricksEmbeddings and DatabricksVectorSearch (retriever).

    Docs: "LangChain on Databricks"

  10. Question 10 of 10Assembling and Deploying Applications

    Which index type keeps itself synchronised automatically as the source Delta table changes, optionally computing embeddings for you?

    1. Delta Sync index (managed or self-managed embeddings)
    2. Direct Vector Access index (schema and primary key)
    3. Photon index (vectorized scan of the embedding column)
    4. Z-Order index (data skipping on the embedding column)
    Show answer

    Correct answer: A. Delta Sync index (managed or self-managed embeddings)

    Why: Direct Vector Access indexes require you to push vectors via the API; Delta Sync follows the table.

    Docs: "Mosaic AI Vector Search, index types"

Plotto has 110 more Databricks Generative AI Engineer Associate questions, each with an explanation.

Keep practicing free

Practice on Plotto.

  • Free

    Free practice every day

    10 questions a day with a free account, with the explanation right after each answer.

  • Pro

    Full timed mock exam

    45 questions in 90 minutes, picked by the official domain weights, with your result at the end.

  • Free

    Your score by domain

    See your accuracy in each domain against the 70% pass mark, and retry the questions you missed.

Frequently asked questions.

How many questions are in the Databricks Generative AI Engineer Associate exam?

The real exam has 45 questions and lasts 90 min. Check the format, price and date on the official page before booking. On Plotto, the full mock exam has 45 questions in 90 minutes.

What is the passing score for Databricks Generative AI Engineer Associate?

You need ~70% to pass the real exam. On Plotto, the mock exam and your score by domain use a 70% pass mark.

Is this Databricks Generative AI Engineer Associate practice exam free?

Yes. The 10 questions on this page are open to everyone, and a free Plotto account lets you practice 10 questions a day from the 120-question bank, with the explanation after each answer. The full timed mock exam (45 questions in 90 minutes) is on Pro.

How many practice questions does Plotto have for Databricks Generative AI Engineer Associate?

120 original questions, written from the official exam guide and spread across the exam's 6 domains.

What does the Databricks Generative AI Engineer Associate exam cover?

6 domains: Design Applications (14%), Data Preparation (14%), Application Development (30%), Assembling and Deploying Applications (22%), Governance (8%) and Evaluation and Monitoring (12%).