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.

41 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
42 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
48 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
52 Moderate Safety GenAI / LLM

What is training-data leakage in LLM products?

Short take Full answer on next page

Simple meaning

The model may regurgitate copyrighted or private strings it saw in pretraining or fine-tuning.

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

Read full answer Example · Mistake · Say this
54 Moderate Cost GenAI / LLM

How do you reduce token cost in a production RAG app?

Short take Full answer on next page

Simple meaning

Tighten prompts, cap history, retrieve fewer better chunks, and cache embeddings and repeated prefixes.

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

Read full answer Example · Mistake · Say this
59 Moderate Context window GenAI / LLM

What is the lost-in-the-middle problem?

Short take Full answer on next page

Simple meaning

Models often use the start and end of a long prompt more than the middle.

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

Read full answer Example · Mistake · Say this
60 Moderate Context window GenAI / LLM

What are tradeoffs of very long-context models?

Short take Full answer on next page

Simple meaning

They reduce aggressive chunking and can attend over a whole report.

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

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