Databricks Certified Generative AI Engineer Associate — Question 75
A Generative AI Engineer is setting up a Databricks Vector Search that will lookup news articles by topic within 10 days of the date specified. An example query might be “Tell me about monster truck news around January 5th 1992”. They want to do this with the least amount of effort.
How can they set up their Vector Search index to support this use case?
Answer options
- A. Create separate indexes by topic and add a classifier model to appropriately pick the best index.
- B. Include metadata columns for article date and topic to support metadata filtering.
- C. Pass the query directly to the vector search index and return the best articles.
- D. Split articles by 10 day blocks and return the block closest to the query.
Correct answer: B
Explanation
The correct answer is B because including metadata columns for article date and topic allows for efficient filtering based on the query parameters. Options A and D introduce unnecessary complexity by either separating indexes or splitting articles, while option C lacks the necessary filtering mechanism to ensure relevance to the specified date range.