A team must remove personal details such as names and phone numbers from support notes before sharing them. Which function fits?
- Exam domain
- Cortex AI functions in SQL
- Difficulty
- Medium
- In this mock
- 5 questions on this domainPractise this domain
Why B is the answer
AI_REDACT
Snowflake documents AI_REDACT as removing personally identifiable information from text.
Remember: PII removal means AI_REDACT.
In detail
- AI_REDACT removes PII.
- Check results on a sample.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. AI_EXTRACT, which pulls the names out and leaves the rest of the text as it wasWrong
AI_EXTRACT returns information; it does not strip it from the text.
B. AI_REDACTRight
PII removal means AI_REDACT.
C. AI_PARSE_DOCUMENTWrong
AI_PARSE_DOCUMENT reads documents from a stage.
D. AI_CLASSIFYWrong
AI_CLASSIFY labels text; it does not remove anything.
Use case
An illustrative scenario, not a real incident.
Illustrative: a vendor receives support notes with customer names and numbers removed.
See it in different ways
flowchart LR S0["Select notes"] --> S1["AI_REDACT"] --> S2["Review a sample"] --> S3["Share the result"]
How to read this chart
- Read it in order: Select notes, then AI_REDACT, then Review a sample, then Share the result.
stateDiagram-v2 state "Raw note" as s0 state "Redacted note" as s1 state "Shared" as s2 [*] --> s0 s0 --> s1: AI_REDACT s1 --> s2: review passed s2 --> [*]
How to read this chart
- It starts at "Raw note".
- From "Raw note", "AI_REDACT" moves it to "Redacted note".
- From "Redacted note", "review passed" moves it to "Shared".
- It ends at "Shared".