A healthcare data team is preparing a dataset for statistical analysis. The dataset contains exact patient ages (e.g., 34, 67, 22). The compliance officer requires that the published dataset cannot be used to re-identify individual patients from their age alone, but the distributed age values must still be useful for demographic analysis. Which technique should the data engineer apply?
Show answer & explanation
Correct answer: A
WHY A is correct: Generalisation replaces specific values with broader categories or ranges, reducing the granularity of the data so that individuals cannot be singled out while the aggregate/demographic signal is preserved. Replacing exact ages with 10-year buckets (e.g., 34 → '30-39') is the canonical application of generalisation and is widely used in k-anonymity implementations for healthcare and research data. WHY NOT D: Hashing converts exact ages to opaque fixed-length strings. While this prevents reading the age, the hashed values are useless for demographic analysis — you cannot derive any statistical distribution or trend from a set of SHA-256 digests. Demographic utility is lost entirely. WHY NOT B: Suppression removes the column entirely. This satisfies the privacy requirement but completely eliminates demographic analysis utility, which contradicts the requirement. WHY NOT C: Tokenization replaces the age with a random token while retaining a lookup table. The tokens themselves carry no demographic meaning and cannot be used for statistical analysis. Additionally, the retention of a reverse-mapping table means the data has not been truly anonymized — it remains pseudonymized.