PROFESSIONAL-MACHINE-LEARNING-ENGINEER · Question #151
You work for a retailer that sells clothes to customers around the world. You have been tasked with ensuring that ML models are built in a secure manner. Specifically, you need to protect sensitive cu
The correct answer is A. Tokenize all of the fields using hashed dummy values to replace the real values.. Tokenization with hashed dummy values replaces actual sensitive field values with consistent, irreversible tokens, ensuring the raw PII (e.g., exact age, exact location coordinates) is never exposed to the data science team. The tokens remain consistent (same input always maps to
Question
Options
- ATokenize all of the fields using hashed dummy values to replace the real values.
- BUse principal component analysis (PCA) to reduce the four sensitive fields to one PCA vector.
- CCoarsen the data by putting AGE into quantiles and rounding LATITUDE_LONGTTUDE into
- DRemove all sensitive data fields, and ask the data science team to build their models using non-
How the community answered
(30 responses)- A83% (25)
- B10% (3)
- C3% (1)
- D3% (1)
Explanation
Tokenization with hashed dummy values replaces actual sensitive field values with consistent, irreversible tokens, ensuring the raw PII (e.g., exact age, exact location coordinates) is never exposed to the data science team. The tokens remain consistent (same input always maps to the same token), so they can still be used as categorical features in ML models. Option B (PCA) mathematically transforms but does not hide the underlying data. Option C (coarsening) reduces precision but still exposes approximate real values and may not meet security/compliance requirements. Option D (removing all fields) eliminates potentially predictive features unnecessarily.
Topics
Community Discussion
No community discussion yet for this question.