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
105 Moderate Fine-tuning vs RAG GenAI / LLM

What is LoRA or PEFT?

Short take Full answer on next page

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
106 Moderate Fine-tuning vs RAG GenAI / LLM

What is catastrophic forgetting in fine-tuning?

Short take Full answer on next page

Simple meaning

Further training on a narrow dataset can erase general skills the base model had.

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

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

What memory types appear in LangChain-style chat apps?

Short take Full answer on next page

Simple meaning

Buffer memory stores raw turns, summary memory compresses old history, and vector memory retrieves past facts by similarity.

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

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

What is LCEL or a runnable pipeline conceptually?

Short take Full answer on next page

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
111 Moderate Function calling GenAI / LLM

How does a tool-calling loop work end to end?

Short take Full answer on next page

Simple meaning

The model returns a function name and JSON arguments instead of a user-facing answer.

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

Read full answer Example · Mistake · Say this
112 Moderate Function calling GenAI / LLM

Why do you define JSON schemas for tools?

Short take Full answer on next page

Simple meaning

Schemas tell the model required fields, types, and enums so arguments are usable.

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

Read full answer Example · Mistake · Say this
118 Moderate Evals GenAI / LLM

How do you regression-test prompts?

Short take Full answer on next page

Simple meaning

Keep a labeled suite, run it on every prompt diff, and fail the build on score drops.

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

Read full answer Example · Mistake · Say this
119 Moderate Safety GenAI / LLM

How do prompt injection and jailbreaks differ?

Short take Full answer on next page

Simple meaning

Jailbreaks target the model's safety policy, usually in the user turn.

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

Read full answer Example · Mistake · Say this
Prev Page 6 of 12 Next
Chat with us