What should I focus on for a RAG interview?

Can I explain how a query becomes an answer?

The end-to-end pipeline question was the most asked question, appearing in 31 of 147 interviews. Check whether you can explain the workflow, not just name its tools.

Reviews of real answers found a specific gap: candidates missed how a query retrieves relevant passages and how those passages become context for the LLM to generate an answer.

  • Can you trace a query through retrieval, context assembly, and answer generation?
  • Can you explain when you would choose RAG rather than fine-tuning or prompt engineering?
  • Can you show where tools and structured data fit into your design?

Can I justify my chunk size and overlap?

Reviews of chunking answers found that candidates missed a concrete method for choosing and justifying chunk sizes. A useful check is whether you can describe how document boundaries guide your choices, then explain how you would test candidate sizes on queries that reflect actual use.

  • Can you explain why you chose a chunk size and overlap?
  • Can you test whether retrieval finds relevant passages and whether those passages contain enough information to answer?
  • Can you describe how you would extract PDF content, keep metadata, and handle new or changed documents?

Can I compare retrieval choices?

Retrieval and reranking appeared in 34 of 147 interviews. The questions covered keyword and hybrid search, query rewriting, filtering, and reranking. Check whether you can compare approaches rather than only define semantic search.

  • Can you explain what embeddings represent and how you would choose them?
  • Can you compare a dedicated vector database with alternatives?
  • Can you explain when you would use semantic search rather than keyword search?
  • Can you name the metrics you would use to compare retrieval and reranking approaches?

Can I test quality and handle missing evidence?

Check whether you can describe an evaluation dataset and explain how you would measure retrieval quality separately from answer quality. Include how you would test for regressions and investigate incorrect results.

  • Can you explain what the system should do when retrieved evidence does not support an answer?
  • Can you describe how citations connect an answer to its evidence?
  • Can you explain how you would keep data current and control which data each user can access?

Can I write the code behind semantic search?

Coding tasks appeared in 2 of 147 interviews. Check whether you can create a vector and use it for semantic search. Also check whether you can implement and explain a cosine similarity function using NumPy. These were the coding tasks recorded in these interviews.

Who gets asked RAG

AI engineer94 interviews
Backend developer13 interviews
Data scientist7 interviews
Data engineer4 interviews
ML engineer4 interviews

The 20 most asked RAG questions

