↑ ↓ to move, Enter to open, Esc to close

    DBX-GAEAGenerative AI Engineer Associate

    Switch exam

    Microsoft Azure

    aws Amazon Web Services

    Google Cloud

    ServiceNow

    Databricks

    Cisco

    Salesforce

    All exams and search

    Exams / DBX-GAEA / D1 Evaluation and Monitoring

    D1.1

    Evaluation and Monitoring

    • 1 min read
    • 4 sections
    • 21 questions
    • Free preview
    • Exam domain: Evaluation and Monitoring
    You are reading a free preview. The rest of the DBX-GAEA course unlocks with an Exam pass or All access.See plans

    Evaluation vs monitoring

    Evaluation runs offline on a dataset; monitoring scores live traffic

    Evaluation Monitoring
    Data Curated evaluation dataset Live production requests
    Tool mlflow.genai.evaluate() with scorers / judges Scorers run on sampled traces; inference tables for endpoint payloads
    Goal Decide readiness, find what to improve Track quality and health over time

    "Production monitoring lets you automatically run MLflow 3 scorers on traces from your agents to continuously assess quality."

    Evaluating RAG

    "Evaluating RAG applications requires assessing both the retrieval quality (are the right documents retrieved?) and the generation quality (is the response grounded in those documents?)." Build a dataset that tests the two parts separately.

    Judge Needs expected_response?
    correctness Yes
    context sufficiency (RetrievalSufficiency) Yes (expected facts)
    groundedness, relevance, chunk relevance, guidelines No

    Metrics: BLEU for translation against references ("The BLEU score indicates how similar the candidate text is to the reference text."); ROUGE for summarization; MMLU is a model benchmark, not a production metric.

    Custom scorers and guidelines

    "After you define a custom scorer, you can use it with mlflow.genai.evaluate() just like a built-in LLM Judge." Use the @scorer decorator, return bool/number, pass via scorers=. Guidelines judges use pass/fail natural-language criteria; when SMEs disagree, write shared rubrics first.

    Observability tools

    Symptom to tool mapping

    • Inference tables: "The inference table automatically captures incoming requests and outgoing responses for a model serving endpoint and logs them as a Unity Catalog Delta table."
    • MLflow Tracing: step-level visibility to debug agents.
    • Reranker: "Reranking is a technique that improves retrieval quality by evaluating the retrieved documents to identify the ones that are semantically most relevant."
    • Production metrics: throughput, latency, factual accuracy.

    Exam traps

    • More compute = faster, not more relevant.
    • Chunk size is not the model's context window.
    • mlflow.evaluate/make_genai_metric are legacy; use mlflow.genai.evaluate and @scorer.
    • Operational metrics are default; quality metrics need configured scorers.
    • Declared prompt variables must appear as placeholders in the template.

    Docs

    The rest of this chapter is part of the DBX-GAEA premium course

    Unlock every chapter, all 109 questions and spaced review with All access or a 90-day exam pass. Every Fundamentals exam stays free, and the first chapter of every exam is open.

    Chapters