Question 330
An AI retrieval endpoint must authenticate callers before allowing vector search on private documents. Which acceptance check should accompany the remediation?
Explanation
Correct Answer
TLS encrypts transport but does not establish user authorization or row-level entitlements. The observation “Anonymous and cross-role requests are denied while authorized queries return only allowed records” directly confirms the chosen action worked for this situation: An AI retrieval endpoint must authenticate callers before allowing vector search on private documents.
Incorrect Answers
Database RLS applies row filters and block predicates centrally; it still needs secure session context. This observation would not establish that the required result occurred for An AI retrieval endpoint must authenticate callers before allowing vector search on private documents. The confirming test is: Anonymous and cross-role requests are denied while authorized queries return only allowed records.
MCP is an action gateway; server-side permissions and tool allowlists are necessary even with trusted prompts. This observation would not establish that the required result occurred for An AI retrieval endpoint must authenticate callers before allowing vector search on private documents. The confirming test is: Anonymous and cross-role requests are denied while authorized queries return only allowed records.
CDC records change data for replay, unlike simple change tracking versions. This observation would not establish that the required result occurred for An AI retrieval endpoint must authenticate callers before allowing vector search on private documents. The confirming test is: Anonymous and cross-role requests are denied while authorized queries return only allowed records.