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.

61 Easy Cost GenAI / LLM

What is prompt caching?

Short take Full answer on next page

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 Full answer on next page

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 Full answer on next page

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 Full answer on next page

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 Full answer on next page

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 Full answer on next page

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
68 Easy Tokens GenAI / LLM

What are special tokens such as BOS, EOS, and PAD?

Short take Full answer on next page

Simple meaning

BOS marks the start of a sequence, EOS marks the end of generation, and PAD fills batches to equal length.

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 Full answer on next page

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 Full answer on next page

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 Full answer on next page

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

What is temperature in an LLM API?

Short take Full answer on next page

Simple meaning

Temperature controls randomness.

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 Full answer on next page

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

What is temperature controlling?

Short take Full answer on next page

Simple meaning

Randomness in token sampling.

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

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

What does an embedding vector represent?

Short take Full answer on next page

Simple meaning

A numeric fingerprint of meaning so similar text sits nearby.

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