GenAI Ops · RAG & Prompting interview questions

30 GenAI Ops · RAG & Prompting questions from the MLOps & Integration bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.

Free to start: the 2-minute IT readiness check — six questions and a result.

Take the free IT readiness check

or take a mock interview set up for this area

1. What is RAG?

Junior
  1. A.input/output filters that block unsafe, off-topic or policy-violating LLM content
  2. B.a parameterized prompt with slots for context and user input, versioned like code
  3. C.Retrieval-Augmented Generation: grounding an LLM's answer in documents fetched from a knowledge base at query time
  4. D.fetching the k most similar chunks to the query to place in the prompt context

Answer + AI explanation with Pro

2. Which term means: "Retrieval-Augmented Generation: grounding an LLM's answer in documents fetched from a knowledge base at query time"?

Junior
  1. A.RAG
  2. B.Hallucination
  3. C.Top-k retrieval
  4. D.Guardrails

Answer + AI explanation with Pro

3. Which statement is correct?

Junior
  1. A.RAG — a second-stage model that reorders retrieved candidates by relevance before they enter the prompt
  2. B.RAG — Retrieval-Augmented Generation: grounding an LLM's answer in documents fetched from a knowledge base at query time
  3. C.RAG — fetching the k most similar chunks to the query to place in the prompt context
  4. D.RAG — a parameterized prompt with slots for context and user input, versioned like code

Answer + AI explanation with Pro

4. What is Embedding?

Junior
  1. A.a dense numeric vector representing text so that semantic similarity becomes vector distance
  2. B.fetching the k most similar chunks to the query to place in the prompt context
  3. C.Retrieval-Augmented Generation: grounding an LLM's answer in documents fetched from a knowledge base at query time
  4. D.an LLM producing fluent but factually wrong or unsupported output, which grounding aims to reduce

Answer + AI explanation with Pro

5. Which term means: "a dense numeric vector representing text so that semantic similarity becomes vector distance"?

Junior
  1. A.Embedding
  2. B.Prompt template
  3. C.System prompt
  4. D.Vector database

Answer + AI explanation with Pro

6. Which statement is correct?

Junior
  1. A.Embedding — splitting source documents into passages sized for embedding and retrieval
  2. B.Embedding — fetching the k most similar chunks to the query to place in the prompt context
  3. C.Embedding — a dense numeric vector representing text so that semantic similarity becomes vector distance
  4. D.Embedding — input/output filters that block unsafe, off-topic or policy-violating LLM content

Answer + AI explanation with Pro

7. What is Vector database?

Junior
  1. A.a second-stage model that reorders retrieved candidates by relevance before they enter the prompt
  2. B.the leading instruction that sets an LLM's role, constraints and tone for a session
  3. C.input/output filters that block unsafe, off-topic or policy-violating LLM content
  4. D.a store that indexes embeddings for fast approximate nearest-neighbor similarity search

Answer + AI explanation with Pro

8. Which term means: "a store that indexes embeddings for fast approximate nearest-neighbor similarity search"?

Junior
  1. A.Top-k retrieval
  2. B.Vector database
  3. C.Prompt template
  4. D.Guardrails

Answer + AI explanation with Pro

9. Which statement is correct?

Junior
  1. A.Vector database — the leading instruction that sets an LLM's role, constraints and tone for a session
  2. B.Vector database — a second-stage model that reorders retrieved candidates by relevance before they enter the prompt
  3. C.Vector database — a store that indexes embeddings for fast approximate nearest-neighbor similarity search
  4. D.Vector database — fetching the k most similar chunks to the query to place in the prompt context

Answer + AI explanation with Pro

10. What is Chunking?

Mid
  1. A.a parameterized prompt with slots for context and user input, versioned like code
  2. B.Retrieval-Augmented Generation: grounding an LLM's answer in documents fetched from a knowledge base at query time
  3. C.fetching the k most similar chunks to the query to place in the prompt context
  4. D.splitting source documents into passages sized for embedding and retrieval

Answer + AI explanation with Pro

11. Which term means: "splitting source documents into passages sized for embedding and retrieval"?

Mid
  1. A.Hallucination
  2. B.Guardrails
  3. C.System prompt
  4. D.Chunking

Answer + AI explanation with Pro

12. Which statement is correct?

