GenAI / LLM track

GenAI and LLM interview questions

Panel-ready GenAI / LLM questions for freshers and experienced developers. Practice at Coding Cadre in Faridabad, or Online from Delhi NCR.

223 Qs
21 Moderate RAG GenAI / LLM

What is query rewriting in RAG?

Short take

Simple meaning

Query rewriting uses an LLM or rules to expand, correct, or split the user question into better search strings.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
22 Moderate RAG GenAI / LLM

What is reranking after retrieval?

Short take

Simple meaning

A reranker scores the first-stage hits more carefully, often with a cross-encoder.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
23 Moderate RAG GenAI / LLM

What is HyDE and when would you use it?

Short take

Simple meaning

HyDE generates a hypothetical answer, embeds that, and searches with the hypothetical embedding.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
24 Moderate RAG GenAI / LLM

What is multi-query retrieval?

Short take

Simple meaning

You generate several paraphrased queries, retrieve for each, and merge unique chunks.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
25 Moderate RAG GenAI / LLM

When can RAG still hallucinate?

Short take

Simple meaning

Retrieval can miss the right chunk, return conflicting sources, or pack so much text that the model ignores the key sentence.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
35 Moderate Fine-tuning vs RAG GenAI / LLM

What is LoRA or PEFT?

Short take

Simple meaning

Parameter-efficient fine-tuning trains small adapter matrices instead of all weights.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
40 Moderate LangChain GenAI / LLM

What is LCEL or a runnable pipeline conceptually?

Short take

Simple meaning

LangChain Expression Language composes steps as runnable units with standard invoke, batch, and stream methods.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
Prev Page 2 of 4 Next
Chat with us