CDPSE Technical Privacy Controls 5 — Questions and Answers
Question 1: Which technique allows a dataset to be shared while ensuring that no combination of attributes can uniquely identify an individual by guaranteeing at least k records share each combination of quasi-identifiers?
- l-diversity
- k-anonymity (Correct answer)
- t-closeness
- Synthetic data generation
Correct answer: k-anonymity
k-anonymity ensures each record is indistinguishable from at least k-1 others based on quasi-identifier combinations, reducing re-identification risk.
Question 2: A privacy engineer notes that a k-anonymized dataset still reveals sensitive attribute values through homogeneity attack. Which enhancement addresses this?
- Increasing the value of k to at least 10
- Applying l-diversity to ensure diversity of sensitive values within each equivalence class (Correct answer)
- Using format-preserving encryption on quasi-identifiers
- Adding Laplace noise to all numeric attributes
Correct answer: Applying l-diversity to ensure diversity of sensitive values within each equivalence class
l-diversity extends k-anonymity by requiring that each equivalence class contains at least l well-represented distinct sensitive values, preventing homogeneity attacks.
Question 3: An organization deploys federated learning for a machine learning model trained on personal health data across multiple hospitals. What is the PRIMARY privacy advantage over centralized training?
- Model weights cannot be used to reconstruct training data
- Raw personal data never leaves each hospital's local environment (Correct answer)
- The trained model is automatically anonymized before deployment
- Federated models achieve higher accuracy than centrally trained models
Correct answer: Raw personal data never leaves each hospital's local environment
Federated learning trains on local data at each node and shares only model updates (gradients), so raw personal health records are never centralized.
Question 4: A privacy engineer is reviewing cookie consent implementation. Which technical configuration ensures that a session cookie is not accessible to JavaScript (mitigating XSS-based cookie theft)?
- Setting the SameSite attribute to 'Strict'
- Setting the Secure attribute on the cookie
- Setting the HttpOnly attribute on the cookie (Correct answer)
- Setting the cookie domain to a single subdomain
Correct answer: Setting the HttpOnly attribute on the cookie
The HttpOnly flag instructs the browser not to expose the cookie to JavaScript APIs, preventing XSS scripts from stealing session cookies containing user identity.
Question 5: What is the primary privacy risk associated with embedding third-party fonts, scripts, or pixels directly from external CDNs in a web application?
- The external server may serve malicious content that overwrites local data
- The user's IP address and browser fingerprint are exposed to the third-party server on each page load (Correct answer)
- CDN resources increase page load time, degrading user experience
- Third-party resources bypass the browser's same-origin policy entirely
Correct answer: The user's IP address and browser fingerprint are exposed to the third-party server on each page load
Each request to an external CDN reveals the user's IP address, referrer URL, and browser details to the third party, enabling tracking without the user's knowledge.
Question 6: A CDPSE practitioner is assessing a biometric authentication system. Which control BEST mitigates the risk that compromised biometric templates cannot be replaced like passwords?
- Storing raw biometric images in an encrypted vault
- Using cancelable biometrics (transformed/revocable templates) rather than raw biometric data (Correct answer)
- Hashing biometric templates with SHA-256 before storage
- Transmitting biometric data only over TLS 1.3
Correct answer: Using cancelable biometrics (transformed/revocable templates) rather than raw biometric data
Cancelable biometrics apply a revocable transformation so that if a template is compromised, a new transformation can be issued—unlike raw biometric data which cannot be changed.
Question 7: An engineer needs to ensure that personal data in a database cannot be altered or deleted without detection. Which control provides tamper evidence for stored records?
- Row-level encryption with AES-GCM authenticated encryption
- Database activity monitoring with real-time alerts
- Cryptographic hashing with hash chaining or a Merkle tree structure (Correct answer)
- Write-once storage (WORM) with hardware enforcement
Correct answer: Cryptographic hashing with hash chaining or a Merkle tree structure
Hash chaining or Merkle trees create a cryptographic dependency between records so that any modification to historical data is immediately detectable by recomputing the chain.
Which technique allows a dataset to be shared while ensuring that no combination of attributes can uniquely identify an individual by guaranteeing at least k records share each combination of quasi-identifiers?