1. A Generative AI engineer is building a RAG application on Databricks and must choose between a Delta Sync index and a Direct Vector Access index in Mosaic AI Vector Search. The source data is updated every hour via a Delta Live Tables pipeline, and the team wants embeddings to stay current with minimal manual intervention. Which index type should the engineer choose, and why?
- A. Direct Vector Access index, because it allows the application to push embedding vectors directly via API, giving the team full control over synchronization timing.
- B. Delta Sync index with continuous sync mode, because it automatically monitors the source Delta table and refreshes embeddings whenever new data is committed, requiring no manual triggers.✓ Correct
- C. Delta Sync index with triggered sync mode, because the team can schedule hourly refreshes aligned with the DLT pipeline, and triggered mode is the only mode compatible with DLT sources.
- D. Direct Vector Access index, because it is the only index type that supports querying by both vector similarity and metadata filters simultaneously.
Explanation
A Delta Sync index with continuous sync mode is correct because it automatically tracks changes to the upstream Delta table and updates the vector index without manual intervention, which aligns with the team's goal of keeping embeddings current. Option A is wrong because Direct Vector Access requires the application to explicitly upsert vectors via API, which adds manual work and is not automatic. Option C is wrong because both Delta Sync modes (continuous and triggered) are compatible with Delta tables written by DLT; triggered mode requires explicit refresh calls rather than being automatic. Option D is wrong because both Delta Sync and Direct Vector Access indexes support metadata filtering alongside vector similarity search.