A tenant wants to prevent cross-document leakage in a knowledge base. Which design choice provides the strongest isolation?
Answer
Separate indexes per tenant or apply strict metadata filters combined with access-controlled retrieval
Explanation
Strict isolation requires either tenant-specific indexes or robust access-controlled filtering at retrieval time. Post-generation removal is weaker because the model may already consume other tenants’ content.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
You need to build a robust fallback strategy for model calls in a multi-agent system. Which mechanism best improves resilience against transient failures without degrading answer quality?
View question →
You need to implement an end-to-end retrieval-augmented generation (RAG) pipeline. Which combination best addresses both relevance and groundedness?
View question →
A RAG solution must prevent prompt injection where retrieved text contains malicious instructions. Which mitigation is best?
View question →
You are designing a knowledge base ingestion pipeline. Some documents contain OCR noise and tables with inconsistent formatting. Which approach most improves chunk quality for downstream semantic search?
View question →
A model output must be constrained to a strict JSON schema. Which configuration strategy in Bedrock most directly improves schema validity while preserving semantic correctness?
View question →
A customer uses Amazon Comprehend for PII detection before sending text to a generative model. Which pipeline most effectively reduces PII risk while maintaining utility for downstream RAG?
View question →