All jobs / AI engineer / AI Data & Privacy
AI engineer interview question · 0–1 years
Before your code sends a user’s text to a hosted model API, what questions do you ask about that data?
The strongest answer
What is in it — personal details, health or financial data, credentials, a customer’s confidential material; whether the task needs it at all; and where it ends up: the provider, our logs, our traces. Then I send the minimum
Why it works
Exactly — classify, minimise, and know every place the text lands. A model call is a transfer of data to a third party, plus copies in your own logs.
What a good answer covers
- A model call is a data transfer.
- Classify what is in the text.
- Send only what the task needs.
- Know every place it is stored.
Answers that fall short
- Close, but not the strongest: Whether the connection is encrypted and the API key is stored safely, so nobody can intercept the text on the way to the provider
Encryption in transit matters, but it protects the pipe, not the decision to send the data or what the receiver keeps. - Weak: Nothing special — text sent to an API is processed and forgotten, so it is the same as calling any internal function
You do not know it is forgotten until you have read the provider’s terms; retention and use are contract questions, not assumptions. - Red flag: None; more context makes better answers, so I send the whole user record and let the model pick out what it needs
Sending the whole record “for context” is the opposite of data minimisation, and it is how sensitive fields end up in prompts, logs and a vendor’s systems.
Who gets asked this
More AI Data & Privacy questions
- You need an LLM to summarise support tickets that contain names, phone numbers and the odd card number. How…
- 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?