Counted by interview, not by mention: a question asked twice in one conversation counts once.

  1. How would you design and implement an end-to-end RAG pipeline for an AI assistant?

    Asked in 31 of 147 interviews · last asked Oct 21 · Design · Mid-level

    Show answer

    RAG retrieves documents and uses them to ground an LLM’s answer. I would clean, chunk, embed, and index documents with source metadata. For each query, I would retrieve relevant chunks, rerank them, and include them in the LLM’s prompt. I would request citations, handle missing evidence, and evaluate retrieval and answer quality.

    • Use RAG for current or private knowledge; document updates do not require model retraining.
    • Combine keyword and vector search when useful; tune chunk size, retrieval count, and reranking.
    • Enforce document access permissions during retrieval and refresh the index when sources change.
    • Test retrieval relevance, answer correctness, citation support, latency, and cost using representative questions.

    What the interviewer checks: The interviewer checks whether you can connect document ingestion, retrieval, generation, and evaluation into a working system.

    Common mistake (in 12 of 15 reviewed answers): Many answers forget that retrieved passages must become context in the LLM’s prompt, not just search results.

    Other ways it was asked
    • “What is retrieval-augmented generation (RAG), and when would you use it?”
    • “What is retrieval-augmented generation (RAG)?”
    • “How can you optimize a retrieval-augmented generation (RAG) system, and why might you choose RAG over another approach?”
  2. What is RAG, how does it work, and why is it used?

    Asked in 20 of 147 interviews · last asked Oct 23 · Concept · Junior

    Show answer

    RAG means retrieval-augmented generation. It finds relevant information in an external source, adds it to the model’s prompt, and asks the model to answer using that information. It is used when answers need current, private, or specialized knowledge without retraining the model. It can reduce made-up answers, but it does not prevent them completely.

    • Retrieval finds relevant content, often using keyword search, vector search, or both.
    • Retrieved content gives the model evidence to use when writing its answer.
    • Source content can be updated without changing the model’s weights.
    • Answer quality depends on finding good sources and using them correctly.

    What the interviewer checks: The interviewer checks whether you understand the retrieval and generation steps, their purpose, and their limits.

    Other ways it was asked
    • “What is RAG?”
    • “How does RAG work?”
    • “What is RAG, and what does it do?”
  3. How do you choose a chunking strategy, chunk size, and overlap for a RAG system?

    Asked in 13 of 147 interviews · last asked Oct 22 · Scenario · Mid-level

    Show answer

    I start with document boundaries, such as headings and paragraphs, and keep related information together. I test several chunk sizes in tokens on representative queries, checking retrieval quality, context completeness, and answer accuracy. I keep chunks within embedding limits and retrieved context within the generation budget. I add overlap only when boundary splits lose useful context.

    • Match chunks to document structure and expected questions; preserve tables and code blocks where practical.
    • Small chunks improve focus; large chunks preserve context but may include unrelated text.
    • Compare candidate sizes and overlaps using the same queries and retrieval settings.
    • Overlap can protect boundary context, but increases storage and duplicate results.

    What the interviewer checks: The interviewer wants to see a practical, tested choice rather than one fixed chunk size for every system.

    Common mistake (in 3 of 5 reviewed answers): Many answers forget that chunk sizes need justification through document structure and tests of retrieval quality and context completeness.

    Other ways it was asked
    • “How do you choose a document-chunking strategy for a RAG system?”
    • “What factors should you consider when designing chunking strategies for a RAG system?”
    • “How do you choose a chunking strategy and chunk size for a RAG system?”
  4. How would you evaluate retrieval and answer quality in a RAG system before production?

    Asked in 11 of 147 interviews · last asked Oct 19 · Concept · Mid-level

    Show answer

    I would test retrieval and answers separately on realistic questions with labeled relevant sources and expected answers. For retrieval, I would measure recall@k and ranking quality. For answers, I would check correctness, support from sources, and citation accuracy, using human review to validate automated scores. I would also test missing evidence, access rules, latency, and cost before release.

    • Use held-out questions from each customer, including hard cases and questions the documents cannot answer.
    • Recall@k measures relevant sources found; ranking metrics check whether useful sources appear early.
    • Check answer correctness and source support separately; a supported answer can still be incomplete.
    • Set release thresholds and compare against a baseline after each pipeline change.

    What the interviewer checks: The interviewer wants to see whether you can separate retrieval failures from answer failures and define reliable release checks.

    Other ways it was asked
    • “How would you implement a RAG system step by step?”
    • “How would you evaluate a RAG pipeline for each customer?”
    • “How would you implement a RAG system end to end?”
  5. What are embeddings, how do they work, and why are they used?

    Asked in 9 of 147 interviews · last asked Oct 23 · Concept · Junior

    Show answer

    Embeddings are lists of numbers that represent text, images, or other data. A trained model creates them so that similar items tend to have similar vectors. They help systems find related items even when the words differ. In RAG, embeddings help retrieve relevant documents for the model to use.

    • Training teaches the model which patterns and relationships to represent.
    • Vector search compares embeddings using measures such as cosine similarity.
    • Queries and documents need embeddings from the same model or compatible models.
    • Embeddings support semantic search, recommendations, and clustering, but similarity does not guarantee relevance.

    What the interviewer checks: The interviewer checks whether you understand how learned vectors capture similarity and support retrieval in RAG.

    Other ways it was asked
    • “What is your understanding of embeddings?”
    • “What are embeddings, and when are they used?”
    • “What are embeddings, and where are they used?”
  6. What is a vector database, and why would you use one in a RAG system?

    Asked in 9 of 147 interviews · last asked Oct 13 · Concept · Junior

    Show answer

    A vector database stores embeddings, which represent data as lists of numbers, and searches for similar ones. In RAG, it helps find document chunks related to a question, even when the wording differs. The system gives those chunks to the language model as context for its answer.

    • The question and document chunks need embeddings from compatible models.
    • Vector indexes make similarity search fast, often trading some accuracy for speed.
    • Metadata filters can limit results by source, date, or access rights.
    • A vector store is a broad term; it may be a database or a simpler storage library.

    What the interviewer checks: The interviewer checks whether you understand embeddings, similarity search, and how retrieved content supports a RAG answer.

    Other ways it was asked
    • “What is a vector database?”
    • “What is a vector database, and what is it used for?”
    • “What vector databases are currently available?”
  7. How does semantic search differ from keyword search, and when would you use it?

    Asked in 7 of 147 interviews · last asked Oct 13 · Concept · Junior

    Show answer

    Semantic search finds results by meaning, often using embeddings, while keyword search mainly matches words. Use semantic search when users express the same idea differently from the documents. Use keyword search for exact names, codes, or phrases, and combine both when you need both kinds of matching.

    • Semantic search helps with natural-language questions, synonyms, and paraphrases.
    • Keyword search is useful when the exact wording matters.
    • Similarity search finds nearby items under a chosen metric; semantic search aims to match meaning.
    • Hybrid search combines keyword and semantic results.

    What the interviewer checks: The interviewer checks whether you can choose a search method based on user questions and document content.

    Other ways it was asked
    • “What do you mean by semantic search?”
    • “What do you mean by semantic search, and how is it different from normal search?”
    • “What is semantic search, and when would you use it?”
  8. When would you choose RAG, fine-tuning, or prompt engineering?

    Asked in 4 of 147 interviews · last asked Oct 21 · Concept · Mid-level

    Show answer

    Use prompt engineering when clear instructions and examples are enough. Choose RAG when answers need external facts, changing information, or sources you can cite. Choose fine-tuning when you need consistent task behavior, style, or format and have good training examples. You can combine these methods.

    • Prompt engineering is usually the simplest starting point and does not change model weights.
    • RAG retrieves information at runtime; its quality depends on finding useful sources.
    • Fine-tuning changes model weights but is not a reliable way to keep facts current.
    • Fine-tuning needs training data and evaluation; RAG adds retrieval cost and latency.

    What the interviewer checks: The interviewer is checking whether you can separate knowledge needs from behavior needs and choose a practical approach.

    Other ways it was asked
    • “When would you choose RAG over fine-tuning?”
    • “What is the basic difference between RAG and fine-tuning, and when would you use fine-tuning or RAG?”
    • “Can you briefly explain the difference between RAG and fine-tuning?”
  9. What is cosine similarity, and how does it work on two vectors?

    Asked in 4 of 147 interviews · last asked Oct 20 · Concept · Junior

    Show answer

    Cosine similarity measures how closely two nonzero vectors point in the same direction. It is the cosine of the angle between them: cos_sim(a, b) = (a · b) / (||a|| × ||b||). Compute their dot product, then divide by the product of their lengths.

    • Scores range from -1 to 1: 1 means same direction, 0 means perpendicular, and -1 means opposite directions.
    • It compares direction, not magnitude; multiplying a vector by a positive number does not change the score.
    • It is undefined for zero vectors because the denominator is zero.

    What the interviewer checks: The interviewer checks whether you understand the formula, its geometric meaning, and the zero-vector edge case.

    Other ways it was asked
    • “What is cosine similarity?”
    • “What do you mean by cosine similarity?”
    • “How does cosine similarity work on two numeric vectors?”
  10. How would you evaluate and compare retrieval and reranking approaches, and which metrics would you use?

    Asked in 4 of 147 interviews · last asked Oct 22 · Concept · Mid-level

    Show answer

    I would compare approaches on the same held-out set of real questions with labeled relevant passages. For retrieval, I would measure Recall@k; for reranking, nDCG@k and MRR. I would also compare latency, cost, and final answer quality. I would test rerankers on identical candidate sets, then compare complete pipelines.

    • Recall@k measures the fraction of known relevant passages that appear in the top k results.
    • nDCG@k rewards placing highly relevant passages near the top and supports graded relevance labels.
    • MRR measures how early the first relevant result appears; it does not measure coverage.
    • Check results across question types; reranking cannot recover relevant passages missing from its candidate set.

    What the interviewer checks: The interviewer is checking whether you can compare approaches fairly and separate retrieval coverage from ranking quality.

    Other ways it was asked
    • “How would you evaluate a retrieval pipeline after embedding and reranking, and which metrics would you use?”
    • “What's your evaluation strategy for retrieval?”
    • “How would you evaluate reranking and retrieval approaches as potential solutions for an enterprise AI platform?”
  11. Why does RAG use document chunks instead of whole documents, and what should each chunk contain?

    Asked in 3 of 147 interviews · last asked Sep 21 · Concept · Junior

    Show answer

    RAG usually splits documents into smaller pieces called chunks to retrieve relevant text without sending whole documents. This reduces irrelevant text and helps fit the model’s context limit. Each chunk should contain a meaningful passage with enough context to understand it, plus metadata such as its source and section.

    • Keep related ideas together; avoid splitting in the middle of an explanation.
    • Small chunks give precise matches; larger chunks preserve more context.
    • Some overlap can preserve context across chunk boundaries, but adds duplicate text.
    • Short documents may work well as whole documents; chunking is not always needed.

    What the interviewer checks: The interviewer checks whether you can balance retrieval accuracy, context limits, and the meaning preserved in each chunk.

    Other ways it was asked
    • “What is chunking, and why is it required?”
    • “Can you explain chunking?”
    • “Why is data chunked in a RAG pipeline, and what content should each chunk contain?”
  12. How do you choose an embedding model for RAG and decide which documents to embed?

    Asked in 3 of 147 interviews · last asked May 12 · Concept · Senior

    Show answer

    I choose an embedding model by testing retrieval on real questions with known relevant documents. I compare language and domain fit, cost, speed, and hosting needs. I embed clean, current, trusted content that users need, usually split into chunks, and remove duplicates and irrelevant material. I keep access permissions with each chunk and enforce them during retrieval.

    • Compare models such as E5, BGE, and OpenAI embeddings on your own retrieval tests.
    • Use compatible query and document encoders, following the model’s required input format.
    • Choose chunk sizes that preserve meaning and fit the model’s input limit.
    • Changing embedding models usually requires embedding the documents again.

    What the interviewer checks: The interviewer checks whether you can test model choices and select useful, safe content for retrieval.

    Other ways it was asked
    • “Which embedding models do you know for RAG?”
    • “How do you choose an embedding model for a RAG system, what documents should be embedded, and why?”
    • “How would you choose an embedding model for a document retrieval system?”
  13. How would you compare and choose vector databases for a production application?

    Asked in 3 of 147 interviews · last asked Oct 14 · Concept · Mid-level

    Show answer

    I would choose the database that meets our search quality, speed, reliability, and cost needs on real workload tests. I would compare candidates using our embeddings, filters, data size, and expected peak traffic. User count alone is not enough; I would measure recall, tail latency, throughput, and total operating cost.

    • Compare recall and p95/p99 latency at the same load and search quality target.
    • Check embedding dimensions, distance metrics, metadata filters, hybrid search, and update freshness.
    • Test scaling, backups, recovery, access controls, and tenant isolation.
    • Rank options by hard requirements first, then cost and operational effort, including managed versus self-hosted deployment.

    What the interviewer checks: The interviewer is checking whether you can turn production needs into fair tests and explain the trade-offs.

    Other ways it was asked
    • “How would you choose a vector database for storing and querying document embeddings?”
    • “Which database would you choose for vector embeddings to handle production scale of 10,000 users?”
    • “How would you compare vector databases for production use, and which parameters would you use to rank them?”
  14. What are large language models (LLMs) and retrieval-augmented generation (RAG), and how do they differ?

    Asked in 2 of 147 interviews · last asked Sep 22 · Concept · Mid-level

    Show answer

    An LLM is a model trained on large amounts of text to understand and generate language. RAG is a method that retrieves relevant information from external sources and gives it to an LLM to help answer a question. The difference is that an LLM is the model, while RAG adds a retrieval step to support its answers.

    • Without retrieval, an LLM relies on its training and the context supplied to it.
    • RAG can use current or private information without retraining the LLM.
    • RAG depends on retrieval quality and does not guarantee correct answers.

    What the interviewer checks: The interviewer checks whether you can distinguish a language model from a system that combines retrieval and generation.

    Other ways it was asked
    • “What are large language models (LLMs) and retrieval-augmented generation (RAG)?”
  15. Can you explain what LLM and RAG are, and what two types of tokens are available in agentic AI?

    Asked in 2 of 147 interviews · last asked Jul 17 · Concept · Junior

    Show answer

    An LLM, or large language model, learns patterns in text to understand and generate language. RAG, or retrieval-augmented generation, retrieves external information and gives it to the model as context. The two main token categories are input tokens, which the model reads, and output tokens, which it generates. Tokens can be words or parts of words.

    • RAG supplies relevant information without retraining the model.
    • Input tokens include instructions, conversation history, retrieved text, and tool results sent to the model.
    • Output tokens include generated answers and tool calls.
    • Input and output tokens apply to LLMs generally, not only agentic AI.

    What the interviewer checks: The interviewer checks whether you can distinguish the model, retrieval, and token usage in an agent workflow.

    Other ways it was asked
    • “Can you explain LLMs, RAG, and tokens?”
  16. How would you create a vector and use it for semantic search?

    Asked in 2 of 147 interviews · last asked Aug 19 · Write code · Mid-level

    Show answer

    I would use an embedding model to turn each document into a vector that represents its meaning. I would embed the search query with the same model, compare it with the document vectors, and return the closest matches. For large collections, I would use a vector index to make search faster.

    • Use the same embedding model for documents and queries.
    • Cosine similarity compares vector direction; dot product gives the same score when vectors have unit length.
    • Vector indexes can speed up search, sometimes at the cost of missing relevant matches.
    Python
    # Requires: pip install sentence-transformers
    from sentence_transformers import SentenceTransformer
    model = SentenceTransformer("all-MiniLM-L6-v2")
    documents = ["Dogs make good pets.", "Baking bread takes time.", "Cats are household companions."]
    vectors = model.encode(documents, normalize_embeddings=True)
    query_vector = model.encode("Animals to keep at home", normalize_embeddings=True)
    scores = vectors @ query_vector
    for i in scores.argsort()[::-1][:2]:
        print(documents[i], float(scores[i]))

    What the interviewer checks: The interviewer is checking whether you can connect embedding creation, similarity scoring, and retrieval.

    Other ways it was asked
    • “How would you write code to create a vector and perform semantic search on it?”
    • “How can vector embeddings be used for semantic search?”
  17. How does vector search find and score embeddings similar to a query?

    Asked in 2 of 147 interviews · last asked Sep 9 · Concept · Mid-level

    Show answer

    Vector search embeds the query using the same embedding model as the stored vectors. It finds nearby vectors using an exact scan or an approximate nearest neighbor index. It ranks results using a measure such as cosine similarity, dot product, or Euclidean distance.

    • Cosine similarity compares vector direction; dot product also depends on vector length.
    • Higher similarity means closer matches; lower distance means closer matches.
    • Approximate indexes speed up search but may miss some of the closest vectors.
    • Returned scores may transform the raw similarity or distance; check the database’s definition.

    What the interviewer checks: The interviewer checks whether you understand query embedding, nearest neighbor search, scoring, and the speed-versus-accuracy trade-off.

    Other ways it was asked
    • “How does a vector search system calculate similarity scores between a query and stored embeddings?”
    • “How does vector search work?”
  18. How can you implement similarity search without a vector database, and why might you use one?

    Asked in 2 of 147 interviews · last asked May 22 · Concept · Mid-level

    Show answer

    You can store chunk embeddings in memory or files, then compare them with a query embedding using cosine similarity. Use NumPy to scan all embeddings, or a library like FAISS for indexed search. A vector database helps manage storage, metadata filters, updates, and search at scale.

    • Embed queries and chunks with the same compatible embedding model.
    • Keep a mapping from each embedding to its source chunk.
    • A full scan is simple and exact, but gets slower as the collection grows.
    • Approximate indexes trade some retrieval accuracy for speed; a vector database is optional.

    What the interviewer checks: The interviewer checks whether you understand similarity search separately from the storage and scaling features of vector databases.

    Other ways it was asked
    • “Can you perform semantic search without a vector store, and why are vector stores used to retrieve chunks or embeddings in RAG systems?”
    • “Can a RAG system perform similarity search without a vector database?”
    • “How can you implement similarity search without a vector database?”
  19. How would you implement hybrid search combining vector similarity and keyword search?

    Asked in 2 of 147 interviews · last asked Jul 16 · Design · Senior

    Show answer

    I would run vector search and keyword search, such as BM25, on the same query, usually in parallel. Then I would merge results by document or chunk ID and combine their ranks using reciprocal rank fusion. Finally, I would optionally rerank the merged candidates and return the top results.

    • Vector search finds related meaning; keyword search catches exact terms, names, and codes.
    • Rank fusion avoids directly adding scores from different scales.
    • Apply the same access filters to both searches and remove duplicate results.
    • Tune candidate counts and fusion weights using representative queries and relevance labels.

    What the interviewer checks: The interviewer checks whether you can combine complementary retrieval methods while handling incompatible scores, duplicates, and access filters.

    Other ways it was asked
    • “How would you implement hybrid search for a user query, combining semantic similarity search with keyword search?”
    • “How would you build a hybrid search system that combines vector retrieval with traditional keyword search?”
  20. What is query rewriting in retrieval, how does it work, and when would you use it?

    Asked in 2 of 147 interviews · last asked Sep 9 · Concept · Mid-level

    Show answer

    Query rewriting turns a user's question into a clearer search query before retrieval. Rules or an LLM can add context, expand terms, or split a complex question into smaller queries. In vector search, the rewritten text is embedded and used to find documents. Use it for vague questions, follow-up questions, or wording that differs from your documents.

    • Keep the user's meaning; do not add unsupported assumptions.
    • Rewriting changes the search input, not the stored documents.
    • Multiple queries can improve coverage, but add cost and may retrieve irrelevant results.
    • Check whether rewriting improves retrieval quality; clear queries may not need it.
    Code
    Previous question: What is our refund policy?
    Follow-up: Does it cover sale items?
    Rewritten query: What is our refund policy for sale items?

    What the interviewer checks: The interviewer checks whether you understand how rewriting improves retrieval and when it may hurt.

    Other ways it was asked
    • “What is query rewriting in retrieval with a vector database, and when would you use it?”
    • “How does query rewriting work?”

