A team plans to build a retrieval system with sensitive documents. Which foundation design best reduces the risk of inadvertent data disclosure through retrieval and prompting flows?
Answer
Pre-filter retrieval using tenant and authorization context, and apply output redaction/guardrails before returning results
Explanation
Authorization-aware retrieval prevents unauthorized documents from entering the generation context. Redaction/guardrails reduce the chance of leaking sensitive content even if retrieval errs.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
Which resource modeling approach most effectively supports graceful degradation when downstream dependencies fail in a foundational architecture?
View question →
You need to design an event-driven foundation. Which choice best addresses idempotency and ordering for an at-least-once delivery pipeline without sacrificing throughput?
View question →
In the scenario described, which architectural action best preserves multi-tenant isolation while still enabling controlled cross-tenant data access?
View question →
You are building an observability foundation for distributed systems. Which strategy most directly improves root-cause analysis across services?
View question →
In a CCAR-F foundation assessment, which principle most strongly supports safe secret handling and least-privilege access for model/API credentials?
View question →
A multi-environment deployment must prevent configuration drift while supporting rapid iteration. Which approach best matches foundation-level governance?
View question →