Skip to content
RED SAG Skills
Data, AI & ML

AI Engineer (LLM & Generative AI)

Practice building LLM apps: prompts, embeddings, RAG, tool use and agents, evaluation, guardrails, fine-tuning and cost and latency trade-offs.

Questions
704
Interview Qs
30
Judged problems
36
Skills
9

About the role

An AI Engineer builds products on top of large language models and other generative models. Instead of training models from scratch, you combine pretrained models with prompts, retrieval, tools and application code to solve real problems such as support assistants, document search, coding helpers and workflow automation.

Day to day you design prompts and system instructions, build retrieval-augmented generation (RAG) pipelines with embeddings and vector search, connect models to tools and APIs, and write evaluation sets so you know whether a change made things better or worse. You also handle the hard production problems: hallucinations, prompt injection, data privacy, rate limits, latency and cost per request.

Good AI engineers are strong software engineers who understand how transformers, tokens and sampling work, and who treat model output as unreliable input that needs checking. They know when prompting is enough, when RAG helps, and when fine-tuning a smaller model is worth it.

Skills required for a ai engineer (llm & generative ai)

The core skills and tools to learn for ai engineer (llm & generative ai) jobs and interviews. Every skill has practice questions here.

  • Python or TypeScript
  • Prompt and context design
  • Embeddings and vector search
  • Retrieval-augmented generation (RAG)
  • Tool calling and agents
  • LLM evaluation
  • Guardrails and security
  • Fine-tuning (LoRA, adapters)
  • Cost and latency optimisation

Tools: Python, TypeScript, LLM provider APIs, Open-weight models, Hugging Face, Vector databases (pgvector, Qdrant, Pinecone), LangChain / LlamaIndex, Model Context Protocol (MCP), vLLM, Evaluation frameworks

AI Engineer (LLM & Generative AI) interview preparation

Start with the ai engineer (llm & generative ai) interview questions and answers, check yourself with the free ai engineer (llm & generative ai) quiz, then revise the topics interviewers test most:

Practise by level

Open the full question bank (704 questions) →

Mock interview

Coding problems for ai engineer (llm & generative ai)s

All 36 problems →

Unlimited drills

A new question every time — practise as long as you like.

Skills in this track

Learning roadmap

  1. 1

    Programming and API basics

    Be solid in Python or TypeScript, HTTP APIs, async code and JSON. Call an LLM API, stream responses and handle errors and rate limits.

  2. 2

    How LLMs work

    Learn tokens, context windows, the transformer and attention at a high level, sampling (temperature, top-p) and why models hallucinate.

  3. 3

    Embeddings and RAG

    Build a RAG pipeline: chunking, embeddings, vector databases, hybrid search, reranking and citing sources. Measure retrieval quality.

  4. 4

    Tools, agents and structured output

    Use function or tool calling, JSON schemas and validation. Build small agents with clear step limits, and learn protocols for connecting tools.

  5. 5

    Evaluation, safety and production

    Create eval sets, use LLM-as-judge carefully, add guardrails against prompt injection, and optimise cost and latency with caching, smaller models and batching.

  6. 6

    Fine-tuning when needed

    Learn when fine-tuning beats prompting, and how parameter-efficient methods like LoRA work. Prepare clean training data and compare against a prompted baseline.

Top AI Engineer (LLM & Generative AI) interview questions

All 30 questions with answers →