CertLumen

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

Select key metrics to monitor for a specific LLM deployment scenario

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

Six business units share one Foundation Model APIs endpoint. Finance wants monthly chargeback of token consumption per business unit. The platform team also wants to stop any single unit's members from consuming more than a fixed number of tokens per minute. Which design meets both goals?

  1. AEnable usage tracking, tag requests with a business-unit usage_context, report from endpoint_usage, and add group TPM limits
  2. BCreate one inference table per business unit and bill each unit for the sum of execution_duration_ms in its table every month
  3. CQuery system.billing.usage grouped by usage_metadata.endpoint_name and split the endpoint's total equally among the six units
  4. DEnable scale to zero on the endpoint and configure a separate account budget email alert for each business unit
Show the answer

A. Usage tracking writes per-request token counts to system.serving.endpoint_usage. A usage_context map in each request (for example a business-unit key) lets you attribute tokens to units. AI Gateway rate limits can target user groups with a TPM limit that all members share, so each unit is capped.

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

← Previous objective · All 56 objectives · Next objective →