Flashcardsfor IT Certifications

D1: Configuring Vector Databases

AWS Certified Machine Learning Engineer – Associate exam practice questions · 10 flashcards

Question
OpenSearch Service as a vector DB?
1 / 10

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

Show all 10 Configuring Vector Databases practice questions and answers
  1. OpenSearch Service as a vector DB?
    k-NN plugin with HNSW/IVF (Faiss, Lucene); supports hybrid search; Serverless vector collections.
  2. RDS/Aurora PostgreSQL with pgvector?
    Store embeddings in relational tables with HNSW or IVFFlat indexes.
  3. Amazon S3 Vectors?
    Cost-optimized vector buckets/indexes for large-scale vector storage and query.
  4. Vector dimension must match?
    Index dimension must equal embedding model output (e.g. 1024).
  5. Distance metric choice?
    Cosine for normalized text embeddings; Euclidean or dot product per model guidance.
  6. HNSW tuning parameters?
    M (connections) and ef_construction/ef_search: higher = more accurate, more memory/latency.
  7. Scaling OpenSearch vectors?
    Add shards/replicas, use quantization, larger instances or Serverless OCUs.
  8. Vector quantization?
    Compress vectors (e.g. byte, binary, product quantization) to reduce memory/cost at slight accuracy loss.
  9. Metadata filtering?
    Store metadata with vectors to filter results (e.g. by department or date).
  10. Scenario: billions of vectors with infrequent queries, minimize cost. Store?
    Amazon S3 Vectors.