What is the role of the container vector policy in Cosmos DB?
- A Configures network access for the container
- B Defines the vector property path, dimensions, distance metric, and index type for vector search (correct answer)
- C Controls TTL for vector items
- D Sets throughput for vector index operations
Shortcut: The vector policy (set at container creation) specifies which property contains the vector, its dimension count, the distance metric (cosine/dot/Euclidean), and the index type (flat or DiskANN).