Many data designs treat security as a review at the end: build the system, then have it checked. By that point, the decisions that determine whether the system can be compliant at all have already been taken, usually without being named. Classification, placement, residency, deletion, and key ownership are architecture decisions. A late review can only find their absence and price the rebuild: review at the end checks controls, while design at the start determines whether controls have anything sound to attach to.
The design move is earlier and harder than access mechanics. Roles, grants, and column and row controls are platform operations, assumed here. The work on paper comes first: decide what must be protected, from whom, under what duty, and at what cost to legitimate work — then let mechanics follow.
Start with classification, before controls
Every dataset in the design is classified by what it is: public, internal, confidential, or regulated and sensitive — personal data, payment-adjacent data, health-adjacent data, precise location.
Telematics shows why classification is a design act. A vehicle's position stream is operational data to dispatch, personal data about a driver when it can reconstruct that driver's day, and evidence in a temperature dispute. One stream, three classes depending on use.
So the design classifies uses and products, not only sources. The strictest applicable duty travels with the derived product unless a designed transformation — aggregation, de-identification — genuinely removes it, with the removal argued, not asserted.
Then design who may see what, and at what grain
Access architecture states who, by role and purpose and never by named individual in the design, may see which class, at what grain — raw, aggregated, or masked — and for how long.
Least privilege at design level means the default product each audience receives is the least revealing one that serves its stated decision. Retailer clients see their own shipments, aggregated where the underlying rows would expose other clients. Analysts work on de-identified extracts by default, with identified access a separate, logged, time-boxed grant for a named purpose.
Separation of duties is designed too. The team building a pipeline does not approve its access to regulated data. The person who can change a transform cannot silently change who sees its output.
Four protection decisions that cannot be retrofitted
First, encryption posture and key ownership: platform-managed keys versus customer-managed keys where the duty or contract demands demonstrable control, stated as a decision with its operating cost and verified against current documentation.
Second, residency: where each class may physically live, driven by regulation and contract, decided before region selection rather than discovered after it.
Third, retention and deletion: every class carries both a retention period and a deletion method. A duty to delete that the architecture cannot execute, because copies live in unmapped derived products, is a promise the design cannot keep; lineage is what makes deletion executable.
Fourth, auditability: access to regulated classes is logged, and the logs themselves are a designed product with an owner and a review rhythm. A log nobody owns and nobody reviews is storage, not auditability.
This is design information, not legal advice. Where a duty's exact content matters, the design names the duty's owner — counsel or the compliance function — and treats their ruling as a constraint input.
Close with what the design does not protect against
Every security design closes with a residual-risk statement: what this design does not protect against, who accepted that risk by name and role, and what would trigger a redesign. Examples include a credentialed insider misusing legitimate access, and a consumer re-identifying aggregated data by combining it with outside data.
The harder problem is insiders with legitimate access
One distinction must stay surgically clean throughout security design: the difference between protecting data from outsiders and governing insiders' legitimate access.
Most platform designs spend their energy on the first — perimeter, authentication, encryption — and leave the second to policy documents nobody enforces. Yet the losses that end careers in data work are overwhelmingly of the second kind: the analyst whose extract outlived its purpose, the support account that became everyone's shortcut, the derived product that quietly re-identified what its source had protected.
Design handles the second kind with architecture, not exhortation: default products at the least revealing grain, identified access as an exception with an expiry and a log, and a periodic designed review in which every standing identified grant must be re-justified by its purpose or lapse. Lapse by default is the key mechanism; access that must be actively renewed cannot accumulate silently. A design in which access only ever grows has its real access policy written by accretion, and the professional refuses to sign accretion as if it were a decision.
Residency is a property of copies, not of systems
Residency deserves precision about a point stakeholders routinely blur. A product does not live in a region; its primary copy, its replicas, its backups, its extracts, its logs, and the exports sitting in a partner's environment each live somewhere. A residency duty binds every copy that contains the regulated content, including the copy a well-meaning engineer made for debugging and forgot.
The design therefore enumerates copies per class, states where each may exist, and designs the controls that keep a new copy from being born unrecorded. Copies are created by governed acts — a replication setting, an export approval, a sharing contract — never by convenience.
This is why residency arguments that end at "the database is in the right region" fail their first serious audit: the database was the easiest copy to locate. The professional's residency section reads like an inventory, because that is what a duty over copies demands, and it connects to lineage, the only mechanism that can enumerate copies that already exist.
Experience it, don’t just read about it
Protection is decided at design time, in classification, residency, and deletion, not in a review after the build is Concept 9 of Google Professional Data Engineer Readiness: Design Data Systems at Professional Level (Course No. 414), from Cognosco Learning, a learning company powered by AI. The course builds data-system design beyond this distinction — Reliability Design — Failure Is a Requirement, Not a Surprise, Cost Architecture — Every Design Choice Is a Purchase, and Governance Design — Ownership, Contracts, and Lineage as a System — each worked through with an Agentic Socratic AI coach, one learner at a time. Try a Free Preview at cognoscolearning.com.
Navigate your own course.
© 2026 Cognosco Learning. All rights reserved.