Interview Questions

This comprehensive guide contains LLM interview questions organized by role level and technical depth. Each section progresses from foundational concepts to advanced implementation challenges, with questions sorted from simple to hard within each topic area.

1. Tokenization

2. Embeddings

3. Neural Networks Fundamentals

4. Traditional Language Models

5. Transformer Architecture

6. Data Preparation

7. Pre-Training

8. Post-Training Datasets

9. Supervised Fine-Tuning

10. Preference Alignment

11. Advanced Model Architectures

12. Reasoning & Chain-of-Thought

13. Evaluation & Metrics

14. Quantization & Model Compression

15. Inference Optimization

16. Deployment & Infrastructure

17. Security & Responsible AI

18. RAG (Retrieval-Augmented Generation)

19. LLM Agents & Tool Use

20. Multimodal LLMs

21. LLMOps & Production Management

Prompt Engineering & In-Context Learning

System Design Questions

ML System Design

Specialized NLP Tasks

Research & Papers

Coding & Implementation

Case Studies & Scenario-Based Questions

Behavioral Questions (Use STAR Framework)

Super Hard Challenges

  1. Convert nf4 / BnB 4bit to Triton
  2. Make FSDP2 work with QLoRA
  3. Remove graph breaks in torch.compile
  4. Help solve Unsloth issues!
  5. Memory Efficient Backprop