Mid
  1. A.Chunking — a dense numeric vector representing text so that semantic similarity becomes vector distance
  2. B.Chunking — splitting source documents into passages sized for embedding and retrieval
  3. C.Chunking — a second-stage model that reorders retrieved candidates by relevance before they enter the prompt
  4. D.Chunking — the leading instruction that sets an LLM's role, constraints and tone for a session

Answer + AI explanation with Pro

13. What is Top-k retrieval?

Mid
  1. A.fetching the k most similar chunks to the query to place in the prompt context
  2. B.a dense numeric vector representing text so that semantic similarity becomes vector distance
  3. C.a second-stage model that reorders retrieved candidates by relevance before they enter the prompt
  4. D.input/output filters that block unsafe, off-topic or policy-violating LLM content

Answer + AI explanation with Pro

14. Which term means: "fetching the k most similar chunks to the query to place in the prompt context"?

Mid
  1. A.Top-k retrieval
  2. B.Reranking
  3. C.Prompt template
  4. D.Chunking

Answer + AI explanation with Pro

15. Which statement is correct?

Mid
  1. A.Top-k retrieval — input/output filters that block unsafe, off-topic or policy-violating LLM content
  2. B.Top-k retrieval — an LLM producing fluent but factually wrong or unsupported output, which grounding aims to reduce
  3. C.Top-k retrieval — fetching the k most similar chunks to the query to place in the prompt context
  4. D.Top-k retrieval — the leading instruction that sets an LLM's role, constraints and tone for a session

Answer + AI explanation with Pro

16. What is Prompt template?

Mid
  1. A.an LLM producing fluent but factually wrong or unsupported output, which grounding aims to reduce
  2. B.a second-stage model that reorders retrieved candidates by relevance before they enter the prompt
  3. C.a store that indexes embeddings for fast approximate nearest-neighbor similarity search
  4. D.a parameterized prompt with slots for context and user input, versioned like code

Answer + AI explanation with Pro

17. Which term means: "a parameterized prompt with slots for context and user input, versioned like code"?

Mid
  1. A.Prompt template
  2. B.Reranking
  3. C.Vector database
  4. D.Embedding

Answer + AI explanation with Pro

18. Which statement is correct?

Mid
  1. A.Prompt template — fetching the k most similar chunks to the query to place in the prompt context
  2. B.Prompt template — input/output filters that block unsafe, off-topic or policy-violating LLM content
  3. C.Prompt template — a parameterized prompt with slots for context and user input, versioned like code
  4. D.Prompt template — a second-stage model that reorders retrieved candidates by relevance before they enter the prompt

Answer + AI explanation with Pro

19. What is System prompt?

Mid
  1. A.a dense numeric vector representing text so that semantic similarity becomes vector distance
  2. B.a second-stage model that reorders retrieved candidates by relevance before they enter the prompt
  3. C.the leading instruction that sets an LLM's role, constraints and tone for a session
  4. D.a parameterized prompt with slots for context and user input, versioned like code

Answer + AI explanation with Pro

20. Which term means: "the leading instruction that sets an LLM's role, constraints and tone for a session"?

Mid
  1. A.Prompt template
  2. B.Hallucination
  3. C.System prompt
  4. D.Reranking

Answer + AI explanation with Pro

21. Which statement is correct?

Mid
  1. A.System prompt — the leading instruction that sets an LLM's role, constraints and tone for a session
  2. B.System prompt — an LLM producing fluent but factually wrong or unsupported output, which grounding aims to reduce
  3. C.System prompt — a store that indexes embeddings for fast approximate nearest-neighbor similarity search
  4. D.System prompt — fetching the k most similar chunks to the query to place in the prompt context

Answer + AI explanation with Pro

22. What is Hallucination?

Senior
  1. A.an LLM producing fluent but factually wrong or unsupported output, which grounding aims to reduce
  2. B.Retrieval-Augmented Generation: grounding an LLM's answer in documents fetched from a knowledge base at query time
  3. C.fetching the k most similar chunks to the query to place in the prompt context
  4. D.input/output filters that block unsafe, off-topic or policy-violating LLM content

Answer + AI explanation with Pro

23. Which term means: "an LLM producing fluent but factually wrong or unsupported output, which grounding aims to reduce"?

Senior
  1. A.Hallucination
  2. B.Top-k retrieval
  3. C.Embedding
  4. D.RAG

Answer + AI explanation with Pro

24. Which statement is correct?

