CertLumen

Databricks Generative AI Engineer Associate · Section 6 · 12% of the exam

Use inference logging to assess deployed RAG application performance

One of the objectives of the Databricks Certified Generative AI Engineer Associate exam, in the section “Evaluation and Monitoring”. Here is what it covers, the points to remember and a question to try.

What it covers

Once an agent is live, AI Gateway logs every request to an inference table, records token usage in system tables and enforces rate limits. MLflow traces capture each step, and production scorers (Agent Monitoring) grade sampled traffic. This lesson shows what each feature records, which endpoint types support it, how to query the logs, and how subject-matter-expert (SME) feedback becomes ground truth and better-aligned judges.

Points to remember

  • agents.deploy() creates a serving endpoint, the Review App, real-time MLflow tracing to the active experiment, an AI Gateway inference table and Beta production monitoring.
  • Since December 4, 2025, payload_request_logs and payload_assessment_logs are no longer populated automatically. Use MLflow 3 traces and mlflow.log_feedback().
  • Legacy AI Gateway on agent endpoints supports payload logging only. Rate limits, usage tracking and guardrails go on the LLM endpoints the agent calls.
  • Inference table: <catalog>.<schema>.<prefix>_payload with request, response, status_code, execution_duration_ms, requester, served_entity_id. Delivery is best effort, usually within 1 hour. Payloads over 1 MiB are logged as null.
  • Usage tables: system.serving.endpoint_usage (tokens, requester, usage_context) joined to system.serving.served_entities on served_entity_id. Both are Public Preview and account-admin only by default.

Try a question

A developer enables an AI Gateway inference table on a pay-per-token Foundation Model APIs endpoint, sends a test request and immediately queries the _payload table, but finds no new row. What is the most likely explanation?

  1. ADelivery is best effort, and rows typically appear within an hour
  2. BInference tables record only requests that returned an error status code
  3. CThe table must be refreshed with REFRESH TABLE before new rows become visible
  4. DRows are written only after the endpoint has scaled to zero and back
Show the answer

A. For Foundation Model APIs, external models and agents, AI Gateway inference table logging is best effort, and logs are usually available within an hour. It is not real time. For agents deployed with MLflow 3, real-time traces in the MLflow experiment give near-immediate visibility.

Written for practice in the style of the exam: never a question from the real exam.

In the course

The lesson Monitoring Live Agents: Inference Tables, AI Gateway, Agent Monitoring and SME Feedback teaches this objective (about 60 minutes), and 11 practice questions test it. The course has lessons, exam-style questions, timed practice exams and an AI tutor for every objective, and a pass prediction that tells you when you're ready to book.

More in this section

← Previous objective · All 56 objectives · Next objective →