01How do SQL injection and NoSQL injection work, and how do you prevent them effectively?SQL injection và NoSQL injection hoạt động thế nào, và phòng chống hiệu quả ra sao?Security
02How do you make sure a user who clicks the payment button twice (double-click or network lag) is only charged once?Làm sao đảm bảo người dùng bấm nút thanh toán hai lần (double-click hoặc mạng chậm) mà chỉ bị trừ tiền một lần?Finance & Payment
03How do you prevent sensitive data (PII, secrets, other tenants' data) from leaking in a RAG system?Làm sao ngăn rò rỉ dữ liệu nhạy cảm (PII, secret, dữ liệu của tenant khác) trong hệ thống RAG?SecurityLLM
04How do you use traces and logs to debug a problem in production?Làm sao dùng trace và log để debug lỗi trên production?Infrastructure
05How does chunking affect retrieval quality? How do you choose a chunking strategy (fixed-size, recursive, semantic, structure-based) for PDFs, source code, or documents with many tables?Chunking ảnh hưởng thế nào đến chất lượng retrieval? Chọn chiến lược chunking (fixed-size, recursive, semantic, theo cấu trúc) thế nào cho PDF, source code hay tài liệu có nhiều bảng?LLM
06How does SSE work from backend to frontend, and how do you handle interrupted streams, mid-stream errors and proxies that buffer the response?SSE hoạt động thế nào từ backend tới frontend, và xử lý ra sao khi stream bị ngắt, lỗi giữa chừng hoặc proxy buffer response?Full-StackLLM
07Production incident: latency suddenly jumps 10× after peak hours. Which layer do you investigate first: edge/proxy, application, database or infrastructure?Sự cố production: sau giờ cao điểm, độ trễ đột ngột tăng gấp 10 lần. Bạn kiểm tra tầng nào trước: edge/proxy, ứng dụng, database hay hạ tầng server?ScalingInfrastructure
08What are the key metrics for an LLM system?Những chỉ số (metric) quan trọng của một hệ thống LLM là gì?LLM
09What are the standard steps in a RAG pipeline? What bottlenecks make a RAG system give wrong answers or miss context?Một pipeline RAG gồm những bước chuẩn nào? Những điểm nghẽn nào khiến hệ thống RAG trả lời sai hoặc thiếu ngữ cảnh?LLM
10What are the ways a frontend and backend can communicate? Which one do LLM chat apps usually use?Frontend và backend có những cách giao tiếp nào? Ứng dụng chat LLM thường dùng cách nào?LLMFull-Stack
11What are TTFT (Time To First Token) and TPOT / ITL (Time Per Output Token)? How do you optimize both in a real system?TTFT (Time To First Token) và TPOT / ITL (Time Per Output Token) là gì? Tối ưu cả hai thế nào trong hệ thống thực tế?LLMScaling
13What is the difference between Django, Flask and FastAPI? Why is FastAPI the usual choice for LLM apps?Django, Flask và FastAPI khác nhau thế nào? Vì sao FastAPI hay được chọn khi làm ứng dụng LLM?Full-Stack
14What is the difference between Encoder-only, Decoder-only and Encoder-Decoder models? Why do modern LLMs (GPT, Claude, Llama, Qwen) use Decoder-only?Encoder-only, Decoder-only và Encoder-Decoder khác nhau thế nào? Vì sao các LLM hiện đại (GPT, Claude, Llama, Qwen) chủ yếu dùng Decoder-only?LLM
16Why shouldn't you use float or double for money, and how do you design the data type and a ledger table?Tại sao không dùng float hoặc double cho số tiền, và thiết kế kiểu dữ liệu / bảng sổ cái (ledger) như thế nào?Finance & PaymentData - Storage