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.

Checking answers needs JavaScript. You can still read every question and option below.

0 of 19 answered

Keyboard: arrow keys move between options. Space or Enter selects the focused option.

Embeddings and similarity search8 questions

ObjectiveExplain how a dedicated embedding model turns a chunk or a query into one vector, and why nearby vectors mean similar meaning.

  1. Question 1 of 19A 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.

  2. Question 2 of 19You index 1,000 chunks with a dedicated embedding model for search. What does the index store for each chunk?

    Choose one answer.

ObjectiveCompare cosine similarity, dot product and Euclidean distance, and show why cosine equals the dot product on unit-length vectors.

  1. Question 3 of 19You 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.

  2. Question 4 of 19Your 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.

ObjectiveDiagnose why embedding search misses exact identifiers, rare terms or domain-specific text, or returns related but unhelpful results, and name the fix.

  1. Question 5 of 19Users 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.

  2. Question 6 of 19After 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.

  3. Question 7 of 19Your 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.

  4. Question 8 of 19A 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.

Vector databases11 questions

ObjectiveExplain why exact nearest-neighbor search does not scale and what an approximate (ANN) index gives up in return.

  1. Question 9 of 19A 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.

  2. Question 10 of 19An 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.

  3. Question 19 of 19A 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.

ObjectiveCompare HNSW and IVF on how they search, their memory cost, and whether they need training.

  1. Question 11 of 19Memory is tight and the corpus is mostly static, so you pick IVF over HNSW. When should you create the index?

    Choose one answer.

  2. Question 12 of 19Two engineers describe how an HNSW query avoids visiting every vector. Which description is accurate?

    Choose one answer.

ObjectiveName the main recall-versus-latency knobs for HNSW and IVF, and say how to measure recall against brute-force search on a sample.

  1. Question 13 of 19Latency 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.

  2. Question 14 of 19How should you measure the recall of your ANN index before launch?

    Choose one answer.

ObjectiveChoose between a Postgres extension, a vector library and a dedicated vector database for a given scale and team.

  1. Question 15 of 19A 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.

  2. Question 16 of 19Your 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.

ObjectiveExplain why metadata filters and document updates need explicit design in a vector store.

  1. Question 17 of 19You 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.

  2. Question 18 of 19A 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.