Indexing 900 million vectors cheaply with nightly updates

GenAI Engineer Assembling and Deploying Apps Medium Question 16 of 45

A Generative AI Engineer must index 900 million 768-dimension vectors. The source table changes once per night, and the product owner has accepted up to 250 ms of added query latency in exchange for lower cost.

Which Databricks AI Search configuration fits these requirements?

Show answer and explanation

DA storage-optimized endpoint with a Delta Sync index in Triggered mode

Standard endpoints hold 320 million vectors at dimension 768, so 900 million needs a storage-optimized endpoint, which holds over one billion at that dimension and adds about 250 ms of query latency. Storage-optimized endpoints do not support Continuous sync, and a nightly source change only needs Triggered sync anyway. Splitting across three standard endpoints leaves the application to fan out and merge results itself, and a Direct Vector Access index still sits on a standard endpoint and makes the team update it by REST API.

Source: docs.databricks.com/aws/en/ai-search/ai-search

Anonymous, no account needed. Your tally stays in this browser.

Next question Start 5 timed questions Browse all 45 original GenAI Engineer practice questions