Databricks Generative AI Engineer Associate · 12% practice allocation

Databricks Generative AI Engineer Associate: Evaluation and monitoring Practice Questions

5 free sample questions from the Evaluation and monitoring domain, with answers and explanations. The full Generative AI Engineer Associate bank has 250 questions across 6 domains. Questions are scenario-based and written from the official Databricks exam guide.

1.

A data team is configuring Mosaic AI Agent Evaluation for their RAG pipeline. They do NOT have ground-truth reference answers for their eval set — only questions and the retrieved context. Which metrics can Mosaic AI Agent Evaluation still compute without reference answers? (Select TWO)

  • A. answer_relevance✓ Correct
  • B. ROUGE-L
  • C. exact_match
  • D. groundedness✓ Correct
  • E. answer_correctness
Explanation

groundedness evaluates whether the generated answer is supported by the retrieved context — it requires only the answer and the context, not a reference answer. answer_relevance evaluates whether the answer addresses the user's question — it requires only the question and the answer, not a reference answer. answer_correctness compares the generated answer against a known ground-truth reference, so it requires reference answers. exact_match is a string comparison metric that requires a reference answer. ROUGE-L is an n-gram overlap metric that also requires a reference answer to compute overlap against.

2.

An engineer is configuring a Databricks Model Serving endpoint for a production LLM application and wants to track both operational costs and response quality over time. Which TWO of the following should they enable or configure to support this goal?

  • A. Configure MLflow autologging on the serving cluster
  • B. Store model weights in a Unity Catalog volume for cost tracking
  • C. Set up Lakehouse Monitoring on the inference table to track latency percentiles and token-based cost proxies✓ Correct
  • D. Use Delta Live Tables to stream inference logs to an external warehouse
  • E. Enable inference tables to log all requests, responses, and token usage✓ Correct
Explanation

Enabling inference tables captures every request/response along with metadata like token counts (which proxy cost) and latency timestamps—the raw data needed for both cost and quality tracking. Lakehouse Monitoring on the inference table then provides automated statistical analysis, dashboards, and alerts over those logged records, covering latency percentiles and enabling cost trend analysis. MLflow autologging is designed for training experiments, not production serving cost/quality monitoring. Storing model weights in a Unity Catalog volume is about artifact management, not cost tracking for inference. Delta Live Tables to an external warehouse adds unnecessary complexity when Lakehouse Monitoring is the native Databricks solution for this purpose.

3.

A team wants to enable automatic logging of every request and response sent to their Databricks Model Serving endpoint so they can later analyze production traffic for quality issues. Which Databricks feature should they enable on the endpoint?

  • A. MLflow Autologging
  • B. Unity Catalog Lineage
  • C. Lakehouse Monitoring
  • D. Inference Tables✓ Correct
Explanation

Inference Tables automatically log every request payload and response from a Model Serving endpoint to a Delta table, providing a persistent record of production traffic for downstream analysis. MLflow Autologging captures training metrics and model artifacts during model development, not production endpoint traffic. Lakehouse Monitoring analyzes data stored in Delta tables (such as those populated by Inference Tables) for drift and quality, but it does not itself capture the request/response logs. Unity Catalog Lineage tracks data lineage across tables and assets but does not log endpoint traffic.

4.

A company's RAG application is producing answers that frequently cite information not present in the retrieved documents. Which TWO actions, used together, would best help the team detect and quantify this problem using Databricks tools? (Select TWO)

  • A. Add a prompt instruction telling the LLM not to hallucinate
  • B. Switch to a larger embedding model for the vector index
  • C. Run Mosaic AI Agent Evaluation with the groundedness metric against the logged inference data✓ Correct
  • D. Increase the number of retrieved chunks (top-k) in the retrieval step
  • E. Enable inference tables on the Model Serving endpoint to log requests, retrieved chunks, and responses✓ Correct
Explanation

Enabling inference tables captures the full context (query, retrieved chunks, generated response) needed to evaluate groundedness at scale. Running Mosaic AI Agent Evaluation with the groundedness metric then uses an LLM judge to score whether each answer is supported by the retrieved context, directly quantifying the hallucination problem. Increasing top-k retrieval may improve recall but does not detect or quantify existing hallucination. Adding a prompt instruction may reduce hallucination going forward but does not measure the current extent of the problem. Switching to a larger embedding model addresses retrieval quality, not the detection/quantification of hallucination in existing responses.

5.

A GenAI team at a financial services company has deployed a document Q&A application on Databricks. They want to use Mosaic AI Agent Evaluation to assess whether the application's answers are factually supported by the retrieved context, rather than fabricated by the LLM. Which LLM-as-judge metric should they prioritize?

  • A. answer_relevance
  • B. answer_correctness
  • C. chunk_relevance
  • D. groundedness✓ Correct
Explanation

groundedness measures whether the model's answer is supported by the retrieved context passages, making it the correct metric to detect fabrications or hallucinations relative to the source documents. answer_correctness compares the answer against a ground-truth reference, which requires labeled data and measures factual accuracy against a known answer rather than context support. chunk_relevance evaluates whether the retrieved chunks are relevant to the query, not whether the final answer is supported by those chunks. answer_relevance measures whether the answer addresses the user's question, not whether it is grounded in the retrieved evidence.

Test yourself across every Generative AI Engineer Associate domain

The free Generative AI Engineer Associate practice test mixes about 20 questions weighted like the exam. The full 250-question bank adds instant grading, flashcards and a timed mock exam.

Study this domain

Evaluation and monitoring study guide (Generative AI Engineer Associate) →

Other Generative AI Engineer Associate domains

← All Databricks Generative AI Engineer Associate study resources