Quizzes Embeddings and vector search Module quiz
Embeddings and vector search quiz 19 questions across 2 lessons. Choose an answer, check it, and read why each option is right or wrong.
Back to the module Flashcards
Checking answers needs JavaScript. You can still read every question and option below.
Keyboard: arrow keys move between options. Space or Enter selects the focused option.
One question at a time
Objective Explain how a dedicated embedding model turns a chunk or a query into one vector, and why nearby vectors mean similar meaning.Question 1 of 19 A search box gets the query "how do I cancel my subscription". The right page is titled "Ending your plan". Why can embedding search find it when keyword search does not? Choose one answer.
Check answer
Question 2 of 19 You index 1,000 chunks with a dedicated embedding model for search. What does the index store for each chunk? Choose one answer.
Check answer
Objective Compare cosine similarity, dot product and Euclidean distance, and show why cosine equals the dot product on unit-length vectors.Question 3 of 19 You normalize all embeddings to length 1 and switch your index from cosine to plain dot product. What happens to the ranking of results? Choose one answer.
Check answer
Question 4 of 19 Your embeddings are not normalized and their lengths vary a lot. You rank by raw dot product. What is the likely side effect? Choose one answer.
Check answer
Objective Diagnose why embedding search misses exact identifiers, rare terms or domain-specific text, or returns related but unhelpful results, and name the fix.Question 5 of 19 Users search "ERR-40412" in your docs. Vector search returns general pages about errors, and the page for that exact code is missing. What is the best first fix? Choose one answer.
Check answer
Question 6 of 19 After a model upgrade, you embed new documents with the new model but keep the old document vectors. Search quality collapses, and no error is raised. Why? Choose one answer.
Check answer
Question 7 of 19 Your semantic search returns pages on exactly the right topic, but users say none of them answers the question. Which change targets that problem most directly? Choose one answer.
Check answer
Question 8 of 19 A support search built on embeddings finds the right help page for "how do I end my plan" but returns nothing useful for the order number "TK-48213". What best explains the difference? Choose one answer.
Check answer
Objective Explain why exact nearest-neighbor search does not scale and what an approximate (ANN) index gives up in return.Question 9 of 19 A prototype does exact search over 20,000 vectors and answers in a few milliseconds. The corpus will grow to 200 million. What is the main reason to plan an ANN index? Choose one answer.
Check answer
Question 10 of 19 An ANN index returns 9 of the 10 true nearest neighbors for a query. What is the recall@10, and what does it tell you? Choose one answer.
Check answer
Question 19 of 19 A team's brute-force vector search is too slow at 10 million vectors, so they move to an approximate nearest-neighbour index and queries get much faster. What have they most likely given up? Choose one answer.
Check answer
Objective Compare HNSW and IVF on how they search, their memory cost, and whether they need training.Question 11 of 19 Memory is tight and the corpus is mostly static, so you pick IVF over HNSW. When should you create the index? Choose one answer.
Check answer
Question 12 of 19 Two engineers describe how an HNSW query avoids visiting every vector. Which description is accurate? Choose one answer.
Check answer
Objective Name the main recall-versus-latency knobs for HNSW and IVF, and say how to measure recall against brute-force search on a sample.Question 13 of 19 Latency is fine but recall@10 is 0.82 against brute force on your sample queries. Which change is the most direct way to raise recall on an IVF index? Choose one answer.
Check answer
Question 14 of 19 How should you measure the recall of your ANN index before launch? Choose one answer.
Check answer
Objective Choose between a Postgres extension, a vector library and a dedicated vector database for a given scale and team.Question 15 of 19 A team with 80,000 documents already runs Postgres for its product. A colleague wants to add a dedicated vector database "to be safe". What is the best advice? Choose one answer.
Check answer
Question 16 of 19 Your security team asks whether you must use a managed cloud service to run Qdrant or Weaviate inside your own network. What is the accurate answer? Choose one answer.
Check answer
Objective Explain why metadata filters and document updates need explicit design in a vector store.Question 17 of 19 You ask for the 10 nearest chunks where department = legal. The corpus holds thousands of legal chunks, but only 3 come back. What is the most likely cause? Choose one answer.
Check answer
Question 18 of 19 A policy page was edited yesterday. Search still returns the old wording next to the new one. Which design most likely prevents this? Choose one answer.
Check answer