RAG basics interview questions

The basics questions cover RAG workflows, LLMs, tokens, and when to use retrieval rather than fine-tuning or other approaches. 18 questions.

  1. What source data can a RAG chatbot use, and how would you choose between web-search data and documents?

    Asked once · last asked May 22 · Scenario · Mid-level

  2. Can you explain the difference between RAG and tokens, and also explain the two types of tokens?

    Asked once · last asked Jul 17 · Concept · Junior

  3. Can you explain RAG and LLMs, including LLM hallucinations?

    Asked once · last asked Jul 17 · Concept · Junior

  4. What happens in a RAG chatbot from the user's question to the final answer?

    Asked once · last asked Jul 27 · Concept · Mid-level

    Other ways it was asked
    • “Can you explain what exactly happens in a RAG workflow?”
    • “Can you walk me through the technical steps of a RAG workflow for a chatbot, starting from when a user types a question?”
  5. What's retrieval augmented generation?

    Asked once · last asked Aug 5 · Concept · Junior

  6. Could you explain what RAG is, why we use it, and what FAISS and Pinecone are?

    Asked once · last asked Aug 13 · Concept · Junior

  7. Why might an LLM feature not require RAG, and what alternatives could you use?

    Asked once · last asked Sep 2 · Concept · Senior

  8. What are the main stages of a RAG pipeline, and which stage is typically the most challenging?

    Asked once · last asked Sep 4 · Concept · Senior

  9. Why not send all 10,000 documents to the LLM with every question?

    Asked once · last asked Sep 5 · Concept · Mid-level

  10. For an LLM answering questions about frequently changing internal policies, would you fine-tune it or use another approach?

    Asked once · last asked Sep 27 · Scenario · Senior

  11. When building an enterprise AI feature, what key factors help you decide between using advanced RAG and fine-tuning?

    Asked once · last asked Oct 20 · Design · Senior

  12. Can the LLM step be skipped in a retrieval-augmented generation (RAG) workflow?

    Asked once · last asked Sep 22 · Concept · Mid-level