Senior
  1. A.Hallucination — a store that indexes embeddings for fast approximate nearest-neighbor similarity search
  2. B.Hallucination — input/output filters that block unsafe, off-topic or policy-violating LLM content
  3. C.Hallucination — Retrieval-Augmented Generation: grounding an LLM's answer in documents fetched from a knowledge base at query time
  4. D.Hallucination — an LLM producing fluent but factually wrong or unsupported output, which grounding aims to reduce

Answer + AI explanation with Pro

25. What is Reranking?

Senior
  1. A.a second-stage model that reorders retrieved candidates by relevance before they enter the prompt
  2. B.Retrieval-Augmented Generation: grounding an LLM's answer in documents fetched from a knowledge base at query time
  3. C.an LLM producing fluent but factually wrong or unsupported output, which grounding aims to reduce
  4. D.fetching the k most similar chunks to the query to place in the prompt context

Answer + AI explanation with Pro

26. Which term means: "a second-stage model that reorders retrieved candidates by relevance before they enter the prompt"?

Senior
  1. A.Reranking
  2. B.Vector database
  3. C.Chunking
  4. D.Guardrails

Answer + AI explanation with Pro

27. Which statement is correct?

Senior
  1. A.Reranking — a store that indexes embeddings for fast approximate nearest-neighbor similarity search
  2. B.Reranking — a second-stage model that reorders retrieved candidates by relevance before they enter the prompt
  3. C.Reranking — a dense numeric vector representing text so that semantic similarity becomes vector distance
  4. D.Reranking — Retrieval-Augmented Generation: grounding an LLM's answer in documents fetched from a knowledge base at query time

Answer + AI explanation with Pro

28. What is Guardrails?

Senior
  1. A.input/output filters that block unsafe, off-topic or policy-violating LLM content
  2. B.Retrieval-Augmented Generation: grounding an LLM's answer in documents fetched from a knowledge base at query time
  3. C.a store that indexes embeddings for fast approximate nearest-neighbor similarity search
  4. D.a parameterized prompt with slots for context and user input, versioned like code

Answer + AI explanation with Pro

29. Which term means: "input/output filters that block unsafe, off-topic or policy-violating LLM content"?

Senior
  1. A.Reranking
  2. B.Hallucination
  3. C.Prompt template
  4. D.Guardrails

Answer + AI explanation with Pro

30. Which statement is correct?

Senior
  1. A.Guardrails — the leading instruction that sets an LLM's role, constraints and tone for a session
  2. B.Guardrails — a store that indexes embeddings for fast approximate nearest-neighbor similarity search
  3. C.Guardrails — splitting source documents into passages sized for embedding and retrieval
  4. D.Guardrails — input/output filters that block unsafe, off-topic or policy-violating LLM content

Answer + AI explanation with Pro

Free to start

Start with a free readiness check

Sign up free for the 2-minute IT readiness check and a scored result. Answers, explanations and the AI tutor on every GenAI Ops · RAG & Prompting question come with Pro.

Take the free IT readiness check

or take a mock interview set up for this area

24,000+ questions & coding problemsSoftware & IT16,274 questionsGovernment jobs26 examsAptitudenew questions every timeAI practice interviewwith feedback65 topics to practiseMechanical1,149 questionsGATE ME9 papersEngineering Mathematics381 questions2-minute checkfreeDSA Problems1,422Civil1,005 questionsGATE CE9 papersCS Fundamentals1,209 questionsYour scores6 skillsSystem Design25Electrical / EEE1,047 questionsGATE EE9 papersRun your codeC++ · Java · PythonLow-Level Design144Electronics & Comm.975 questionsGATE EC9 papersAI help on every questionFull-Stack6,282Chemical1,005 questionsGATE CH9 papersAI whiteboardsystem designWork abroadEurope · remote · transfersESE ME1 paperGATE practice papers2019–2026ESE CE1 paperDate alertsbefore the last dateESE EE1 paperBehavioural courseHR round practiceESE ET1 paperResume optimizerProSSC JE ME1 paperApplication trackerSSC JE CE1 paperCompany-wise prepSSC JE EE1 paperRole roadmapsRRB JE1 subjectPriced in ₹UPI · cardsISRO SC1 paperGATE CS9 papersIBPS SO IT1 paperUGC NET CS1 paperSSC CGL26 papersIBPS PO26 papersRRB NTPC26 papersSSC CHSL26 papersIBPS Clerk26 papersSBI Clerk26 papersRRB Group D26 papersSSC CPO26 papersSSC GD26 papers