Bộ mẫu phỏng vấn thiết kế hệ thống AI
Luyện thiết kế hệ thống AI: ước tính và thiết kế ML, rồi gợi ý, gian lận, RAG doanh nghiệp, chat, trợ lý lập trình, agent giọng nói và hỗ trợ, LLM gateway và serving.
Học
Back-of-Envelope Estimation and Capacity Model Template
Đầy đủReference latency and unit tables, assumptions register, QPS, storage, bandwidth, cache, server and cost formulas, worked example, sensitivity, traceability
Jeff Dean latency numbers (LADIS 2009)ML System Design Document Template
Đầy đủProblem framing, metrics, data, features, baselines, training, offline and A/B evaluation, serving, monitoring, rollout
Thiết kế tham chiếu
Recommendation System Design Template
Đầy đủRecommender funnel: two-tower retrieval and ANN, pre-ranking and ranking, feature freshness, training, exploration, A/B tests, feedback loops and bias
Payment Fraud Detection System Design Template
Đầy đủReal-time payment fraud scoring: latency budget, streaming features, rules plus ML, review queues, label delay, selection bias, model monitoring
Enterprise RAG Search System Design Template
Đầy đủEnterprise RAG search design: connectors, document and chunk ACL filtering, permission sync, hybrid retrieval, RRF, reranking, citation verification, tenancy
OWASP LLM Top 10 2026 (LLM08, LLM09)LLM Chat Assistant System Design Template
Đầy đủChat assistant app layer: resumable SSE streaming, conversation store, context budget and summaries, uploads, tools, moderation, rate limits, residency
WHATWG SSE; RFC 9457; GDPR Ch. V, Art. 17, 25; EU AI Act Art. 50AI Coding Assistant System Design Template
Đầy đủAI coding assistant design: IDE and CLI clients, repo indexing, context assembly, agent loop, microVM sandbox, MCP and Agent Skills, approvals, security
MCP 2026-07-28; Agent Skills spec; OWASP LLM Top 10 2026Customer Support AI Agent System Design Template
Đầy đủCustomer support AI agent design: channels, intent routing, policy retrieval, refunds with limits and approvals, human handoff, metrics, safety, audit
Singapore MGF for Agentic AI (Jan 2026); EU AI Act Art. 50; OWASP LLM Top 10 2026Real-Time Voice Agent System Design Template
Đầy đủReal-time voice agent design: SIP and WebRTC ingress, streaming ASR, turn detection, barge-in, LLM with tools, streaming TTS, latency budget, consent, failover
W3C WebRTC (Mar 2025); RFC 3261; ITU-T G.114LLM Gateway System Design Template
Đầy đủLLM gateway and router design: unified API, provider adapters, token quotas, routing and fallback, caching, PII redaction, guardrail hooks, metering
OpenTelemetry GenAI semconv (Development); OWASP LLM Top 10 2026; RFC 9457LLM Inference Serving and Vector Search Platform Design Template
Đầy đủGateway, router, continuous batching, paged KV cache, GPU memory and throughput math, TTFT/TPOT SLOs, autoscaling, quantization, HNSW/IVF, cost per token
PagedAttention (Kwon et al., SOSP 2023)Agent Orchestration Platform System Design Template
Đầy đủAgent run platform design: durable step journal, resume, MCP tool broker with Tasks, A2A calls, human approvals, tenant budgets, evaluation hooks
MCP 2026-07-28 (Tasks extension); A2A 1.0.1; OWASP Agentic Top 10 2026Agent Code Execution Sandbox System Design Template
Đầy đủCode execution sandbox for agents: microVM vs gVisor vs containers, egress proxy, credential broker, quotas, snapshot restore, warm pools, abuse detection
Firecracker (NSDI 2020); OWASP Agentic Top 10 2026 (ASI05)