Problem Statement and Consent Management Mission
Problem Statement and Consent Management Mission — privacy consent management system design interview section.
Problem Statement and Consent Management Mission
Design a Consent Management Platform (CMP) like OneTrust/TrustArc/Cookiebot: capture, store, prove, and enforce privacy choices across web, mobile, and server-side tags—not a marketing preference center alone.
- Separate legal consent from product settings; marketing email opt-out is not GDPR Article 6 consent.
- Support granular purposes (analytics, ads, personalization) with versioned policy text hashes.
- Every decision needs a tamper-evident audit trail for regulators and enterprise customers.
Mechanism
Publishers embed a lightweight tag; CMP resolves jurisdiction, renders lawful basis, persists granular consent strings (IAB TCF v2.2 / GPP), and propagates decisions to ad-tech and analytics within seconds.
Failure drills
If geo-IP misclassifies EU visitors, default to strict opt-in and log geo_fallback=strict. If consent string write succeeds but Kafka lag exceeds 30s, block personalized ad calls at edge—never fire tags on stale consent. If subject re-identifies across devices without link graph, treat as separate subjects until explicit login merge. If regulator requests proof export and Merkle root mismatches, freeze marketing activation for that tenant.
Cost and capacity
| Signal | Target |
|---|---|
| Banner loads/day | 420M |
| Purposes tracked | 12K |
| DSAR/month | 85K |
| Proof retention | 7y |
1 public record ConsentSignal(String subjectId, String purposeId, String legalBasis, boolean granted, long epochMs) {} 2 // mission
1 def enforce_purpose(signal: dict, requested: str) -> bool: 2 return requested in signal.get("granted_purposes", []) and not signal.get("withdrawn") 3 # mission
1 export interface ConsentRecord { id: string; subjectId: string; purposeId: string; granted: boolean; jurisdiction: string; proofHash: string; } 2 // mission
Why interviewers care
Privacy Consent Management interviews reward crisp scope, explicit trade-offs, and failure stories—not generic microservice diagrams.
Interview checkpoint
Name one failure story for Problem Statement and Consent Management Mission that proves you understand real outages, not happy-path diagrams.
Key Highlights
- •Problem Statement and Consent Management Mission
- •Metrics: Banner loads/day, Purposes tracked, DSAR/month, Proof retention
- •Publishers embed a lightweight tag; CMP resolves jurisdiction, renders l
Section Rescue Kit
Buzzwords to use:
Safe statements:
- "For Problem Statement and Consent Management Mission, I separate policy versioning from immutable consent events."
- "Withdrawals propagate to edge enforcement before partner webhooks complete."
- "Geo uncertainty defaults to strict opt-in, not maximum tracking."