All jobs / Data engineer / Governance
Data engineer interview question · 1–3 years
How do you keep PII from leaking into a “features” table for a model?
The strongest answer
A column catalogue, a deny-list test, and a separate restricted zone — I do not rely on “data scientists know”
Why it works
Exactly. Tests and zones. Wiki and god-roles are how features become a leak.
What a good answer covers
- Catalogue + deny-list test.
- Restricted zone.
- Do not rely on memory.
- Do not give the model admin.
Answers that fall short
- Close, but not the strongest: A reminder in the wiki
Wiki fades. - Weak: Hashing every column so none of it is useful or governed
Blind hashing is not a catalogue. - Red flag: Giving the model prod-admin so it can “choose”
Admin is the incident.
Who gets asked this
More Governance questions
- Spark logs printed a sample row with an email. What do you do?
- A user requests erasure. What must the pipeline do besides the app DB?
- How do you design zones so a features table cannot casually include email?
- Analysts need the customers table for segmentation but must not see emails or phone numbers. Two teams need…
- A director wants “data mesh” on a slide. What do you require in the room?
- How do you keep PII from being “everyone’s problem” and therefore nobody’s?
- How do you govern without becoming the team people route around?
- Self-serve created 30 unofficial revenues. What does the platform change?