databricks Generative AI Engineer Associate · Practice questions

Section 1: Design Applications Practice Questions

Review 10 sample questions with their correct answers and explanations. Sign up free to continue with the full topic quiz.

Sign up free for the full quiz

Question 1

A team needs an agent to perform an action only after a human approves it, such as issuing a refund. What should the design include?

  1. A higher temperature for refund requests so the model is more cautious
  2. A rule that refunds are only issued on weekends
  3. A human approval step before the refund tool executes — Correct
  4. Automatic execution of every refund to improve response times

Correct answer

A human approval step before the refund tool executes

Explanation

Human-in-the-loop approval reduces risk for consequential actions.

Question 2

Which reason supports choosing an open model hosted on Databricks over an external API model?

  1. Open models never require any evaluation before production use
  2. Data stays within the governed platform — Correct
  3. External models cannot be called from Databricks
  4. Open models always outperform external models on every task

Correct answer

Data stays within the governed platform

Explanation

Hosting models on Databricks can simplify data residency and governance; quality still needs evaluation.

Question 3

A team must decide whether to build a GenAI solution or use a traditional ML model for predicting customer churn from tabular data. Which is most appropriate?

  1. Image generation
  2. A RAG application that retrieves similar customers' text descriptions and asks an LLM to guess the churn
  3. An LLM chatbot
  4. A traditional ML model trained on the tabular features — Correct

Correct answer

A traditional ML model trained on the tabular features

Explanation

Structured prediction problems are usually best served by traditional ML; GenAI fits language-centric tasks.

Question 4

A user asks a RAG assistant: 'Summarize our Q3 revenue by region.' The data lives in a governed sales table. Which component should answer this?

  1. The LLM's general knowledge, prompted to estimate revenue from public information
  2. A vector index over PDF reports, returning the chunk most similar to the words 'Q3 revenue'
  3. A SQL-generating tool such as Genie over the governed sales table — Correct
  4. A fine-tuned model trained on last year's revenue spreadsheets

Correct answer

A SQL-generating tool such as Genie over the governed sales table

Explanation

Aggregations over tables need SQL; text retrieval is unreliable for exact numbers.

Question 5

A RAG app must answer in under two seconds. Retrieval takes 300 ms and generation takes 4 seconds with long answers. Which change most directly helps?

  1. Increase chunk overlap
  2. Retrieve more chunks
  3. Add a second reranker
  4. Shorter output or a faster model, plus streaming — Correct

Correct answer

Shorter output or a faster model, plus streaming

Explanation

Generation dominates latency; shorter outputs, faster models and streaming improve responsiveness.

Question 6

An agent needs to remember a user's preferences across sessions, such as preferred language. Which component is appropriate for storing this state?

  1. The vector index used for document retrieval, with preferences as chunks
  2. The system prompt, edited manually by an administrator for each user
  3. The model's weights, updated after each conversation
  4. A low-latency database such as Lakebase, read and written by the agent — Correct

Correct answer

A low-latency database such as Lakebase, read and written by the agent

Explanation

Persistent memory belongs in a store the agent can query and update, such as a Postgres database.

Question 7

Which input is most important for designing a RAG application that meets business requirements?

  1. The number of GPUs available, because RAG quality depends mostly on hardware
  2. A list of every document in the company, regardless of whether it is relevant to the use case
  3. The largest available model, because model size alone determines whether requirements are met
  4. Clear output requirements: format, citations, latency and quality targets — Correct

Correct answer

Clear output requirements: format, citations, latency and quality targets

Explanation

Designing from required outputs and quality criteria guides choices of data, retrieval, model and evaluation.

Question 8

Which statement about the Databricks Assistant compared with a custom agent is correct?

  1. The Assistant helps users in the workspace; custom agents serve business apps — Correct
  2. Custom agents cannot use Databricks data
  3. The Assistant is a framework for deploying customer-facing agents to production
  4. The Assistant replaces Model Serving

Correct answer

The Assistant helps users in the workspace; custom agents serve business apps

Explanation

The Assistant supports workspace tasks; custom agents are built and deployed for specific applications.

Question 9

Which statement about a Genie space used inside an agent system is correct?

  1. It answers data questions with governed SQL — Correct
  2. It bypasses Unity Catalog for speed
  3. It returns chunks of documents from a vector index
  4. It fine-tunes models on tables

Correct answer

It answers data questions with governed SQL

Explanation

Genie generates and runs SQL on governed tables, complementing document retrieval.

Question 10

Which statement about combining structured and unstructured retrieval in one agent is correct?

  1. All data must first be converted to text chunks and placed in one vector index
  2. Structured data cannot be used by agents and must be summarized by hand
  3. Unstructured data must be converted into SQL tables before an agent can use it
  4. Use separate tools for each data type and let the agent pick — Correct

Correct answer

Use separate tools for each data type and let the agent pick

Explanation

Agents can combine SQL tools for tables and retrievers for documents.

Ready for the full quiz?

Create a free QuizAnalyst account to practice the complete question set and save your progress.

Sign up free for the full quiz