Skip to content

AI / LLM engineer interview questions

LLM fundamentals, prompting, RAG, fine-tuning, agents, MCP, LLMOps, AI security and applied system design.

268 questions · 14 topics · 28 free answers

AI Engineer roadmap4 stages from basics to interview-ready. Learn the gaps, then come back and practise.

0 of 268 practised · 0 bookmarked · saved on this device

22 questions match

Transformers and attention
  1. #1What problem did the transformer architecture solve compared with RNNs?EasyConceptTransformers and attention Pro answer

    This answer is part of Pro

    10 of 268 AI / LLM engineer answers are free. A Pro pass opens the rest, including hands-on task steps.

  2. #2What is self-attention in one paragraph?EasyConceptTransformers and attention Pro answer

    This answer is part of Pro

    10 of 268 AI / LLM engineer answers are free. A Pro pass opens the rest, including hands-on task steps.

  3. #3Why are attention scores divided by the square root of the key dimension?EasyConceptTransformers and attention Pro answer

    This answer is part of Pro

    10 of 268 AI / LLM engineer answers are free. A Pro pass opens the rest, including hands-on task steps.

  4. #4What is multi-head attention and why use it?EasyConceptTransformers and attention Pro answer

    This answer is part of Pro

    10 of 268 AI / LLM engineer answers are free. A Pro pass opens the rest, including hands-on task steps.

  5. #5Why do transformers need positional information?EasyConceptTransformers and attention Pro answer

    This answer is part of Pro

    10 of 268 AI / LLM engineer answers are free. A Pro pass opens the rest, including hands-on task steps.

  6. #6What is the difference between encoder-only, decoder-only and encoder-decoder models?EasyConceptTransformers and attention Pro answer

    This answer is part of Pro

    10 of 268 AI / LLM engineer answers are free. A Pro pass opens the rest, including hands-on task steps.

  7. #7What is causal masking?EasyConceptTransformers and attention Pro answer

    This answer is part of Pro

    10 of 268 AI / LLM engineer answers are free. A Pro pass opens the rest, including hands-on task steps.

  8. #8What is the KV cache and why does it speed up generation?MediumConceptTransformers and attention Pro answer

    This answer is part of Pro

    10 of 268 AI / LLM engineer answers are free. A Pro pass opens the rest, including hands-on task steps.

  9. #9Why does the cost of attention grow with context length?MediumConceptTransformers and attention Pro answer

    This answer is part of Pro

    10 of 268 AI / LLM engineer answers are free. A Pro pass opens the rest, including hands-on task steps.

  10. #10What is FlashAttention?MediumConceptTransformers and attention Pro answer

    This answer is part of Pro

    10 of 268 AI / LLM engineer answers are free. A Pro pass opens the rest, including hands-on task steps.

Hunting for a AI / LLM engineer role too? See open AI / LLM engineer jobs.