29. Which pairing of term and meaning is correct?
- Session: a single model call
- Generation: the root of every trace
- Trace: one end-to-end request made of nested spans
- Dataset: a live stream of production requests
Show answer
Answer: Trace: one end-to-end request made of nested spans
A trace is one request's tree of spans. A session groups many traces, a generation is a model-call span, and a dataset is a fixed set of examples.
Lesson: Cheat Sheet: LLM Observability in One Page
30. An interviewer asks how you would reduce the cost of a chat feature. What is the best first step?
- Switch every request to the smallest model available
- Use traces to attribute cost by feature, step and token type to find where money actually goes
- Turn off tracing to save money
- Shorten every answer to one sentence
Show answer
Answer: Use traces to attribute cost by feature, step and token type to find where money actually goes
Measure before optimising. Traces show whether cost comes from long prompts, history, retries or agent loops, and that decides the right fix.
Lesson: Common Interview Questions