This page is the only prep doc you need for a Principal Backend Engineer — AI platform interview. It maps every responsibility in the target JD to components, tools, design principles, and spoken answers.
Anchor story: OptivalueTek Project-0 — internal banking assistant (policies, KYC, cases) grounded on approved documents. Parallel mapping: same platform patterns as a document extraction product (ingest → pipeline → LLM → metadata DB → review UI).
Study order (one week)
- Day 1–2: §1 (your story) + §2 (architecture) — be able to draw the diagram from memory.
- Day 3: §4 LLM gateway + §5 queues + §8 data.
- Day 4: §3 pipelines + §14 agentic + §15 RAG/PDF.
- Day 5: §6 AWS + §9 security + §10 observability.
- Day 6: §7 APIs + §12 Python + §13 distributed patterns.
- Day 7: §17 whiteboard + §18 Q&A — speak answers out loud.
Master component map (every JD bullet → section)
| JD topic | § | Your anchor |
|---|---|---|
| Platform architecture, multi-tenant scale | §2 | Bank entity/branch + chunk ACL |
| Extraction pipelines, registry, cost/latency/accuracy | §3 | Policy ingest + re-ingest |
| LLM gateway, keys, failover, structured output, tools | §4 | Structured JSON + gateway pattern |
| Async workers, DLQ, retry, backpressure | §5 | Evolve long case packs to jobs |
| AWS ECS, RDS, S3, Bedrock, ALB, Secrets, IaC | §6 | Project-1 AWS + OpenShift |
| OpenAPI 3.1, FastAPI endpoints, versioning | §7 | FastAPI orchestration APIs |
| PostgreSQL metadata, indexing, tenancy | §8 | Audit + session metadata pattern |
| OAuth2, JWT, RBAC, CORS, IAM | §9 | SSO + retrieval-time ACL |
| Logging, tracing, SLOs | §10 | Datadog traces + audit events |
| Technical leadership | §11 | RFCs, mentoring, eval gates |
| Python FastAPI SQLAlchemy Pydantic asyncio | §12 | Daily orchestration stack |
| Sagas, circuit breaker, idempotency | §13 | Kafka + integration habits |
| LangGraph, agentic patterns, guardrails | §14 | Project-0 agent loop |
| RAG, PyMuPDF, vectors, hybrid | §15 | Policy RAG layer |
| Bedrock, Temporal, K8s, ML serving | §16 | Bridge from experience |
| System design whiteboard | §17 | 45-min script |