Show 2 more
  1. In an LLM application, what do tokens refer to when dividing content into chunks?

    Asked once · last asked Sep 22 · Concept · Mid-level

  2. Why would you choose RAG rather than fine-tuning for frequently changing internal policies?

    Asked once · last asked Sep 27 · Concept · Senior

    Other ways it was asked
    • “What are additional reasons to use RAG rather than fine-tuning for frequently changing internal policies?”

RAG document ingestion and chunking interview questions

Document questions cover loading, PDF extraction, chunk boundaries, metadata, content such as text and images, and adding new or changed documents. 24 questions.

  1. What is chunking, and how is it related to the context window?

    Asked once · last asked Feb 5 · Concept · Junior

  2. How would you preserve context when splitting a conversation or document into chunks?

    Asked once · last asked Feb 5 · Scenario · Mid-level

  3. What tools, libraries, or frameworks can you use to ingest PDF documents into a RAG system?

    Asked once · last asked Mar 16 · Tooling · Mid-level

  4. If I gave you a PDF and asked you to extract its information and put it into a vector database, what techniques would you use?

    Asked once · last asked Apr 20 · Scenario · Mid-level

  5. When adding data to a vector database, long documents need to be split into chunks. How do you preserve their semantic meaning while chunking?

    Asked once · last asked Apr 28 · Scenario · Mid-level

  6. What types of information would you include in a retrieval index for an AI assistant?

    Asked once · last asked May 13 · Design · Mid-level

  7. How should an AI ingestion pipeline handle document changes: full reindexing or incremental updates?

    Asked once · last asked May 13 · Design · Senior

  8. How would you automatically make a newly uploaded job description available to an AI agent?

    Asked once · last asked Jun 9 · Design · Senior

  9. How would you process PDF, DOCX, and Excel files for a RAG system, and would you chunk each format?

    Asked once · last asked Jun 12 · Scenario · Mid-level

    Other ways it was asked
    • “How would you chunk Excel files for use in a RAG system?”
  10. How would you chunk PDF files for use in a RAG system?

    Asked once · last asked Jun 12 · Scenario · Mid-level

  11. How would you handle tables, images, and other non-text formats in a RAG system?

    Asked once · last asked Jul 16 · Scenario · Mid-level

  12. Can you tell me about different chunking techniques, such as paragraph chunking or fixed-length text chunking?

    Asked once · last asked Jul 11 · Concept · Mid-level

Show 10 more
  1. In what scenarios would you use paragraph-based versus fixed-length text chunking, which tends to work better, and what techniques can you use for information extraction?

    Asked once · last asked Jul 11 · Scenario · Mid-level

  2. How would you extract information from PDFs and structure the extraction pipeline so an AI model can consume it?

    Asked once · last asked Jul 17 · Design · Mid-level

  3. In a PDF with inline images, would you keep the image data at the same point in the document or reference it elsewhere, and how would that affect accuracy and latency?

    Asked once · last asked Jul 17 · Design · Senior

  4. If a user asks about a chart or image later in a RAG system, how would you make sure they can retrieve the correct chunk instead of losing the association?

    Asked once · last asked Jul 17 · Design · Senior

  5. How would you design an ingestion pipeline that syncs product data into a vector database for concurrent uploads?

    Asked once · last asked Jul 20 · Design · Senior

  6. How would you map vector search results back to specific page numbers in the original PDFs, and what chunking strategy would you use to ensure accurate citation boundaries?

    Asked once · last asked Aug 2 · Scenario · Mid-level

    Other ways it was asked
    • “How did you map vector search results back to specific page numbers in the original PDFs, and what chunking strategy did you use to ensure accurate citation boundaries?”
  7. What is metadata in a RAG system, and what are two ways it can improve retrieval?

    Asked once · last asked Oct 21 · Concept · Mid-level

    Other ways it was asked
    • “What is metadata in a RAG system, and give two ways it can improve retrieval?”
  8. What is a text splitter?

    Asked once · last asked Nov 20 · Concept · Junior

  9. What is a document loader?

    Asked once · last asked Nov 20 · Concept · Junior

  10. What are the text segments created when splitting documents for a RAG system called?

    Asked once · last asked Oct 18 · Concept · Junior

Embeddings and semantic similarity interview questions

These questions ask what embeddings represent, how to choose and generate them, and how to calculate similarity. 30 questions.

  1. How would semantic search find results for a word such as “good” in vector space?

    Asked once · last asked Aug 19 · Concept · Mid-level

    Other ways it was asked
    • “How does semantic search find results for a word such as “good” in vector space?”
  2. Can semantic search be performed without embeddings?

    Asked once · last asked Aug 19 · Concept · Mid-level

    Other ways it was asked
    • “What approach would you use to implement semantic search without embeddings?”
  3. Which library would you use to calculate cosine similarity and match items?

    Asked once · last asked Aug 19 · Tooling · Mid-level

  4. How would you optimize embedding generation, and would batching improve throughput?

    Asked once · last asked Jun 12 · Scenario · Senior

  5. How can a multimodal RAG system represent text and images in a common format so both can be searched?

    Asked once · last asked Jul 16 · Scenario · Senior

  6. How can the simplifying assumptions of the vector-space model be addressed, particularly with the generalized vector-space model?

    Asked once · last asked Aug 3 · Concept · Senior

  7. Will an embedding model always produce the same embedding for the word “good”?

    Asked once · last asked Aug 19 · Concept · Mid-level

  8. How would you implement a cosine similarity function using NumPy?

    Asked once · last asked Aug 19 · Write code · Mid-level

  9. Which libraries would you use to generate and work with embeddings?

    Asked once · last asked Aug 19 · Tooling · Mid-level

  10. What tools or libraries can be used to compare face embeddings?

    Asked once · last asked Sep 7 · Tooling · Mid-level

  11. What determines the values in an embedding vector?

    Asked once · last asked Sep 9 · Concept · Mid-level

  12. What process converts text into a numerical vector for semantic search?

    Asked once · last asked Sep 15 · Concept · Junior

