How to check that a ML system is ready for production: what contracts, rollout, monitoring, rollback and quality gates are needed before launch?
Банк вопросов из реальных собеседований
Направления, темы и вопросы из записей интервью. Фильтры ниже сохраняются в ссылке.
ML System Design
274 questions from real interviews
How to explain RAG in simple words: retrieval, augmentation and generation, and why does it look like two-stage recommendations?
There are relevant search candidates, but the final order is random. What simple solution can be launched quickly?
Why divide the build and work image into several stages of Dockerfile and what does it change in the release of the service?
What is a cold start in a recommendation system and what practical solutions are suitable separately for a new user and a new product?
LLM-сервис стал медленнее, хуже или дороже. Какие проверки делать?
How to arrange an Airflow-pipeline for regular retraining and offline inference models? What components, model files and optimizations are needed?
How to use an existing matrix model or ALS for recommendations to the current shopping cart without reducing the task to a common user profile?
How should responsibilities be split between the API, queue, and scheduler in a distributed training platform?
Explain the difference between BERT and GPT in terms of Transformer architecture and training objective.
How can you get a sentence embedding from BERT, how do sentence transformers differ, and why is this similar to metric learning for image pairs?
What is BERT, how does an encoder differ from a decoder, and what are the pretraining mechanisms of BERT?
What is continuous batching and why is it needed in the inference of large language models?
What is data drift, how can you detect it in data, and which signals should you monitor for an ML model in production?
When is a LLM assistant better than a free agent/tool calling?
How to turn documents into features for forecasting: one summary, JSON-state or an event feed?
How does function calling work and how does structured output work?
How to use the hidden profile of the student and prevent the user from pulling it out via prompt injection?
The CTR panel has a stream of events about impressions and clicks. How to separate the roles of Kafka, S3 and ClickHouse?
Why can the historical backtest of a LLM feature be unfair, even if the documents are submitted with the correct dates?
A 72B-parameter LLM is served on an A100 80GB. Estimate whether FP16 fits and explain what quantization changes.
You trained and evaluated an ML model. What model files do you version, how do you package the service and how do you roll it out safely?
How to add text and visual features to a recommendation system without breaking the serving pipeline?
What baseline should I launch for a new video feed if there are no clicks or purchases on it yet?