ML SYSTEM DESIGN & MLOPS · INTERVIEW QUESTION
What is LLMOps and how does it differ from traditional MLOps?
🟡 intermediate · ML Pipelines
Hint: Think about prompt management, fine-tuning workflows, evaluation challenges.
Answer
LLMOps adapts MLOps practices for LLM-specific challenges:
-
Prompt management: version control prompts, A/B test prompt variations, manage prompt templates. Replaces feature engineering.
-
Fine-tuning pipelines: data preparation for instruction tuning, LoRA adapter management, preference data collection.
Evaluation: automated eval with benchmarks + LLM-as-judge + human eval. No single metric captures quality.
Serving: different infrastructure (GPU clusters, KV-cache management, batching strategies like vLLM's PagedAttention).
-
Cost management: token-based pricing, caching frequent queries, model routing (cheap model for simple queries).
-
Safety: guardrails, content filtering, jailbreak detection.
-
Data flywheel: collect user feedback to improve prompts and fine-tuning data.
Tools: LangSmith, Weights & Biases, Arize for LLM observability.
Related questions
- What is a feature store? Why is it important for ML systems?
- Explain model parallelism vs data parallelism for training large models.
- How do you handle versioning of LLMs in production?
- Outline the data pipeline for training an LLM from raw text to training batches.
- Design a real-time ML serving system for a recommendation engine handling 10k QPS.