Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

Design and implement evaluations for memory, knowledge, tools, and prompts

A worked example

Yes or no

Adventure Works runs a multi-agent retail assistant in Microsoft Foundry. The solution includes:

  • A product search agent that uses a retrieval-augmented generation (RAG) pipeline over product documents.
  • An order agent that calls an external shipping API through a tool with a circuit breaker.
  • A session-history agent that summarizes earlier turns and injects them into later prompts.

The team is planning separate evaluations for the memory, knowledge, tool and prompt layers so that it can identify which layer fails when end-to-end quality drops.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.

StatementYesNo
To evaluate the knowledge layer of the product search agent, the team should measure nDCG and MRR for the documents that the RAG pipeline retrieves.

Knowledge evaluation checks whether the RAG pipeline retrieves the right documents, and its measures include nDCG, MRR and downstream answer accuracy.

Correct
The circuit-breaker activation rate of the shipping API tool is a measure for the memory evaluation of the session-history agent.

Circuit-breaker activation rate, together with tool result validation accuracy, is a measure for tool evaluation. Memory evaluation looks at whether past context is recalled correctly.

Correct
Checking whether summary drift in the session-history agent lowers answer quality is part of memory evaluation.

Memory evaluation measures whether memory injection improves accuracy. It also measures whether failure modes such as sliding-window amnesia and summary drift reduce quality.

Correct
Why

Multi-agent evaluation covers four targets, and each target has its own measures. Knowledge evaluation scores retrieval with nDCG, MRR and downstream answer accuracy. Tool evaluation uses tool result validation accuracy and circuit-breaker activation rates. Memory evaluation checks correct recall of past context and the effect of failure modes such as summary drift.

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free