Courseiva
Design Applications →mediumMultiple Select

Databricks-GenAI-Assoc Design Applications Practice Question

A GenAI engineer is designing a RAG application on Databricks that must support multi-turn conversations where users refer to earlier messages, and the application must keep responses grounded in retrieved documents. Which TWO design elements are required to meet these requirements? (Choose two.)

⚠ Common exam trap

The trap here is treating conversation history storage as sufficient for multi-turn RAG, when the history must be used both in the prompt and in query rewriting before retrieval.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Rewrite the user query using conversation history before performing vector search retrieval.

Multi-turn conversation support requires passing relevant prior turns to the model so it can resolve references, and grounding requires that retrieval use a query rewritten with conversation context so the right documents are fetched. Together these elements ensure the model understands follow-up intent and answers from authoritative retrieved content. The other options either reduce determinism, add storage without context, or remove retrieval.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    Increase the LLM temperature so the model can explore multiple interpretations of ambiguous follow-up questions.

    Why it's wrong here

    Higher temperature increases randomness and makes responses less predictable and less grounded. For a RAG application that must stay faithful to retrieved documents, randomness undermines factual consistency. Ambiguity in follow-up questions is resolved by conversation history and query rewriting, not by sampling diversity. This setting would degrade both conversation coherence and grounding.

  • ✗

    Store all conversation turns in a Delta table and query that table at inference time for each user message.

    Why it's wrong here

    Persisting turns in a Delta table is useful for logging and analytics, but querying it synchronously at inference time adds latency and does not by itself provide the model with context. The model needs the relevant turns included in the prompt, and retrieval needs a rewritten query. Storage alone does not satisfy the conversation or grounding requirements, so this is not a required design element.

  • ✗

    Disable retrieval for follow-up questions and rely on the model's parametric knowledge.

    Why it's wrong here

    Disabling retrieval for follow-ups removes the grounding mechanism entirely, so answers would rely on the model's training data and could be outdated or hallucinated. The scenario requires responses grounded in retrieved documents, which applies to follow-up turns as much as initial ones. This approach contradicts the grounding requirement and would reduce answer accuracy.

  • ✓

    Rewrite the user query using conversation history before performing vector search retrieval.

    Why this is correct

    In multi-turn conversations, the latest user message often lacks the keywords needed for retrieval because it references prior context. Rewriting the query with conversation history produces a self-contained query that retrieves the correct documents. Without this step, vector search may return irrelevant chunks and the model's answer will not be grounded in the right evidence, breaking the grounding requirement.

  • ✓

    Maintain conversation history and include relevant prior turns in the prompt sent to the model.

    Why this is correct

    Multi-turn references depend on the model seeing prior messages. Including relevant conversation history in the prompt lets the model resolve pronouns and follow-up intent, which is essential when a user says 'what about the second option' and expects continuity. Without prior turns, each request is stateless and the model cannot interpret references to earlier messages, so the conversation requirement fails.

Visual reference

Client Recursive Resolver Root DNS (13 root servers) TLD DNS (.com, .org, …) Authoritative example.com query IP addr answer

About these practice questions

This Databricks-GenAI-Assoc question is part of Courseiva's 330-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official Databricks exam blueprint

This Databricks-GenAI-Assoc practice question is part of Courseiva's free Databricks certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the Databricks-GenAI-Assoc exam.