Show 13 more
  1. How can cosine similarity be used to search for text such as “hello world” when it operates on numeric vectors?

    Asked once · last asked Sep 15 · Concept · Mid-level

    Other ways it was asked
    • “How can cosine similarity be used to search for text such as “my name is Nikhil” when it operates on numeric vectors?”
  2. How would you choose an embedding model and determine the dimensionality and other key parameters for a vector index?

    Asked once · last asked Sep 23 · Scenario · Senior

    Other ways it was asked
    • “What embedding model did you choose, and how did you decide on the dimensionality or other key parameters for your vector index?”
  3. How do embedding model size and parameter count affect embedding quality and computational cost?

    Asked once · last asked Oct 20 · Concept · Mid-level

  4. How is text converted into vectors for a RAG system, and how do the embedding model and vector storage system differ?

    Asked once · last asked Oct 22 · Concept · Senior

    Other ways it was asked
    • “How is text converted into vectors for a RAG system, and when might you use different models for embedding and storage?”
  5. What is a vector in AI?

    Asked once · last asked Aug 19 · Concept · Junior

    Other ways it was asked
    • “What are vectors used for in AI?”
  6. Why do we vectorize text into numerical representations?

    Asked once · last asked Feb 5 · Concept · Junior

  7. Which sentence similarity models do you know?

    Asked once · last asked Mar 14 · Concept · Mid-level

  8. What are tokenization and embeddings?

    Asked once · last asked Apr 28 · Concept · Mid-level

  9. How do embeddings help represent information in numerical form?

    Asked once · last asked Jun 10 · Concept · Junior

  10. What properties of embeddings make them useful for representing semantic similarity?

    Asked once · last asked Jun 12 · Concept · Mid-level

  11. What is similarity search?

    Asked once · last asked Jun 12 · Concept · Junior

  12. What is an embedding?

    Asked once · last asked Aug 7 · Concept · Junior

    Other ways it was asked
    • “What is embedding?”
  13. What does the embedding model do?

    Asked once · last asked Sep 15 · Concept · Junior

Vector database interview questions

Vector database questions compare stores, libraries, indexing methods, database integrations, and alternatives to dedicated vector databases. 24 questions.

  1. How does semantic search with FAISS differ from traditional search methods when handling large volumes of data?

    Asked once · last asked Jul 1 · Concept · Mid-level

    Other ways it was asked
    • “How can semantic search with FAISS improve retrieval accuracy or efficiency compared with traditional search methods?”
  2. What data would you store in the vector database for a ticket-handling agent?

    Asked once · last asked Aug 7 · Design · Mid-level

    Other ways it was asked
    • “What data would you store in a conventional database for a ticket-handling agent?”
  3. What factors would you consider when choosing a vector database?

    Asked once · last asked Feb 23 · Concept · Mid-level

  4. When would you use ChromaDB or another vector store, and why?

    Asked once · last asked Apr 29 · Concept · Mid-level

  5. When integrating a vector store into a RAG system, when would you use its SDK versus build the integration with lower-level tools?

    Asked once · last asked May 13 · Scenario · Mid-level

  6. What is your opinion on Vectorize versus Durable Objects, and when should a company use each?

    Asked once · last asked Jul 24 · Concept · Senior

  7. What is ChromaDB, and how can it be used in an AI project?

    Asked once · last asked Jul 29 · Concept · Junior

  8. What is the difference between Pinecone and ChromaDB?

    Asked once · last asked Jul 29 · Concept · Mid-level

  9. What is an open-source database, and why does open-source availability matter for a vector database such as ChromaDB?

    Asked once · last asked Jul 29 · Concept · Mid-level

  10. How would you optimize pgvector-based retrieval with HNSW indexing for search performance and efficiency?

    Asked once · last asked Jul 30 · Scenario · Senior

  11. What key benefits and trade-offs would lead you to choose HNSW indexing over other indexing options?

    Asked once · last asked Jul 30 · Concept · Mid-level

    Other ways it was asked
    • “When selecting HNSW indexing over other options, what key benefits or considerations made it the right choice for your project?”
  12. If you had to decide between continuing to optimize vector-based semantic search and improving traditional relational database features for your application, what factors would guide your decision?

    Asked once · last asked Jul 30 · Scenario · Senior

Show 9 more
  1. How do we store embeddings, and where do we store them?

    Asked once · last asked Aug 7 · Concept · Junior

  2. What is the difference between a vector database and a relational database?

    Asked once · last asked Aug 7 · Concept · Junior

  3. When building a system that answers student questions, would you use a vector database, and why?

    Asked once · last asked Sep 9 · Design · Mid-level

  4. How would you evaluate a vector database and integrate it into an application workflow?

    Asked once · last asked Sep 23 · Behavioral · Mid-level

    Other ways it was asked
    • “Can you describe a time when you evaluated a vector database and integrated it into an application workflow?”
  5. What are knowledge graphs, vector databases, and RAG, and when would you use each?

    Asked once · last asked Sep 29 · Concept · Mid-level

  6. When would you use two vector databases instead of just one?

    Asked once · last asked Oct 9 · Design · Mid-level

    Other ways it was asked
    • “Why did you use two vector databases instead of just one?”
  7. Why would you choose FAISS and sentence transformers for retrieval?

    Asked once · last asked Oct 22 · Design · Mid-level

    Other ways it was asked
    • “Why did you choose FAISS and sentence transformers for retrieval?”
  8. Where would you store vector embeddings for an AI application?

    Asked once · last asked Mar 19 · Concept · Mid-level

  9. Where would you store embeddings in a RAG system?

    Asked once · last asked Jun 12 · Design · Junior

RAG retrieval and reranking interview questions

Retrieval questions cover keyword and hybrid search, query rewriting, filtering, reranking, search across languages, and relationships that require multiple retrieval steps. 30 questions.

  1. How do you choose between hybrid search and embedding-based search in a RAG system?

    Asked once · last asked Mar 16 · Concept · Senior

    Other ways it was asked
    • “How would you combine BM25 lexical search with embedding-based search in a RAG system?”
  2. What is BM25, and when would you use it for lexical search?

    Asked once · last asked Mar 16 · Concept · Mid-level

  3. What is the practical difference between BM25 and embeddings?

    Asked once · last asked Mar 16 · Concept · Mid-level

  4. How do you choose a RAG retrieval strategy, and what trade-offs guide your choice?

    Asked once · last asked Apr 20 · Concept · Senior

  5. How would you ensure an AI assistant retrieves the correct procedures when different sites have different operating processes?

    Asked once · last asked May 13 · Scenario · Senior

  6. If job descriptions change by position, how would you train the agent to match each resume to the correct job description at runtime?

    Asked once · last asked Jun 9 · Design · Senior

  7. How would you leverage vector embeddings to address cross-lingual semantic search in a multilingual search platform, and what challenges might you encounter during implementation?

    Asked once · last asked Jul 16 · Design · Senior

  8. What retrieval methods would you use to fetch relevant chunks from a vector database?

    Asked once · last asked Jul 16 · Concept · Mid-level

    Other ways it was asked
    • “What retrieval methods have you used to fetch the right chunks from a vector database during development?”
  9. How would you retrieve past tickets relevant to a new ticket's description?

    Asked once · last asked Aug 7 · Design · Senior

    Other ways it was asked
    • “How would you retrieve relevant information from an AI agent's memory of past tickets?”
    • “How would you find past tickets that are relevant to a new ticket's description?”
  10. For a chatbot that answers questions using a PDF knowledge base, how would you find the most relevant PDF for a user's question?

    Asked once · last asked Aug 7 · Scenario · Junior

  11. How would you provide an LLM with information about relationships within a large dataset without overwhelming its context window?

    Asked once · last asked Aug 7 · Design · Senior

    Other ways it was asked
    • “How would you give an LLM the interconnectedness of a large dataset without overwhelming it?”
  12. How would you design retrieval for unstructured data with multi-hop relationships (A → B → C → D → Z) to target about 90% accuracy?

    Asked once · last asked Aug 20 · Scenario · Senior

