Databricks Generative AI Engineer Associate · Section 6 · 12% of the exam
Select an LLM choice (size and architecture) based on a set of quantitative evaluation metrics
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
This lesson shows how to pick a model from a table of evaluation results by applying constraints first and then choosing the smallest model that clears the quality bar. It covers the size and architecture trade-offs between dense, mixture-of-experts and reasoning models, which metrics to monitor in different deployment scenarios, and the Databricks features that keep LLM spend under control.
Points to remember
- To pick a model from metrics, apply hard constraints (latency, context, budget, license), then the quality bar, then choose the smallest or cheapest model that passes.
- MoE models spend compute on active parameters only (gpt-oss-120b: about 117B total, 5.1B active). They give near large-model quality at near small-model latency, but need memory for all parameters.
- Reasoning models improve multi-step tasks but add many output tokens, so latency and cost go up.
- BLEU fits translation, ROUGE fits summarization, exact match fits extractive Q&A. Perplexity measures language modeling, not task quality.
- Monitor three families of metrics: operational (latency, time to first token, errors, 429s), cost (tokens per request, by requester) and quality (judge pass rates on sampled traces, user feedback).
Try a question
An internal IT agent uses tool calling to look up tickets, search a knowledge base and reset passwords. It has been live for a month. Request volume is flat and nobody has changed the model or the prompts, but daily token spend has tripled and p95 latency has doubled. Which metric should the team examine first to find the cause?
- ATime to first token of the streamed responses
- BThe count of
429responses returned by the endpoint's rate limits - CThe model's perplexity on a held-out sample of ticket text
- DTool calls and agent steps per request, taken from the agent's traces
Show the answer
D. When volume is flat but tokens and latency rise together, each request is doing more work. In a tool-calling agent the usual cause is loops or redundant tool calls, and every extra step adds another LLM call. Tool calls and steps per request, along with per-span latency and tool error rate, are the key metrics for this deployment scenario, and the agent's MLflow traces record them.
Written for practice in the style of the exam: never a question from the real exam.
In the course
The lesson Choosing an LLM, Monitoring Metrics and Controlling Cost teaches this objective (about 45 minutes), and 9 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
- Select key metrics to monitor for a specific LLM deployment scenario
- Evaluate agent performance using MLflow scoring and tracing
- Use inference logging to assess deployed RAG application performance
- Use Databricks features to control LLM costs
- Use inference tables and Agent Monitoring to track a live LLM endpoint
- Identify evaluation judges that require ground truth
- Use AI Gateway (Inference Tables, Usage Tables, and rate limiting) to track an LLM or agent deployed via Agent Framework
- Use Databricks custom Scorers for evaluating agents and LLMs
- Incorporate SME feedback to improve agent performance