Data Security and Governance (18%)
Domain 4 is 18% of the scored content of the AWS Certified Data Engineer – Associate (DEA-C01) exam. AWS facts were checked against current AWS documentation in November 2026.
| Task | Statement |
|---|---|
| 4.1 | Apply authentication mechanisms |
| 4.2 | Apply authorization mechanisms |
| 4.3 | Ensure data encryption and masking |
| 4.4 | Prepare logs for audit |
| 4.5 | Understand data privacy and governance |
Overview
Domain 4: Data Security and Governance AWS Certified Data Engineer – Associate (DEA-C01): who can reach the data, what they can see, and proof of it
Welcome to Domain 4 of the AWS Certified Data Engineer Associate exam, DEA-C01: Data Security and Governance. It is 18 percent of the scored content, about 9 of the 50 scored questions.
Task 4.1 is authentication: security groups, IAM roles for services, V P C endpoints and access points, secrets rotation, and SageMaker Unified Studio domains and projects.
Task 4.2 is authorization: custom least-privilege policies, stored credentials, Redshift users, groups and roles, Lake Formation permissions, and role, tag and attribute-based access.
Task 4.3 is encryption and masking: K M S keys, encryption across accounts, encryption in transit, and masking or anonymizing sensitive data.
Task 4.4 is preparing logs for audit with CloudTrail, CloudTrail Lake and CloudWatch Logs, and analyzing them.
Task 4.5 is privacy and governance: data sharing, P I I discovery, keeping data in allowed Regions, configuration history, and governance frameworks.
The key: grant the narrowest access, and log every use of it.
Exam key takeaway: Domain 4 tests secure connectivity and credentials, fine-grained data permissions, encryption and masking, audit-ready logging, and keeping data private and in allowed Regions.
4.1 Apply authentication mechanisms
Authentication and Access Paths Task 4.1 · Who and what can connect to data
- Security groups: Task 4.1 is authentication. Security groups allow only needed ports and sources; Glue jobs in a V P C need a self-referencing rule so workers can talk to each other.
- IAM roles for services: Give Glue, Lambda, E M R, Redshift and A P I Gateway IAM roles, never long-term keys in code.
- Private access: Reach services privately with V P C endpoints and PrivateLink, and control S3 access per application with access points and their policies.
- Secrets: Store database credentials in Secrets Manager with automatic rotation, or Parameter Store secure strings for configuration.
- Managed vs unmanaged: With managed services, A W S operates more of the stack; with unmanaged ones, such as databases on EC2, you secure the operating system and software.
- SageMaker Unified Studio: SageMaker Unified Studio organizes access with domains, domain units and projects, grouping people and data by team.
Exam key takeaway: Tighten security groups, give services IAM roles, connect privately with endpoints and access points, rotate secrets, know the managed vs unmanaged split, and organize Unified Studio by projects.
4.2 Apply authorization mechanisms
Authorization for Data Task 4.2 · Grant exactly what each user and service needs
| Need | Use | Detail |
|---|---|---|
| Table, column and row access in the lake | AWS Lake Formation | Grants for Athena, Redshift, EMR, Glue |
| Permissions at scale by tag | Lake Formation LF-Tags | Tag-based access control |
| Database-level access in Redshift | GRANT to users, groups and roles | Row-level security, column grants |
| A need no managed policy fits | Custom IAM policy | Specific actions and resource ARNs |
| Access that follows attributes | ABAC with principal and resource tags | One policy for many teams |
| Credentials for apps and databases | Secrets Manager, Parameter Store | Retrieve at runtime |
Task 4.2 is authorization. Lake Formation grants table, column and row-level access, enforced by Athena, Redshift Spectrum, E M R and Glue.
LF-Tags grant permissions by tag, so new tables inherit access without new grants.
Inside Redshift, grant privileges to users, groups and roles, with column grants and row-level security policies.
When no managed policy fits, write a custom IAM policy with specific actions and resource A R Ns.
Attribute-based access control matches principal and resource tags, while role-based access maps job functions to roles.
Applications retrieve database credentials at runtime from Secrets Manager or Parameter Store.
Exam key takeaway: Use Lake Formation for fine-grained lake access and LF-Tags at scale, Redshift grants and row-level security in the warehouse, custom least-privilege policies, ABAC, and secrets at runtime.
4.3 Ensure data encryption and masking
Encryption and Masking Task 4.3 · Protect data at rest, in transit and on display
- Encryption at rest: Task 4.3 is encryption. Encrypt at rest with K M S keys across S3, Redshift, Glue and E M R, and use S3 Bucket Keys to reduce K M S request costs.
- Across accounts: To encrypt across account boundaries, use a customer managed key whose key policy grants the other account; A W S managed keys can't be shared.
- In transit: Encrypt in transit with T L S, for example by requiring S S L connections in Redshift, or encrypt before transit with client-side encryption.
- Dynamic masking: Redshift dynamic data masking shows masked values to most users and real values to authorized roles.
- Detect and redact PII: Glue's sensitive data detection can find and redact P I I in jobs, and Macie finds P I I stored in S3.
- Anonymize: Anonymize with hashing, tokenization or generalization so analysts can work without identities.
Exam key takeaway: Encrypt at rest with KMS and Bucket Keys, share customer managed keys across accounts, require TLS or encrypt client-side, mask dynamically in Redshift, detect PII with Glue and Macie, and anonymize.
4.4 Prepare logs for audit
Audit Logging and Analysis Task 4.4 · Record activity and query it later
| Need | Service | Notes |
|---|---|---|
| Record every API call | AWS CloudTrail | Management events; data events for S3 objects |
| Central SQL over audit events | AWS CloudTrail Lake | Event data stores, long retention |
| Application logs | Amazon CloudWatch Logs | Retention, KMS encryption, export |
| Interactive log search | CloudWatch Logs Insights | Fast queries on recent logs |
| Logs in S3 at scale | Amazon Athena, Amazon EMR | EMR for very large volumes |
| Search and dashboards on logs | Amazon OpenSearch Service | Near real-time indexing |
Task 4.4 is audit logging. CloudTrail records A P I calls; enable data events to capture S3 object reads and writes.
CloudTrail Lake stores events in event data stores and answers audit questions with S Q L.
Store application logs in CloudWatch Logs with retention and K M S encryption.
Search recent logs with CloudWatch Logs Insights.
Query logs in S3 with Athena, or process very large log volumes with E M R.
Index logs in OpenSearch Service for search and dashboards.
Exam key takeaway: CloudTrail records API calls (with data events for objects), CloudTrail Lake answers with SQL, CloudWatch Logs stores app logs, and Logs Insights, Athena, EMR and OpenSearch analyze them.
4.5 Understand data privacy and governance
Data Privacy and Governance Task 4.5 · Share safely, find PII, and keep data where it belongs
- Redshift data sharing: Task 4.5 is governance. Redshift data sharing gives other warehouses and accounts live read-only access, governed by grants or Lake Formation.
- PII identification: Macie identifies P I I in S3, and Lake Formation tags can then restrict access to the affected data.
- Allowed Regions only: Prevent backups or replicas in disallowed Regions with S C Ps or Control Tower Region deny, and by limiting AWS Backup copy and S3 replication destinations.
- Configuration history: AWS Config shows configuration changes over time, such as when a bucket policy changed.
- Data sovereignty: Data sovereignty means data stays under the right jurisdiction, through Region choice, guardrails and key control.
- Governance frameworks: Govern sharing with SageMaker Catalog projects and subscription requests, supporting patterns such as data mesh with producers and consumers.
Exam key takeaway: Share live data with Redshift data sharing, find PII with Macie, block disallowed Regions with SCPs and replication rules, review changes in Config, respect sovereignty, and govern with SageMaker Catalog.
Review
Exam Distractors: What to Reject Answers that over-grant, skip logging, or copy data needlessly
- S3 bucket policies to hide one column from analysts. Lake Formation column permissions.
- Sharing data across accounts with the aws/s3 key. A customer managed KMS key.
- Copying warehouse tables to another account. Redshift data sharing.
- Database passwords inside Glue job scripts. Secrets Manager.
- Management events only to audit S3 object reads. CloudTrail data events.
- A wiki rule asking teams to avoid other Regions. An SCP or Region deny control.
Exam key takeaway: Reject bucket policies for column security, the AWS managed key across accounts, copied tables, passwords in scripts, missing data events, and wiki-only Region rules.
Where current AWS differs from the exam guide
- Amazon DataZone capabilities appear as Amazon SageMaker Catalog in SageMaker Unified Studio, the names the guide now uses.
References
- AWS Certified Data Engineer – Associate exam page — checked Nov 30, 2026
Check your understanding
Analysts see all columns except salary in Athena.Show answerHide answer
Answer
Lake Formation column filter.Show masked card numbers to most Redshift users.Show answerHide answer
Answer
Dynamic data masking.Find PII across 300 S3 buckets.Show answerHide answer
Answer
Amazon Macie.Rotate the Redshift password every 30 days.Show answerHide answer
Answer
Secrets Manager rotation.Query a year of API activity with SQL.Show answerHide answer
Answer
CloudTrail Lake.