Show 15 more
  1. What is reranking in a RAG system, and what is vector ranking?

    Asked once · last asked Aug 22 · Concept · Mid-level

  2. How do you optimize your chunking strategy, embedding generation, or vector retrieval?

    Asked once · last asked Aug 25 · Scenario · Senior

  3. How does a RAG pipeline use indexed metadata to retrieve relevant content and generate a response?

    Asked once · last asked Sep 5 · Concept · Senior

  4. How would you combine BM25 with k-nearest-neighbor vector search for semantic video search?

    Asked once · last asked Sep 7 · Concept · Senior

  5. How would you decide whether each user query should trigger retrieval in a RAG chatbot?

    Asked once · last asked Sep 10 · Design · Senior

  6. How would you retrieve related information from multiple documents to answer a single query in a RAG system?

    Asked once · last asked Sep 10 · Design · Senior

  7. How would you improve retrieval when a system returns text that is lexically similar but semantically irrelevant?

    Asked once · last asked Sep 18 · Scenario · Senior

  8. How can retrieval filtering or confidence thresholding improve retrieval from external data sources?

    Asked once · last asked Sep 22 · Concept · Senior

  9. How would you rerank or refine the top results returned by Pinecone before passing them to an LLM, considering scoring adjustments, filtering, hybrid search, or LLM-based reranking?

    Asked once · last asked Sep 23 · Scenario · Senior

    Other ways it was asked
    • “How did you handle re-ranking or refining the top results returned by Pinecone before passing them to the LLM? Did you use scoring adjustments, filtering, hybrid search, or LLM-based reranking?”
  10. How does Azure implement hybrid search that combines vector search with BM25?

    Asked once · last asked Oct 2 · Concept · Senior

  11. How are relevance scores calculated in a RAG search system, and what is a vector database?

    Asked once · last asked Oct 22 · Concept · Senior

  12. What is metasearch?

    Asked once · last asked Apr 27 · Concept · Junior

  13. What is re-ranking, and how is it used in information retrieval?

    Asked once · last asked Sep 28 · Concept · Junior

  14. What is BM25?

    Asked once · last asked Oct 20 · Concept · Junior

  15. What similarity measure can be used between a query and documents in the probabilistic model?

    Asked once · last asked Jul 31 · Concept · Junior

RAG grounding and hallucination interview questions

Grounding questions focus on context assembly, conversation memory, citations, unsupported questions, and keeping answers tied to evidence. 13 questions.

  1. How does RAG help reduce hallucinations?

    Asked in 2 of 147 interviews · last asked Jun 10 · Concept · Mid-level

    Other ways it was asked
    • “How can AI hallucinations be reduced, and why might you use RAG to address them?”
  2. How would a multi-turn chatbot retrieve relevant information from earlier conversations using embeddings?

    Asked in 2 of 147 interviews · last asked Sep 18 · Design · Senior

    Other ways it was asked
    • “How would a multi-turn chatbot decide which medium-term memory to retrieve?”
    • “How would you use embeddings and RAG in production to find relevant older messages in a chat history?”
  3. How do you assemble and manage the context included in a document assistant's prompts?

    Asked in 2 of 147 interviews · last asked Aug 22 · Design · Mid-level

    Other ways it was asked
    • “How would you handle context in a document question-answering system?”
    • “How is context assembled for the assistant prompts? What information is included, where does it come from, and who decides what gets included?”
  4. How would you prevent an AI sales agent from hallucinating when a customer asks about a product that does not exist?

    Asked once · last asked Jul 16 · Scenario · Mid-level

  5. When you integrate the Gemini API for AI-based features, how do you ensure that the data remains grounded and reliable throughout deployment?

    Asked once · last asked Jul 1 · Scenario · Mid-level

  6. If a chatbot uses a knowledge base and you change temperature from 0.2 to 1.0, how will that affect its responses?

    Asked once · last asked Jul 16 · Scenario · Mid-level

  7. Why are citations important in a RAG workflow, and what happens without them?

    Asked once · last asked Jul 27 · Concept · Mid-level

  8. How would you prevent hallucinations in an AI agent and keep its responses grounded in evidence?

    Asked once · last asked Sep 25 · Design · Senior

  9. How do AI systems implement context recall?

    Asked once · last asked Oct 1 · Concept · Senior

  10. What are the trade-offs of restricting an AI system's answers to retrieved data, and what alternative approaches might you consider?

    Asked once · last asked Oct 23 · Concept · Senior

  11. How might you limit the context supplied to an LLM in a RAG application based on its use case?

    Asked once · last asked Apr 24 · Scenario · Mid-level

  12. What does grounding mean in an LLM application?

    Asked once · last asked Aug 13 · Concept · Junior

Show 1 more
  1. What happens when the answer is not present in the uploaded documents?

    Asked once · last asked Oct 22 · Scenario · Mid-level

RAG evaluation and debugging interview questions

Evaluation questions cover test datasets, retrieval and answer metrics, regression tests, and finding the source of incorrect results. 31 questions.

  1. What is Precision@k, how is it calculated, and what counts as a relevant result?

    Asked in 2 of 147 interviews · last asked Jul 20 · Concept · Mid-level

    Other ways it was asked
    • “What is Precision@k, and how is it used to evaluate a RAG system?”
    • “In retrieval evaluation with top-10 results, how do you calculate precision, and what counts as a true positive?”
  2. How would you test whether a change to chunking improves retrieval and answer quality?

    Asked in 2 of 147 interviews · last asked Oct 22 · Scenario · Mid-level

    Other ways it was asked
    • “How would you test a chatbot's data-chunking strategy to ensure it does not degrade answer quality?”
    • “How would you determine whether the new chunk-size configuration is actually better?”
  3. What would you do if a RAG system retrieves the right document but the LLM still generates an incorrect answer?

    Asked in 2 of 147 interviews · last asked Sep 30 · Scenario · Senior

    Other ways it was asked
    • “What would you do if a RAG system retrieved the wrong document?”
  4. How would you diagnose whether incorrect RAG answers come from retrieval, chunking, prompts, or the language model?

    Asked in 2 of 147 interviews · last asked Oct 22 · Scenario · Senior

    Other ways it was asked
    • “How would you determine whether poor RAG results come from retrieval or generation?”
    • “If an enterprise RAG system answers confidently but incorrectly even though the information is present in the document, how would you investigate the problem?”
    • “How would you determine whether the problem comes from retrieval, chunk size, the prompt, or the language model?”
  5. How would you evaluate a hybrid BM25 and k-nearest-neighbor vector-search approach, and which metrics would you use?

    Asked once · last asked Sep 7 · Concept · Senior

    Other ways it was asked
    • “How would you test whether adding k-nearest-neighbor vector search to BM25 improves performance compared with a BM25 baseline?”
    • “How would you evaluate a hybrid BM25 and vector-search approach, and how would you choose the weights for each retrieval method?”
  6. How would you evaluate whether an LLM's answer to a question about a document, such as a loan eligibility decision, is correct?

    Asked once · last asked May 12 · Scenario · Senior

  7. Which retrieval metrics can help assess whether retrieved chunks are complete and relevant?

    Asked once · last asked May 13 · Concept · Mid-level

  8. How would you evaluate a model's accuracy and retrieval quality using metrics such as precision, recall, or mean average precision?

    Asked once · last asked Jun 12 · Scenario · Senior

  9. Which metrics would you use to measure reductions in hallucinations and improvements in retrieval accuracy?

    Asked once · last asked Jun 29 · Concept · Mid-level

  10. How does the Ragas framework work, particularly for measuring faithfulness?

    Asked once · last asked Jun 29 · Concept · Mid-level

  11. Which metrics do you use to evaluate retrieval performance, especially when the classes are imbalanced?

    Asked once · last asked Jul 16 · Concept · Senior

  12. Besides recall and precision, what classical retrieval metrics would you use to evaluate retrieved chunks?

    Asked once · last asked Jul 20 · Concept · Mid-level

    Other ways it was asked
    • “Besides recall and precision, what classical retrieval metrics did you use to evaluate retrieved chunks?”
