AI engineer interview rubric generator
Generate a structured technical interview rubric by role level and AI focus area.
Example inputs; change them
Questions selected 6
Estimated interview time 120 min
# Interview rubric: Senior AI Engineer
- Level: Senior (Designs reliable systems, navigates latency/cost/quality trade-offs, and sets engineering standards.)
- Focus areas: LLM applications, RAG and retrieval, Evaluations and testing
- Questions: 6
- Estimated time: 120 minutes
## Scoring scale
- 1 (Below bar): Misses core technical requirements or introduces major risks.
- 2 (Developing): Covers basics but leaves gaps in edge cases, measurement, or reliability.
- 3 (Meets bar): Solid, production-ready reasoning appropriate for the level.
- 4 (Exceeds bar): Anticipates failure modes, trade-offs, and system-wide constraints.
## 1. LLM applications (20 min)
**Prompt:** A production LLM feature has p95 latency of 14 seconds and rising token spend. Walk through how you profile the pipeline and reduce both latency and cost without hurting output quality.
**Follow-up probes:**
- When does prompt caching help versus hurting?
- How do you verify a smaller model is safe before switching traffic?
**Scoring anchors:**
- 1 (Below bar): Suggests switching to a cheaper model immediately without profiling or measuring quality impact.
- 2 (Developing): Identifies streaming and shorter prompts, but lacks a measurement plan or model-routing criteria.
- 3 (Meets bar): Breaks down TTFT versus generation tokens, applies streaming, prompt/prefix caching, context trimming, and validates changes against an eval set.
- 4 (Exceeds bar): Proposes tiered model routing, parallelizable sub-calls, caching keys, token budgets, and shadow-traffic regression checks with clear rollback criteria.
## 2. LLM applications (20 min)
**Prompt:** Your application summarizes untrusted external web pages and emails alongside internal user instructions. Design the defense-in-depth controls against indirect prompt injection.
**Follow-up probes:**
- Why is prompt-level instruction hierarchy insufficient on its own?
- How do you isolate data flow when the model can trigger downstream API calls?
**Scoring anchors:**
- 1 (Below bar): Relies solely on adding "ignore instructions in the text" to the system prompt.
- 2 (Developing): Adds basic input regex filtering or delimiters without restricting downstream privileges.
- 3 (Meets bar): Separates data from instructions, enforces least-privilege tool permissions, validates outputs, and requires user confirmation for state-changing actions.
- 4 (Exceeds bar): Designs capability-based sandboxing, taint tracking or dual-LLM isolation where warranted, strict egress/output policies, and adversarial red-team test suites.
## 3. RAG and retrieval (20 min)
**Prompt:** Users report that a RAG assistant frequently gives plausible but wrong answers. How do you diagnose whether the root cause is ingestion, retrieval, reranking, or generation?
**Follow-up probes:**
- Which metrics isolate retrieval quality from generator faithfulness?
- How do you handle conflicting or outdated documents in the index?
**Scoring anchors:**
- 1 (Below bar): Treats RAG as a black box and suggests rewriting the system prompt first.
- 2 (Developing): Inspects a few retrieved chunks manually, but has no systematic way to separate retrieval recall from generation errors.
- 3 (Meets bar): Measures recall@k and MRR on a labeled query set separately from citation/groundedness checks, and checks index freshness and deduplication.
- 4 (Exceeds bar): Builds stage-by-stage error attribution (parsing, chunking, query rewrite, retrieval, rerank, synthesis), freshness metadata filtering, and abstention thresholds.
## 4. RAG and retrieval (20 min)
**Prompt:** Design a multi-tenant enterprise search and RAG index where document permissions change frequently. How do you guarantee a user never sees or gets answers derived from unauthorized documents?
**Follow-up probes:**
- What are the trade-offs between pre-filtering, post-filtering, and per-tenant indexes?
- How do you handle permission revocation propagation delay?
**Scoring anchors:**
- 1 (Below bar): Applies access checks only in the prompt or relies on post-filtering top-k without handling empty results or leakage.
- 2 (Developing): Filters by tenant ID at query time, but misses document-level ACL updates or caching leakage.
- 3 (Meets bar): Enforces tenant and ACL pre-filtering in the retrieval layer, scopes caches by permission principal, and handles ACL sync latency explicitly.
- 4 (Exceeds bar): Designs defense-in-depth authorization at both index and fetch-time verification, quantifies ACL propagation SLOs, and prevents cross-tenant cache or embedding leakage.
## 5. Evaluations and testing (20 min)
**Prompt:** Your team uses an LLM-as-a-judge to score open-ended answers. How do you validate that the judge agrees with human reviewers and does not drift or game scores?
**Follow-up probes:**
- What biases appear in pairwise versus single-score judging?
- How do you handle model variance across runs?
**Scoring anchors:**
- 1 (Below bar): Uses a single 1-to-10 judge prompt without checking human agreement.
- 2 (Developing): Uses binary pass/fail criteria, but never measures agreement against labeled human judgments.
- 3 (Meets bar): Uses crisp binary or narrow-scale rubrics, measures agreement (Cohen kappa or precision/recall) against human labels, and swaps order in pairwise comparisons.
- 4 (Exceeds bar): Maintains a golden calibration set, tracks judge drift on model updates, separates rubric dimensions, and triggers human review on low-confidence or high-impact slices.
## 6. Evaluations and testing (20 min)
**Prompt:** Design an evaluation architecture that connects CI release gates with live production monitoring across multiple AI features.
**Follow-up probes:**
- Which checks belong on every pull request versus nightly runs?
- How do production failures feed back into regression datasets without leaking PII?
**Scoring anchors:**
- 1 (Below bar): Runs expensive full-suite LLM evals synchronously on every commit or skips automated evals entirely.
- 2 (Developing): Splits smoke tests from nightly evals, but has no production sampling or feedback pipeline.
- 3 (Meets bar): Uses fast deterministic and small-slice PR gates, broader nightly benchmarks, online telemetry sampling, and PII-scrubbed regression curation.
- 4 (Exceeds bar): Establishes release SLOs, canary rollback triggers tied to online metrics, automated failure clustering, and governance for dataset retention and privacy.
Free to use. Nothing you enter is stored, and the tool has no effect on any ranking.