All jobs / AI engineer / AI Data & Privacy
AI engineer interview question · 1–3 years
You need an LLM to summarise support tickets that contain names, phone numbers and the odd card number. How do you handle the personal data?
The strongest answer
Detect it before the call: what the task does not need, like card numbers, is dropped; the rest become stable placeholders, mapped back on our side. I test the detector on real tickets because it misses things
Why it works
Exactly — minimise first, pseudonymise the rest, keep the key at home, and measure the detector rather than trust it. Stable placeholders keep the summary readable.
What a good answer covers
- Redact before the call, not in it.
- Drop what the task does not need.
- Placeholders out; the mapping stays home.
- Measure what the detector misses.
Answers that fall short
- Close, but not the strongest: Run a regular expression for phone and card numbers over the ticket before sending it, and consider the personal data handled
Right place in the pipeline, but patterns catch formats, not a name or an address written in a sentence. Combine methods and measure what slips through. - Weak: Tell the model in the prompt to ignore any personal data it sees and not to repeat it in the summary
By the time the model reads that instruction the data has already left your system. Privacy controls go before the call, not inside it. - Red flag: Send the tickets as they are; the summaries are internal, and the provider is a big company that handles far more sensitive data than ours
“They are big” is not a legal basis or a risk assessment, and card numbers in a third party’s prompt is a finding in any audit.
Who gets asked this
More AI Data & Privacy questions
- For debugging, your service logs every prompt and completion in full. What is the privacy problem, and what…
- Your RAG product serves many companies from one vector index. How do you guarantee one tenant never sees…
- You are choosing a hosted model provider for a feature that handles customer data. What do you check in their…
- An enterprise customer in the EU will sign only if their data “stays in the EU”. Your product calls a hosted…
- What do you expect to have ready, and what do you refuse to gloss over?
- Before your code sends a user’s text to a hosted model API, what questions do you ask about that data?