D3: Embeddings, Similarity Scoring & Reranking
Google Cloud Professional Agentic Architect exam practice questions · 11 flashcards
Question
What is an embedding?
1 / 11
Tip: Space flips the card, ← / → navigate.
Show all 11 Embeddings, Similarity Scoring & Reranking practice questions and answers
- What is an embedding?A numeric vector representing the meaning of text, images or other data.
- Why use embedding models in RAG?Find semantically similar content even with different wording.
- Common similarity measures?Cosine similarity, dot product and Euclidean distance.
- What is approximate nearest neighbor (ANN) search?Fast, approximate search for similar vectors at large scale.
- What is reranking?Re-scoring top retrieved results with a more precise model to improve ordering.
- Why rerank?Improves relevance of the final context sent to the model.
- What is hybrid search?Combining dense (semantic) and sparse (keyword) retrieval.
- When is keyword matching important?IDs, product codes and exact terms.
- Why use embedding task types (query vs document)?Optimizes embeddings for retrieval asymmetry.
- Must queries and documents use the same embedding model?Yes; vectors from different models aren't comparable.
- What is top-k?The number of most similar results retrieved.