Hiding card and phone numbers from a model that keeps answering

GenAI Engineer Governance Medium Question 20 of 45

A Generative AI Engineer runs a support assistant on a Foundation Model APIs chat endpoint that receives customer messages containing phone numbers and card numbers. Compliance requires the assistant to keep answering while the model never sees the raw values.

Which Unity Gateway service policy meets this requirement?

Show answer and explanation

DSensitive Data Detection with the redact action on input and output

Unity Gateway (formerly AI Gateway) PII detection offers Block or Mask for data such as names, addresses and credit card numbers detected in endpoint requests and responses. Mask hides the values and lets the request through, which is what keeps the assistant answering; Block rejects the request outright, so the customer gets no answer. Safety guards against unsafe and harmful content rather than personal data, and a custom deny policy also ends the conversation instead of continuing it.

Source: docs.databricks.com/aws/en/ai-gateway/configure-ai-gateway-…

Anonymous, no account needed. Your tally stays in this browser.

Next question Start 5 timed questions Browse all 45 original GenAI Engineer practice questions