Interview Q&A · questions with model answers
LLM Ops Interview Questions
Part of the study plan for: Native AI Engineer
Ordered by how often they're asked. Most-asked answers are free to read in full; members see every answer and can rate their confidence on each.
-
Most asked LLM Ops leaf: What is semantic caching?
Cache responses for similar embeddings/queries within a similarity threshold.
-
Most asked LLM Ops leaf: What is model routing?
Classifier/rules send easy queries to small/cheap models and hard ones to large models.
-
LLM Ops leaf: What belongs in an LLM observability trace?
Prompt/version hash, model, tokens, latency, cost, retrieved IDs, tool calls, errors, and user feedback-with redaction for secrets/PII.
-
LLM Ops leaf: What kill switches should exist?
Disable generative path, force template answers, block tools, and roll back prompt/model instantly via flags.
-
LLM Ops leaf: What is a prompt injection incident runbook?
Disable tools, tighten filters, review traces, rotate secrets if exfiltrated, and patch delimiters/policies.
-
What does a solid observability stack look like for LLM systems?
Trace each request across prompt version, model/provider, retrieved doc IDs, tool calls, token counts, latency, cost, and user feedback.