Show 17 more
  1. How would you build an evaluation dataset for a RAG system that retrieves drug aliases?

    Asked once · last asked Jul 24 · Scenario · Senior

  2. How would you build an offline evaluation set and scoring rubric for a RAG question-answering feature that reliably detects regressions in groundedness and usefulness?

    Asked once · last asked Aug 24 · Design · Senior

  3. What metrics would you use to diagnose and improve a semantic video-search model and its architecture?

    Asked once · last asked Sep 7 · Concept · Senior

  4. How would you calculate precision and query accuracy for a search system?

    Asked once · last asked Sep 7 · Concept · Mid-level

  5. How would you evaluate the effectiveness of ranking videos using their content context rather than metadata alone?

    Asked once · last asked Sep 7 · Concept · Senior

  6. How would you establish the correct answers to use as ground truth when evaluating a RAG pipeline?

    Asked once · last asked Sep 10 · Scenario · Senior

  7. Your RAG system has 95% retrieval recall, but users still complain about incorrect answers. How would you investigate?

    Asked once · last asked Sep 27 · Scenario · Senior

  8. What are recall and mean reciprocal rank (MRR), and how are they used to evaluate retrieval?

    Asked once · last asked Oct 7 · Concept · Mid-level

  9. A RAG system performs well in development but starts giving poor answers in production after three months. What could have happened, and how would you investigate?

    Asked once · last asked Oct 7 · Scenario · Senior

  10. How would you evaluate the quality of answers produced by a RAG system?

    Asked once · last asked Oct 20 · Behavioral · Mid-level

    Other ways it was asked
    • “How did you evaluate the quality of answers produced by a RAG system?”
  11. How would you verify that cited passages actually support a RAG system's answer?

    Asked once · last asked Oct 22 · Scenario · Mid-level

    Other ways it was asked
    • “How do you ensure the particular cited page actually supports the answer?”
    • “How would you test whether the final answer is supported by citations?”
  12. How would you test questions that cannot be answered from the documents?

    Asked once · last asked Oct 22 · Scenario · Mid-level

  13. What does precision measure when evaluating a RAG pipeline?

    Asked once · last asked Sep 10 · Concept · Junior

    Other ways it was asked
    • “How do you calculate precision when evaluating a RAG pipeline?”
  14. What is a false positive in RAG evaluation?

    Asked once · last asked Sep 10 · Concept · Junior

    Other ways it was asked
    • “What is a false negative in RAG evaluation?”
  15. What are precision, recall, and R-precision?

    Asked once · last asked Aug 3 · Concept · Junior

  16. How can you verify RAG evaluation results against the source documents?

    Asked once · last asked Sep 10 · Scenario · Mid-level

  17. What deliverable would demonstrate that a RAG evaluation was successful?

    Asked once · last asked Oct 22 · Scenario · Mid-level

RAG system design and agent interview questions

Design questions cover end-to-end architectures, application scenarios, APIs, agent workflows, tool selection, and connections to structured data. 36 questions.

  1. A long-term care pharmacy software company has about 200 facilities using its software and handles around 400 support tickets a day, with 40% covering repeated questions. Its agents have trouble finding answers in the documentation. Can AI help, and how would you approach this?

    Asked in 2 of 147 interviews · last asked May 13 · Design · Junior

    Other ways it was asked
    • “How would you design an AI system to help a long-term-care pharmacy support team find answers in its documentation faster, serving about 200 facilities and handling 400 tickets a day, with roughly 40% repetitive tickets?”
  2. How do chatbot, RAG application, and AI agent architectures differ?

    Asked in 2 of 147 interviews · last asked Aug 13 · Concept · Mid-level

    Other ways it was asked
    • “What is the difference between a chatbot, a RAG application, and an AI agent?”
    • “What are the main differences between a RAG architecture and an AI agent architecture?”
  3. How would you build a PDF question-answering chatbot, from document upload to answers with citations?

    Asked in 2 of 147 interviews · last asked Oct 22 · Design · Mid-level

    Other ways it was asked
    • “If you had to design a ChatGPT-like system that reads PDF documents, what would your design approach be?”
    • “What happens internally in the system from the moment a user uploads a PDF document to receiving an answer with citations?”
  4. How would you design an AI system to determine whether a site unit is ready for site acceptance testing, identify blockers, and provide the right contact?

    Asked once · last asked Sep 29 · Design · Senior

    Other ways it was asked
    • “How would you design an AI system to assess a site unit's readiness for site acceptance testing?”
    • “How would you design a real-time AI system to determine whether a site unit is ready for site acceptance testing, identify blockers, and provide the right contact?”
    • “How would you build an AI system for a field engineer to check whether a site unit is ready for site acceptance testing?”
  5. What is the difference between agentic RAG and custom RAG, and when would you use each approach?

    Asked once · last asked Jul 23 · Concept · Senior

    Other ways it was asked
    • “How does custom RAG differ from agentic RAG?”
    • “What factors determine whether to use custom RAG or agentic RAG?”
  6. How would you build an assistant that provides accurate, up-to-date, cited, access-controlled answers from multiple data sources?

    Asked once · last asked Sep 29 · Design · Senior

    Other ways it was asked
    • “How would you build an assistant that provides accurate, up-to-date, cited, access-controlled answers across more than 100 tools and data sources?”
  7. How would you handle an agent that uses both static company-policy information and dynamic patient or insurance data, and where would fine-tuning fit?

    Asked once · last asked Feb 5 · Design · Senior

  8. How would you build a RAG system to answer customer queries using both PDF documents and data from a database? Walk me through the steps and components.

    Asked once · last asked Feb 5 · Design · Senior

  9. What role can a RAG pipeline play in a voice-based AI platform, and why might you use one?

    Asked once · last asked Mar 12 · Design · Senior

  10. How would you design a document-processing workflow that extracts and embeds a user's document, then determines eligibility based on its contents?

    Asked once · last asked May 12 · Design · Mid-level

  11. How would a resume-screening agent use RAG to match resumes with job descriptions?

    Asked once · last asked Jun 9 · Design · Senior

    Other ways it was asked
    • “How does a resume-screening agent use the RAG architecture?”
    • “How can an AI agent use documents or online sources containing job descriptions to match resumes to roles?”
  12. How would you design a RAG system to answer questions about a company's historical revenue and profit?

    Asked once · last asked Jun 12 · Scenario · Mid-level

