Review set

Hardest Databricks Certified Generative AI Engineer Associate questions

Review these Databricks Certified Generative AI Engineer Associate practice questions first, then retake the test.

Not enough answers yet to rank this test. A question needs 20 answers in the last 90 days to get a rank. The questions below are a review set in no ranked order.

How to use this list

  1. Step 1Start with question 1 and read the short answer explanation.
  2. Step 2Open the full explanation for the concept before you move to the next question.
  3. Step 3Retake the practice test and check whether you still miss these questions.

Email this list to yourself

The button opens your own email app with the 3 questions and their explanation links.

Email this list
Review question 1

RAG & Vector Search

Design Applications
Not ranked

A retail company wants a customer-support assistant on Databricks that answers questions about its internal return policies, which change weekly. Fine-tuning a model on each policy update is considered too slow and costly. Latency must stay low and answers must cite current policy text. Which application pattern best fits these requirements?

Correct answer
A. Retrieval-augmented generation that queries a Mosaic AI Vector Search index of policy documents at inference time

Retrieval-augmented generation (RAG) separates knowledge from the model: policy documents are chunked, embedded, and indexed in Mosaic AI Vector Search, so weekly changes only require re-indexing, not retraining. Retrieved passages also provide citable grounding. Continued pre-training every week is exactly the slow, costly retraining cycle the company rejected, and it cannot guarantee citations. Static few-shot prompts freeze knowledge at prompt-authoring time, so weekly policy changes would make answers stale, and prompt size limits how much policy text fits. A SQL-writing agent suits structured analytics, but return policies are unstructured prose, and text-to-SQL adds latency and failure modes without solving grounding on documents.

Review question 2

Document Ingestion & Data Preparation

Data Preparation
Not ranked

You are building a retrieval-augmented generation (RAG) system for a financial services firm using Databricks. Your team has collected 50,000 PDF documents containing loan agreements, regulatory filings, and internal policies. Before ingesting these documents into Mosaic AI Vector Search, you need to ensure they are properly prepared. Which of the following represents the most critical first step in your document preparation pipeline?

Correct answer
A. Parse and extract structured and semi-structured content from PDFs, validate encoding, and remove corrupted or unreadable sections

Document preparation requires parsing, validation, and quality assessment before embedding. Extracting content from PDFs, checking encoding integrity, and removing corrupted sections ensures downstream embedding and retrieval quality. Immediate embedding without validation risks propagating bad data. Blind deduplication without content inspection may remove legitimate variations. Uniform chunking without prior document preparation ignores the need to handle format heterogeneity and quality issues that exist in raw PDFs.

Review question 3

Agent Development & Tool Design

Application Development
Not ranked

You are designing an agent using the Mosaic AI Agent Framework that must process customer service requests by querying a database, retrieving documents, and generating responses. The agent needs to decide whether to call a database lookup tool or a document retrieval tool based on the customer's question. You also need to ensure that the agent's final response is always a valid JSON object containing fields for 'action_taken', 'result', and 'confidence_score'. Which approach best implements this requirement?

Correct answer
A. Define tool schemas with clear descriptions and input parameters, then use structured output formatting in the LLM call to enforce JSON schema validation on the agent's response.

Structured output formatting with schema validation is the recommended pattern in the Mosaic AI Agent Framework for ensuring consistent, valid outputs. Defining clear tool schemas enables the agent to reason about which tool to use, and enforcing JSON schema on the LLM response guarantees valid output without post-processing fragility. Manual parsing after execution introduces errors and latency. String concatenation in prompts is unreliable and bypasses schema guarantees. Multiple agents with conditional routing adds unnecessary complexity when a single agent with well-defined tools and structured outputs handles the pattern efficiently.

Retake the test

Retake the free Databricks Certified Generative AI Engineer Associate practice test and check whether you still miss these questions. No signup required.

Start the free diagnostic