LLMOps and inference monitoring
Understand tracing, quality monitoring and model-serving costs.
Measure latency, token use, cost and task quality with privacy-aware traces.
Interview questions
Choose a question to reveal its answer.
01EasyCoreWhat is time to first token?
Answer
What is time to first token?
Elapsed time until the first generated token becomes available.
Measure how quickly a streaming response begins.
from statistics import quantiles
latencies = [90,100,110,130,220,300]
print(quantiles(latencies,n=100,method='inclusive')[94])Illustrative percentile in milliseconds; use larger production samples.
02EasyCoreHow does inter-token latency differ from time to first token?
Answer
How does inter-token latency differ from time to first token?
Time between successive output tokens under a defined measurement method.
Assess how smoothly a generated response streams.
03EasyCoreHow do you allocate an LLM token budget?
Answer
How do you allocate an LLM token budget?
Maximum allocated input and output tokens for a task or request.
Reserve output space after adding retrieved passages.
04MediumHigh priorityWhy version prompts?
Answer
Why version prompts?
Tracks prompt definitions and their changes using reproducible identifiers.
Compare prompt revisions on a fixed evaluation set.
05MediumHigh priorityWhen is semantic caching safe?
Answer
When is semantic caching safe?
Reuses results for sufficiently similar inputs under controlled equivalence and safety rules.
Avoid regenerating answers for equivalent public FAQs.
06MediumHow do you redact sensitive information from traces?
Answer
How do you redact sensitive information from traces?
Removes or masks sensitive values from operational telemetry.
Prevent secrets and personal information from entering logs.
07MediumWhen use a fallback model?
Answer
When use a fallback model?
Alternative model used under a defined failure or capacity policy.
Route a simple task to a secondary provider during an outage.
08MediumHow can you monitor production output quality?
Answer
How can you monitor production output quality?
Reviews a representative subset of outputs for quality signals.
Audit production answers for unsupported claims.
09HardHow do you calculate cost per request?
Answer
How do you calculate cost per request?
Total attributable compute or service expense for processing a request.
Compare serving cost across different context sizes.
10HardWhy report p95 latency instead of only mean latency?
Answer
Why report p95 latency instead of only mean latency?
Value below which a stated fraction of observed latencies fall.
Report p95 rather than only average response time.
Priority and difficulty are editorial study recommendations.
Technical reference: Documentation / paper ↗
Try a few practice questions
Explore the questions before creating a free account.