Show 23 more
  1. In a scenario with 10,000+ tools, how would you handle tool selection when you cannot list all tool descriptions in the prompt?

    Asked once · last asked Jul 17 · Design · Senior

  2. How do agentic AI, multi-agent systems, and RAG architectures work, and when would you use them?

    Asked once · last asked Jul 25 · Concept · Senior

  3. Why might you choose FastAPI to build a service for a RAG pipeline?

    Asked once · last asked Jul 29 · Tooling · Mid-level

  4. What REST API endpoints would you design for a RAG pipeline?

    Asked once · last asked Jul 29 · Design · Mid-level

  5. How are prompt engineering, RAG, spec-driven development, and agent orchestration used in AI applications?

    Asked once · last asked Aug 5 · Concept · Mid-level

  6. How would you design a RAG chatbot that handles both structured data and unstructured data with hierarchical entity relationships?

    Asked once · last asked Aug 20 · Design · Senior

  7. How would you design a RAG system end to end, reduce hallucinations, and evaluate its performance?

    Asked once · last asked Aug 22 · Design · Senior

  8. How would you design matching logic to match tenders with a company's knowledge base?

    Asked once · last asked Aug 27 · Design · Mid-level

  9. How would you build a PDF-to-chat application, from processing multiple PDFs through storing the data and generating chat responses?

    Asked once · last asked Sep 4 · Design · Senior

  10. How would you build a chatbot that answers questions using 10,000 documents?

    Asked once · last asked Sep 5 · Design · Senior

  11. How would you design a chatbot that uses RAG and can also trigger other actions?

    Asked once · last asked Sep 10 · Design · Senior

  12. How would you design an end-to-end semantic search system, from user query to ranked results, and measure its improvement?

    Asked once · last asked Sep 16 · Design · Senior

  13. How would you design a RAG architecture for a fintech company using Vertex AI and Vector Search on GCP?

    Asked once · last asked Sep 22 · Design · Senior

  14. How can an agent determine whether its existing knowledge base contains an answer before performing a web search?

    Asked once · last asked Sep 22 · Scenario · Senior

  15. How would you design a RAG tool for code intelligence?

    Asked once · last asked Sep 22 · Design · Mid-level

  16. How would you design a RAG pipeline to answer questions about customer calls?

    Asked once · last asked Sep 22 · Design · Mid-level

  17. How would you architect a healthcare RAG system that ingests patient medical histories and recommends tests, medications, or supplements?

    Asked once · last asked Sep 24 · Design · Senior

  18. What technologies would you use to build RAG systems and agentic workflows?

    Asked once · last asked Oct 5 · Concept · Senior

  19. How would you design a RAG pipeline end to end, including chunking, metadata handling, and retrieval?

    Asked once · last asked Oct 9 · Design · Senior

  20. How would you design a RAG system for an AI assistant? Explain its architecture and what you would implement in code versus delegate to the LLM.

    Asked once · last asked Oct 18 · Design · Senior

  21. Design a document Q&A system for an enterprise with over one million documents (RAG).

    Asked once · last asked Oct 21 · Design · Senior

  22. What do you know about RAG agents and Gemini?

    Asked once · last asked Jul 16 · Concept · Mid-level

  23. How long would it take to build a proof of concept for a chat application with a simple RAG pipeline?

    Asked once · last asked Jul 23 · Scenario · Mid-level

Production RAG scaling and security interview questions

Production questions cover speed, capacity, monitoring, data freshness, keeping tenants' data separate, access controls, and trust boundaries. 19 questions.

  1. How would you implement a chatbot if the RAG pipeline takes a long time to respond?

    Asked once · last asked Sep 10 · Scenario · Senior

    Other ways it was asked
    • “How would you implement asynchronous processing for a chatbot with a slow RAG pipeline beyond simply using an async function or queue?”
    • “How should a chatbot determine when to trigger a RAG pipeline?”
  2. How do you monitor a RAG system in production over time, and what do you do if you find issues?

    Asked once · last asked Oct 14 · Scenario · Senior

    Other ways it was asked
    • “How do you monitor a RAG system in production, identify issues, and address them?”
  3. When you're working with AI integrations like external AI APIs or a vector database for retrieval, how do you usually assess the security risks in those parts of the system?

    Asked once · last asked Apr 6 · Scenario · Senior

  4. If a customer needs a RAG system for about 1,000–2,000 users, with 100 concurrent users, how would you determine the LLM's tokens-per-minute configuration?

    Asked once · last asked Apr 24 · Scenario · Senior

  5. How would you update an AI system when a site's shutdown procedures change?

    Asked once · last asked May 13 · Scenario · Senior

  6. How would you estimate the load on a RAG system serving 185 universities?

    Asked once · last asked May 13 · Design · Mid-level

  7. What scaling challenges can arise when deploying a RAG system across 185 universities?

    Asked once · last asked May 13 · Design · Mid-level

  8. Given a system serving over 1,000 customers and more than 1 billion vectors, how would you scale and optimize the document-processing and embedding pipeline?

    Asked once · last asked Jun 12 · Design · Senior

  9. How would you limit calls to RAG logic when you detect anomalies?

    Asked once · last asked Jul 23 · Scenario · Senior

  10. How would you integrate shared company knowledge into an internal AI assistant, keep it up to date, and assign responsibility for its accuracy?

    Asked once · last asked Aug 22 · Design · Senior

  11. How would you optimize vector search in Amazon OpenSearch to handle about 10 million queries per day without compromising performance?

    Asked once · last asked Sep 4 · Design · Senior

  12. Why can document length affect latency in a RAG pipeline if it retrieves chunks rather than entire documents?

    Asked once · last asked Sep 10 · Concept · Senior

Show 7 more
  1. Can you describe where you would focus your review in a customer-facing RAG assistant that pulls from an internal document store and calls downstream APIs, what the trust boundaries are, and what controls you would expect on those boundaries?

    Asked once · last asked Sep 10 · Scenario · Senior

  2. How would you design a system to handle a very large database of files and store their data in a vector database?

    Asked once · last asked Sep 13 · Design · Mid-level

  3. How would you design a production RAG pipeline for 5,000,000 enterprise documents?

    Asked once · last asked Sep 27 · Design · Senior

  4. How would you improve a real-time RAG pipeline for AI agents?

    Asked once · last asked Oct 7 · Design · Senior

  5. How do you design data access in vector databases to ensure multitenant security in production?

    Asked once · last asked Oct 20 · Design · Senior

  6. How do you isolate user data in a multi-tenant LLM system? Compare per-tenant collection vs metadata filtering.

    Asked once · last asked Oct 21 · Design · Senior

  7. How would you measure response latency in a RAG pipeline?

    Asked once · last asked Sep 10 · Concept · Mid-level

How this list is made

Every question here was asked by a real interviewer in a real job interview that a candidate ran MeetAssist in. After the call, the interviewer's questions are pulled from the transcript. Practice sessions, tests, exams and anything that was not a job interview are dropped.

Questions are rewritten so they make sense on their own: names of people, employers and clients are removed, and speech-to-text mistakes are fixed. Small talk, logistics and questions about one candidate's own résumé are left out. Rephrasings of the same question are merged, and the count is the number of different interviews it came up in.

The interviews come from candidates who use MeetAssist, so they lean towards software, data and AI roles: the shares describe these interviews, not every RAG interview. Answers to the most asked questions are written and checked by an editor; a "common mistake" is shown only when reviews of real answers in these interviews show it, with the count.

147 interviews, 98 candidates, Nov 2025 to Oct 2026. Updated every month with new interviews.