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
61 Easy Cost GenAI / LLM

What is prompt caching?

Short take

Simple meaning

Prompt caching reuses computation for a repeated prefix such as a long system prompt or static RAG header.

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

Read full answer Example · Mistake · Say this
62 Easy Context window GenAI / LLM

What is a context window?

Short take

Simple meaning

The context window is the maximum number of tokens the model can consider at once, including prompt and usually the completion.

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

Read full answer Example · Mistake · Say this
64 Easy Chunking GenAI / LLM

Why do we chunk documents for RAG?

Short take

Simple meaning

Embedding a whole book as one vector blurs topics and may exceed model limits.

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

Read full answer Example · Mistake · Say this
65 Easy Chunking GenAI / LLM

What is overlap in document chunking?

Short take

Simple meaning

Overlap copies a few tokens or sentences from the end of one chunk into the start of the next.

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

Read full answer Example · Mistake · Say this
66 Easy Hybrid search GenAI / LLM

What is hybrid search?

Short take

Simple meaning

Hybrid search combines lexical matching such as BM25 with dense vector search.

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

Read full answer Example · Mistake · Say this
67 Easy Hybrid search GenAI / LLM

What is BM25?

Short take

Simple meaning

BM25 is a ranking function for keyword search that scores term frequency with document-length normalization.

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

Read full answer Example · Mistake · Say this
70 Easy Safety GenAI / LLM

What is a jailbreak in LLM chat products?

Short take

Simple meaning

A jailbreak is a prompt that tries to bypass safety policy, for example by role-play or hypothetical framing.

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

Read full answer Example · Mistake · Say this
71 Easy LLM GenAI / LLM

What is a large language model?

Short take

Simple meaning

An LLM is a neural net trained on huge text to predict the next token.

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

Read full answer Example · Mistake · Say this
72 Easy Prompting GenAI / LLM

What is prompt engineering?

Short take

Simple meaning

It is writing clear instructions, context, and examples so the model does the task you want.

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

Read full answer Example · Mistake · Say this
74 Easy LLM GenAI / LLM

What is a token roughly?

Short take

Simple meaning

A piece of text the model reads — often a word piece.

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

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