Using inference logging to check a deployed RAG application's performance
Databricks Model Serving supports inference tables that automatically log requests and responses for models deployed to a serving endpoint, including RAG applications built with Databricks. These logs capture the actual inputs (user queries), outputs (generated responses), and metadata over time, providing the raw data needed to evaluate a deployed RAG application's real-world performance and detect drift or quality issues after launch.
1 · Learn the must-know
- Inference tables must be enabled on the serving endpoint at creation or update time; they are not on by default and require a Unity Catalog-enabled workspace.
- Logged inference data is written as a Delta table in Unity Catalog, so it can be queried with SQL and joined with other tables (e.g., ground-truth or feedback tables) for analysis.
- Inference tables capture request and response payloads along with timestamps and status codes, but do not automatically capture intermediate RAG artifacts like retrieved chunks unless the application logs those explicitly (e.g., via MLflow tracing) as part of the response payload.
- There can be a delay between when a request hits the endpoint and when it appears in the inference table, so near-real-time monitoring should account for this lag rather than expecting instant availability.
- Because inference tables record production traffic, they are the recommended source for building ongoing evaluation and monitoring pipelines (e.g., scheduled jobs using Databricks' evaluation tooling) rather than relying solely on pre-deployment offline evaluation.
- Sensitive or PII-containing queries and responses are logged as-is, so governance controls (Unity Catalog permissions, table ACLs) should be applied to inference tables just like any other table containing production data.
2 · Check your understanding
A Generative AI Engineer deploys a RAG chatbot to a Mosaic AI Model Serving endpoint and wants every production request and response captured automatically for later quality review. The team has no budget for building custom logging middleware and needs the captured data to land in Unity Catalog as a Delta table. How should the engineer configure the endpoint to meet this requirement?
What you have tried across Databricks GenAI Engineer's objectives, not a readiness score.
Design Applications10.71% of the exam*0 of 6 tried
Data Preparation14.29% of the exam*0 of 8 tried
Application Development23.21% of the exam*0 of 13 tried
Assembling and Deploying Applications26.79% of the exam*0 of 15 tried
Governance7.14% of the exam*0 of 4 tried
Evaluation and Monitoring17.86% of the exam*0 of 10 tried
* Our estimate. Databricks publishes no section weights.
3 · Keep going
Ready for more? Take a weighted mock or try free practice questions.