Data Privacy and Governance: Macie, Redshift Sharing, Config, and Sovereignty
Data governance on AWS answers four questions: where is our sensitive data, who may use it, where is it allowed to live, and what changed. Amazon Macie answers the first by scanning S3 with machine learning to find PII. Controlled sharing answers the second — Amazon Redshift datashares grant live, read-only access to warehouse data without copying it, and Amazon SageMaker Catalog projects put a publish-and-subscribe approval workflow around data lake assets. Service control policies and replication controls answer the third, keeping data out of disallowed AWS Regions to maintain sovereignty. AWS Config answers the fourth, recording every configuration change so you can prove compliance at any point in time. The DEA-C01 exam tests each mechanism and, above all, whether you can match the governance requirement in a scenario to the one service built for it. This lesson covers all four pillars plus the framework vocabulary — stewardship, lineage, and data sharing patterns — the newest exam guide added.
On this page8 sections
- Finding PII with Amazon Macie
- From discovery to enforcement: Macie with Lake Formation
- Sharing warehouse data with Amazon Redshift datashares
- Keeping data out of disallowed Regions
- Viewing configuration changes with AWS Config
- Maintaining data sovereignty
- SageMaker Catalog projects and governed self-service access
- Governance frameworks and data sharing patterns
- Implement PII identification with Amazon Macie and feed findings into Lake Formation access controls
- Grant cross-account and cross-Region access to warehouse data with Amazon Redshift datashares
- Prevent backups and replication of data to disallowed AWS Regions using SCPs and replication controls
- Track and audit configuration changes with AWS Config rules, aggregators, and remediation
- Design for data sovereignty using Region-scoped services and organization-wide guardrails
- Describe governance frameworks, SageMaker Catalog projects, and common data sharing patterns
Finding PII with Amazon Macie
Amazon Macie is the AWS service that discovers sensitive data in Amazon S3 — it does not protect or mask anything itself; it tells you where the risk is. Macie uses machine learning and pattern matching through managed data identifiers covering categories like names, addresses, credit card numbers, national ID numbers, and credentials, and you can add custom data identifiers (regular expressions with keywords and proximity rules) for organization-specific values such as internal customer IDs or contract numbers.
Macie works two ways. Sensitive data discovery jobs scan the buckets and prefixes you target, on a one-time or scheduled basis, producing sensitive data findings that say which objects contain which categories of data. Automated sensitive data discovery instead samples objects continuously across your buckets, building a running sensitivity profile of your whole S3 estate for a fraction of the cost of full scans — the right default for broad, ongoing visibility, with targeted jobs reserved for full-coverage audits of high-risk buckets. Macie also evaluates the buckets themselves, raising policy findings when a bucket is publicly accessible, unencrypted, or shared outside your organization.
Macie is organization-aware: a delegated administrator account can enable and manage it across all member accounts, which is how a central governance team gets one view of PII exposure. Findings flow to AWS Security Hub and to Amazon EventBridge, and EventBridge is the automation hook — a finding can trigger a Lambda function that tags the object, moves it to a quarantine bucket, or opens a ticket. On the exam, any stem about discovering, classifying, or inventorying PII in S3 resolves to Macie; stems about masking or restricting access to the PII you found resolve to Lake Formation or masking features, never Macie itself.
From discovery to enforcement: Macie with Lake Formation
Discovery only pays off when it changes who can read the data, and the exam guide names the pairing explicitly: Amazon Macie identifies the PII, and AWS Lake Formation enforces access to it. The pattern is a pipeline. Macie finds that certain objects or columns in the data lake contain sensitive categories; an EventBridge-triggered function translates those findings into governance metadata — typically Lake Formation LF-tags such as a classification tag with values like public, internal, or pii applied to the affected databases, tables, or columns; and Lake Formation tag-based access control (LF-TBAC) then grants query access by tag rather than by naming individual tables.
Tag-based access control is what makes this scale. Instead of maintaining grants on thousands of tables, you write a policy once — for example, the analyst role may SELECT on anything tagged internal but nothing tagged pii, while the compliance role may read pii-tagged columns. When Macie finds new sensitive data and the automation applies the pii tag, the restriction takes effect everywhere that tag lands, with no per-table policy work. Lake Formation data filters add the finer instruments: column-level exclusions, row-level filters, and cell-level security applied at query time through Athena, Redshift Spectrum, and EMR.
A concrete scenario ties it together: a healthcare data platform lands raw files in S3 daily. Automated discovery flags a new prefix containing patient identifiers; EventBridge fires a Lambda that applies the pii LF-tag to the corresponding Glue Data Catalog table; from that moment the general analytics role's Athena queries no longer return those columns, while the governed clinical-research role retains access — no data was copied, moved, or manually re-permissioned. That closed loop — detect, tag, enforce — is the answer shape the exam rewards.
Keeping data out of disallowed Regions
Preventing data from reaching disallowed AWS Regions is a preventive-control problem, and the strongest tool is a service control policy (SCP) applied through AWS Organizations. An SCP that denies all actions when the aws:RequestedRegion condition key is not in your approved list stops every principal in every member account — including account administrators — from creating resources or writing data in forbidden Regions. Exempt the global services that authenticate through a single Region (such as IAM and other non-regional endpoints) so you do not break identity management. AWS Control Tower packages this same guardrail as its Region deny control if you want it managed rather than hand-written.
Then close the service-specific side doors — features that copy data across Regions even when no user ever calls an API in the disallowed Region. S3 Cross-Region Replication is configured by s3:PutReplicationConfiguration, so deny that action (or scope it with conditions) to stop replication rules pointing at forbidden Regions. DynamoDB global tables replicate to whatever replica Regions are added — govern the table-update actions that add replicas. Redshift can copy snapshots cross-Region; AWS Backup copy jobs can target other Regions; AMIs and EBS snapshots can be copied too. Each is legitimate for disaster recovery and each is a sovereignty leak if ungoverned — deny the copy and replication actions for non-approved destinations in the SCP.
Detection backs up prevention: AWS Config rules and aggregators (next section) reveal any resource that nonetheless exists in an unexpected Region, and Macie policy findings flag buckets replicating outside the organization. On the exam, distinguish the layers — an SCP is the preventive guardrail; Config is the detective control; and S3 Block Public Access solves a different problem entirely (public exposure, not Region placement), though it belongs in the same governance baseline for any regulated data platform.
Viewing configuration changes with AWS Config
AWS Config answers "what changed, when, and was it compliant" — it continuously records the configuration of supported resources as configuration items and keeps a timeline per resource, so you can open any S3 bucket, security group, or Redshift cluster and see exactly how its settings looked at any point in time and which change altered them. Pair it with CloudTrail mentally: CloudTrail tells you who made the API call; Config tells you what the resource's configuration became as a result. Auditors typically need both halves.
Config rules evaluate resources against policy continuously or on change. Managed rules cover the common cases — buckets must block public access, volumes and snapshots must be encrypted, resources must carry required tags — and custom rules (Lambda-backed or written declaratively with Guard) express organization-specific policy. A noncompliant evaluation can trigger automatic remediation through Systems Manager Automation documents: the classic example re-enables encryption settings or removes a public bucket ACL minutes after someone changes it. Conformance packs bundle rules and remediation into a deployable compliance baseline you can push organization-wide, and an aggregator collects configuration and compliance data from every account and Region into one governance-account dashboard — including surfacing resources sitting in Regions where nothing should exist.
For a data platform, Config is how you prove the security posture you claim: that every data bucket has always had encryption and public access blocks on, that no Redshift cluster was ever publicly accessible, that a security group opened to the world last Tuesday was remediated within minutes. When an exam stem asks how to view configuration changes over time, evaluate resources against rules, or auto-remediate drift, the answer is AWS Config — not CloudTrail, which records calls rather than resulting state, and not Trusted Advisor, which checks best practices rather than your own policies.
Maintaining data sovereignty
Data sovereignty means data remains subject to the laws of the jurisdiction where it is stored — and often, per regulation or contract, must physically stay in that jurisdiction. The foundational AWS property is that customer data in a Region does not leave that Region unless you move it: S3, Redshift, DynamoDB (without global tables), and EBS all store data regionally. Sovereignty engineering is therefore mostly the discipline of not moving it — the Region-deny SCPs and replication controls above are the enforcement half of a sovereignty story.
Encryption supplies the second half: control of the keys. KMS keys are themselves regional — key material for a single-Region key never leaves its Region — so encrypting data with a customer managed key in the approved Region, holding the key policy tightly, and logging every use through CloudTrail demonstrates that even AWS-side operations on your data were mediated by keys under your jurisdiction's control. Be deliberate with multi-Region keys: they exist precisely to make ciphertext portable across Regions, which is the opposite of what a sovereignty mandate usually wants. For residency-plus-latency contradictions — users worldwide, data confined to one Region — architectures serve queries remotely (for example, cross-Region access to a single authoritative store) rather than replicating the data outward.
Compose the full posture for a scenario like "EU customer data must never leave EU Regions": provision infrastructure only in approved EU Regions; apply an SCP denying all other Regions plus the cross-Region copy actions; encrypt with single-Region customer managed keys in those Regions; monitor with Config aggregators for out-of-Region resources; and document the evidence trail with CloudTrail and Config history. The exam rewards answers that stack a preventive control (SCP), a data-layer control (regional KMS keys), and a detective control (Config) rather than any single mechanism.
SageMaker Catalog projects and governed self-service access
Amazon SageMaker Catalog is the business data catalog inside Amazon SageMaker Unified Studio, and it manages data access through a publish-and-subscribe model built on projects. Producers publish data assets — Glue Data Catalog tables, Redshift tables — into the catalog with business metadata and glossary terms so consumers can actually find and understand them. Consumers work inside projects: governed workspaces that bundle team members, tools, and the data the project has been granted. When a project needs a published asset, a member raises a subscription request; the data owner approves or rejects it; and on approval the underlying grants (Lake Formation permissions for lake tables, Redshift access for warehouse tables) are fulfilled automatically to the project.
The governance value is the workflow itself: access is requested against a curated catalog, approved by the owner who is accountable for the data, scoped to a project rather than an individual, and recorded — an auditable paper trail replacing ad hoc IAM tickets. Domains and domain units mirror the organization's structure, so ownership and approval authority sit with the business units that steward each data area rather than with a central bottleneck team.
On the exam, differentiate the catalogs: the AWS Glue Data Catalog is the technical metastore (schemas, partitions, locations) that query engines depend on; SageMaker Catalog is the business layer on top — discovery, semantics, ownership, and the subscription workflow. A stem about crawlers, partitions, or Hive-compatible metadata means Glue; a stem about publishing assets, approval workflows, projects, or letting teams find and request data in self-service means SageMaker Catalog.
Governance frameworks and data sharing patterns
A data governance framework is the organizational system that keeps data trustworthy and compliant: policies defining classification levels and handling rules; named roles — data owners accountable for each domain and data stewards maintaining quality and metadata day to day; cataloging so data is findable with its meaning and sensitivity attached; lineage so any dataset can be traced to its sources and transformations; quality controls; and auditability across the lot. The AWS services in this lesson are the mechanical enforcement of that framework — Macie implements classification, SageMaker Catalog implements cataloging and stewardship workflows, Lake Formation implements access policy, Config and CloudTrail implement auditability.
Data sharing patterns describe how data moves between producers and consumers, and each has a canonical AWS implementation.
| Pattern | How it works | AWS implementation | Trade-off |
|---|---|---|---|
| Centralized data lake | One account owns storage and catalog; consumers are granted in | Lake Formation cross-account grants on a central S3 lake | Strong control; central team can bottleneck |
| Data mesh | Domains own and publish their data as products; federated governance | SageMaker Catalog domains, projects, and subscriptions over Lake Formation | Scales ownership; needs mature stewardship |
| Warehouse live sharing | Read-only, zero-copy access to live warehouse data | Redshift datashares (same or cross account or Region) | Always current; consumers must be Redshift |
| Copy-based distribution | Producer exports snapshots or files to consumers | S3 replication, Redshift unload, cross-Region copies | Works anywhere; stale and duplicated data |
| Commercial exchange | Licensed data products with managed entitlements | AWS Data Exchange (files, APIs, Redshift datashares) | Built-in licensing; third-party focus |
The exam signal words: "single team governs all data" points at the centralized lake; "domain teams own their data as products" is the mesh; "zero-copy, always current, cross-account warehouse access" is a datashare; "monetize or license datasets to external organizations" is AWS Data Exchange. Zero-copy patterns beat copy-based ones whenever the question weighs freshness, duplication cost, or pipeline maintenance — copies win only when consumers sit outside the producing technology or need point-in-time snapshots.
Tip. Expect service-matching questions: Macie for finding PII in S3 (paired with Lake Formation tags for enforcement), Redshift datashares for zero-copy cross-account warehouse sharing (RA3 or Serverless, authorize-then-associate), SCPs with aws:RequestedRegion for Region restriction, and AWS Config for configuration history and compliance rules. Watch for the CloudTrail-versus-Config distinction — who called versus what the configuration became — and for sovereignty stems that want stacked preventive, encryption, and detective controls. Newer items test SageMaker Catalog vocabulary (domains, projects, publish and subscribe) and naming the right data sharing pattern from its signal phrase.
- Amazon Macie discovers sensitive data in S3 (managed and custom data identifiers, automated discovery, policy findings) but never enforces access — enforcement is Lake Formation's job.
- The detect-tag-enforce loop is the tested pattern: Macie findings trigger EventBridge automation that applies Lake Formation LF-tags, and tag-based access control restricts every table or column carrying the pii tag.
- Redshift datashares give live, read-only, zero-copy access using the consumer's own compute; cross-account sharing needs producer authorization plus consumer association, and RA3 or Serverless is required.
- Block disallowed Regions preventively with an SCP on aws:RequestedRegion, and separately deny the replication and copy actions (S3 CRR, DynamoDB global tables, snapshot and backup copies) that move data across Regions without anyone calling an API there.
- AWS Config records configuration history per resource, evaluates compliance with rules, auto-remediates via Systems Manager, and aggregates findings organization-wide — CloudTrail says who called; Config says what the configuration became.
- Data sovereignty stacks three layers: Region-deny SCPs (preventive), single-Region customer managed KMS keys (data-layer), and Config aggregators (detective).
- SageMaker Catalog projects add a publish-subscribe-approve workflow over Lake Formation and Redshift grants; Glue Data Catalog remains the technical metastore underneath.
- Know the sharing patterns by signal phrase: centralized lake (one governing team), data mesh (domain-owned data products), datashares (zero-copy warehouse sharing), Data Exchange (licensed third-party data).
Frequently asked questions
What does Amazon Macie actually do, and what does it not do?
Macie scans Amazon S3 using machine learning, managed data identifiers, and your custom identifiers to find sensitive data such as PII and credentials, via targeted discovery jobs or continuous automated discovery, and it flags risky bucket configurations like public access or missing encryption as policy findings. It does not mask, encrypt, or block access to anything. Findings go to EventBridge and Security Hub, where automation — commonly applying Lake Formation tags or quarantining objects — turns discovery into enforcement.
How does cross-account Amazon Redshift data sharing work?
The producer creates a datashare, adds schemas, tables, or views, and grants it to the consumer AWS account; a producer administrator then authorizes the datashare, and a consumer administrator associates it with specific warehouses, which create a database from it and query with their own compute. The data is never copied — consumers always see the live state. Both sides need RA3 node types or Redshift Serverless, and sharing also works across Regions and through AWS Data Exchange for third parties.
How do I prevent data from being replicated or backed up to a disallowed AWS Region?
Apply a service control policy that denies actions when aws:RequestedRegion is outside your approved list, exempting global services, so no principal can operate in forbidden Regions. Then deny the specific actions that move data across Regions from an allowed one: configuring S3 Cross-Region Replication, adding DynamoDB global table replicas, and copying snapshots, AMIs, or AWS Backup recovery points to non-approved destinations. Use AWS Config aggregators as the detective layer to spot any resource that appears in an unexpected Region.
What is the difference between AWS Config and AWS CloudTrail for auditing?
CloudTrail records API calls — who did what, from where, at what time. AWS Config records the resulting resource configurations over time — what each setting was at any moment, when it changed, and whether the resource complies with your rules. An audit usually needs both: CloudTrail attributes the change to a principal, and Config shows the before-and-after state plus continuous compliance evaluation, with automatic remediation available through Systems Manager Automation.
What are SageMaker Catalog projects and how do they manage data access?
Projects are governed workspaces in Amazon SageMaker Unified Studio that bundle team members, tools, and approved data. Producers publish assets into SageMaker Catalog with business metadata; a project member subscribes to an asset; the data owner approves; and the platform automatically fulfills the underlying Lake Formation or Redshift grants to the project. Access is therefore requested through a catalog, approved by accountable owners, scoped to teams rather than individuals, and fully auditable.
What is the difference between a centralized data lake and a data mesh?
In a centralized lake, one platform account owns storage, cataloging, and permissions, and consumers are granted access inward — strong uniform control, but the central team can become a bottleneck. In a data mesh, domain teams own and publish their data as products while a federated governance layer sets shared standards; on AWS this maps to SageMaker Catalog domains and project subscriptions built over Lake Formation. Choose mesh signals ('domain ownership,' 'data as a product,' 'self-service') versus centralized signals ('single governing team,' 'uniform policy enforcement') in exam stems.
Sign up free to mark lessons complete, bookmark topics and track your exam readiness.