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.

3 Moderate Tokens GenAI / LLM

How do you count tokens before calling an API?

Short take Full answer on next page

Simple meaning

Use the same tokenizer the model uses, such as tiktoken for many OpenAI models.

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

Read full answer Example · Mistake · Say this
4 Moderate Embeddings GenAI / LLM

How do you choose embedding dimensionality?

Short take Full answer on next page

Simple meaning

Higher dimensions can hold more nuance but cost more storage, RAM, and distance compute.

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

Read full answer Example · Mistake · Say this
6 Moderate Embeddings GenAI / LLM

Why do teams L2-normalize embeddings?

Short take Full answer on next page

Simple meaning

After unit normalization, inner product equals cosine similarity, which simplifies indexes and scores.

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

Read full answer Example · Mistake · Say this
18 Moderate Prompting GenAI / LLM

What is ReAct prompting?

Short take Full answer on next page

Simple meaning

ReAct interleaves reasoning traces with actions such as search or calculator calls.

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

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