Skip to content
Ameen Abozaid
SRA-009

Security and compliance

  • 7 Lessons
  • 3.5 h practice (estimate)
On this page 9 topics

Overview

Topics

  • Privacy by design
  • auditability
  • regulatory constraints

Learn first

3.5 h of practice (estimate)

Learning outcomes

  1. Apply privacy by design (data minimization, purpose limitation, retention, consent) in architecture.
  2. Design auditability (immutable audit logs, traceability of changes and access).
  3. Translate regulatory constraints (e.g., GDPR, PCI DSS, local data laws) into architecture requirements with compliance partners.
  4. Reduce compliance scope architecturally (tokenization, segmentation).

Lessons

  1. 01Compliance as an architecture driver
  2. 02Privacy by design
  3. 03Auditability
  4. 04From regulation to requirements
  5. 05Reducing compliance scope
  6. 06Demo: shrinking PCI scope with tokenization
  7. 07Demo: designing data deletion across 30 services

Lab and exercises

Lab

SRA-009-LAB1 · Marketplace compliance

Outcomes: 1–4 · Time: ~2 h

  1. Build a data inventory for marketplace seller data, buyer data, and payout data with purposes, retention, and systems holding copies.
  2. Translate privacy and payment obligations (confirm with the role-played compliance officer) into architecture requirements with controls and evidence.
  3. Design the audit trail for access and changes to seller and payout data.
  4. Reduce payment scope with tokenization and segmentation; show the before and after boundary.
  5. Design right-to-erasure across services, including derived stores and backups.

Acceptance: reviewed with a role-played compliance officer.

Exercises (case-based; six exercises)

IDOutcomeTask
SRA-009-EX011For a seller onboarding form, apply minimization, purpose, retention, and consent: list what to collect, keep, and delete.
SRA-009-EX021Review a proposal to copy full customer records into an analytics lake; propose a privacy-by-design alternative.
SRA-009-EX032Design an audit event schema and storage for payout approvals; state who can read and who cannot alter.
SRA-009-EX043Take three obligations given in plain language and write the requirement, control, test, and evidence for each.
SRA-009-EX054Draw the before and after payment data flow with tokenization and list which services leave scope.
SRA-009-EX064Write the erasure design for 30 services including derived stores, backups, legal retention, and a verification test.
Show solutions
  • EX01 Collect identity and payout details required for the contract and tax; do not collect extra attributes; tag purpose; set retention after contract end, subject to legal rules; record consent for optional marketing separately.
  • EX02 Pseudonymize identifiers, exclude unneeded fields, limit by purpose, apply retention, restrict access, and publish a data contract with the owner.
  • EX03 Fields: actor, action, subject, time, source, result, request id; append-only store; read access to auditors; writers cannot edit; avoid logging sensitive values; retention per policy.
  • EX04 Pattern example: access request → system can locate and export a subject's data → export tool and test with synthetic subject → report and audit evidence, with an owner. Verify obligations with compliance.
  • EX05 Before: card data passes through many services. After: browser sends data directly to a hosted field; back end sees tokens; only the provider integration remains in scope; confirm with the compliance officer.
  • EX06 Event-driven deletion with coordinator, per-service confirmation, derived stores and search covered, backups expire on schedule, legally required records retained with restricted use, and a synthetic-user test.

Outcome 2 is also covered by the lab audit design and the quiz.

Workplace evidence: an architecture change you led that reduced compliance risk or scope.

Quiz

Outcomes: O1 privacy by design · O2 auditability · O3 regulation to requirements · O4 reducing compliance scope.

A self-check for you: nothing is graded, saved or sent anywhere. Choose an answer, then check it. You can try again as often as you like.

  1. 1Data minimization means:O1
  2. 2A deletion that removes data only from primary databases is:O1
  3. 3Purpose limitation requires:O1
  4. 4A good audit log is:O2
  5. 5Audit trails should cover:O2
  6. 6An unclear regulatory interpretation should be:O3
  7. 7A requirement derived from regulation needs:O3
  8. 8Who defines legal obligations?O3
  9. 9Tokenization reduces scope because:O4
  10. 10After claiming scope reduction you should:O4

Practical part

Six case exercises SRA-009-EX01 to EX06 plus the lab, reviewed as a compliance architecture with a role-played compliance officer. Pass: at least five of six exercises correct, quiz at least 8/10, and an architecture covering privacy, audit, scope reduction, and erasure across services.

Common mistakes

Treating compliance as documentation; deletion that misses derived stores and backups.

Assessment

Compliance architecture review.

Workplace evidence

An architecture change you led that reduced compliance risk or scope.

Career relevance

Privacy and compliance architecture (ARC-029).

Type to search levels, phases, modules and lessons.