How do you test security in a Vector Database?

๐ Your AI chatbot just shared a confidential document with the WRONG person!
Daily Dose of AI | AI Interview Question of the Day
Interview Question: How do you test security in a Vector Database?
Real-World Example:
Imagine a company using an AI chatbot for employee queries.
An employee asks: "Show me the salary details."
๐ค AI searches the company documents and retrieves a confidential salary file!
The Problem: The search system failed to enforce access permissions.
The Solution:
Apply access-level filters during retrieval.
Verify users can access only authorized documents.
Test whether deleted documents still appear in search results.
QA Tip: Create two users โ HR Admin and Regular Employee. Ask both the same salary-related question and verify that confidential data is never exposed to unauthorized users.
Remember: Finding the RIGHT document means nothing if the WRONG person can access it!
๐ https://lnkd.in/dyArasuM


