← Learning library FREE AI INTERVIEW QUESTIONS & ANSWERS
Practice AI and FDE interview questions. Prepare for AI engineer and Forward Deployed Engineer (FDE) interviews with free topic questions, matched source answers, foundation practice, and customer scenarios. All questions and answers are in English, with original source numbers preserved.
Every answer is free No sign-up No API key604 free questions10 technical topics24 FDE scenarios
PRACTICE A BETTER CONVERSATION
The demo works. Would you ship it?
01 Clarify the customer's goal.02 Propose a bounded approach.03 Explain how you would verify it.Try this scenario Questions by topic 520 FDE scenarios 24 Foundations 60 Strengthen the fundamentals. Explain the concept aloud, reveal the reference answer, and use the linked lab to try it yourself.
Find a question TopicAll topics RAG & retrieval Prompt & context Agent engineering Vector search LevelAll levels Beginner Intermediate
10 questions · Showing 1–10
Beginner · Vector search 01
How is cosine similarity calculated? Reveal reference answer Take the dot product of two nonzero vectors and divide by the product of their lengths. Validate matching dimensions and finite coordinates first.
Watch for: The formula is undefined when either vector has zero length.
Try the lab: Calculate cosine similarity by hand ↗ Beginner · Vector search 02
When do dot product and cosine give the same ordering? Reveal reference answer For vectors normalized to unit length, their dot products equal their cosine similarities. Otherwise vector magnitude can change dot-product ranking.
Watch for: Do not normalize blindly if the embedding model expects a different scoring method.
Try the lab: Calculate cosine similarity by hand ↗ Beginner · Vector search 03
Is a similarity score a probability of correctness? Reveal reference answer No. It is a score under a particular representation and metric. Calibrate retrieval decisions with labeled tasks and verify answer claims separately.
Watch for: A high semantic match can retrieve an outdated or factually wrong passage.
Try the lab: Calculate cosine similarity by hand ↗ Beginner · Vector search 04
Can embeddings from different models be mixed? Reveal reference answer Usually they must be regenerated or kept in separate compatible indexes. Equal vector lengths alone do not align the underlying spaces.
Watch for: Changing only the query model can silently damage retrieval.
Try the lab: Calculate cosine similarity by hand ↗ Beginner · Vector search 05
How should you choose an embedding model? Reveal reference answer Evaluate representative language, document types, queries, and relevance labels. Compare retrieval quality with latency, storage, and total processing cost.
Watch for: A larger dimension alone does not prove better results for your workload.
Try the lab: Calculate cosine similarity by hand ↗ Intermediate · Vector search 06
Why keep metadata alongside vectors? Reveal reference answer Metadata identifies the source, version, tenant or access scope, and other eligibility conditions. The vector alone cannot reliably encode those rules.
Watch for: Semantic similarity is not a permission check.
Try the lab: Filter the corpus before choosing Top K ↗ Intermediate · Vector search 07
Why can filtering after Top K miss valid evidence? Reveal reference answer The global shortlist may contain only ineligible records. Filtering that truncated list cannot recover eligible records excluded before filtering.
Watch for: An empty shortlist does not prove the eligible corpus contains no answer.
Try the lab: Filter the corpus before choosing Top K ↗ Intermediate · Vector search 08
How does exact search differ from approximate search? Reveal reference answer Exact search considers the full eligible set under the defined metric. Approximate search trades some retrieval accuracy for efficiency through an index or candidate-selection method.
Watch for: This three-record sorting example is not evidence of approximate-index performance.
Try the lab: Filter the corpus before choosing Top K ↗ Intermediate · Vector search 09
How should updated documents be handled? Reveal reference answer Associate chunks with a document version, publish a consistent updated set, and remove or exclude superseded chunks. Test retrieval immediately after the change.
Watch for: Adding new vectors while keeping old conflicting passages active can mix policy versions.
Try the lab: Filter the corpus before choosing Top K ↗ Intermediate · Vector search 10
What should you measure when selecting an index? Reveal reference answer Measure recall against an exact baseline together with latency, memory, build time, updates, and filtering behavior on representative data.
Watch for: A latency number without corpus size and recall conditions is hard to interpret.
Try the lab: Filter the corpus before choosing Top K ↗ Practice with source-based questions. The topic bank selects 520 questions from the supplied study PDFs. Questions, matching answers, explanations, and source titles are presented in English, with Chinese material translated and original question numbers preserved. We excluded known obsolete interfaces, missing answers, and unrelated material. These are study references rather than employer-reported questions or independently certified answers; verify changing APIs and product details before use.
Build the concepts with practical labs