Amazon DEA-C01: Data Security, Governance, and Compliance — Study Guide

Part of the Amazon Data Engineer Associate DEA-C01 — Study Guide. Practice with verified answers in the Amazon exam hub, or take timed practice tests on ExamRoll.io.

This domain covers the controls, services, and operational patterns that keep data protected, auditable, and compliant while enabling analytics. Data engineers must design encryption, access control, discovery, and masking so analytics workflows run without exposing PII or breaking service integrations. The section below focuses on concrete AWS services and configurations—S3/Redshift encryption, KMS, IAM and resource policies, Lake Formation fine-grained access, Macie discovery, and network controls such as VPC endpoints—plus decision criteria you’ll use when designing pipelines.

Encryption at rest and in transit for data services

Encrypt data in transit using TLS for all AWS service endpoints and client SDKs; enforce with service endpoints, ALBs, API Gateway, and by requiring HTTPS on S3 bucket policies. For at-rest encryption in S3 choose among SSE-S3, SSE-KMS, SSE-C, or client-side encryption with the following trade-offs and CLI/console patterns:

Decision criteria:

Redshift encryption: enable encryption at cluster creation by specifying –encrypted and –kms-key-id or via console. Encryption cannot be enabled in-place on an unencrypted cluster; to encrypt an existing cluster snapshot and restore to an encrypted cluster, use aws redshift create-cluster or the RestoreFromClusterSnapshot workflow with –kms-key-id. KMS key policy must explicitly allow Redshift to use the key (kms:Encrypt, kms:Decrypt, kms:GenerateDataKey).

For all KMS-backed services, ensure TLS in transit and limit plaintext exposure in logs and snapshots.

IAM policies and resource-based policies for data access

IAM identity policies and resource-based policies (S3 bucket policies, KMS key policies, VPC endpoint policies) together determine access. A specific approach:

CLI/console patterns:

Decision criteria:

Lake Formation fine-grained permissions

Lake Formation centralizes data lake access control on top of the Glue Data Catalog and provides column-level and row-level security for Athena and Glue jobs. Key patterns:

Operational details:

Decision criteria:

Data masking, tokenization, and PII handling

Detect PII using Amazon Macie to scan S3 buckets and run classification jobs with managed data identifiers. Macie provides automated discovery and alerting for PII, and findings can be routed to Security Hub or CloudWatch Events for downstream workflows. Configure Macie jobs via console or aws macie2 create-classification-job, select S3 bucket scope, and choose managed identifiers.

For masking and tokenization:

Networking and private traffic:

Common Pitfalls and Decision Criteria

Practical Problem: Use-Case Scenario

Acme Health Analytics stores patient CSVs in an S3 data lake and must provide analysts access to de-identified fields while retaining the ability to run aggregate queries; traffic must never traverse the public internet.

  1. Register the S3 data lake locations in Lake Formation and create a dedicated data lake admin role.
  2. Configure bucket default encryption with SSE-KMS and create a KMS key whose key policy explicitly grants Glue, Athena, and Redshift service principals and the analyst IAM roles access.
  3. Use Lake Formation to grant table-level SELECT to analysts but apply column-level denies for PII columns and create row-level filters if multi-tenant segmentation is required.
  4. Run Macie classification jobs to discover any remaining PII in the buckets and remediate by masking/tokenizing in Glue ETL jobs; use client-side or tokenization patterns for reversible tokens and hash for irreversible masking.
  5. Create an S3 gateway VPC endpoint and interface endpoints for Glue and Secrets Manager; apply endpoint policies to restrict access to VPC traffic and adjust S3 bucket policies to permit only the endpoint principal.

AWS best-practice rationale: combine KMS-backed encryption, Lake Formation fine-grained catalog controls, and private VPC endpoints to enforce defense-in-depth—encryption protects data at rest, Lake Formation controls what columns/rows are visible, and VPC endpoints avoid public network exposure while KMS policies ensure services can actually decrypt data.


Data Query and Analytics · All domains · Data Pipeline Monitoring and Troubleshooting

Practice these questions → · Timed practice on ExamRoll.io →

Pass the whole exam — not just this question

You found this answer. Get every verified question and explanation in one place, and save hours of prep. Free to start.

Pass your exam →

Browse Amazon →

Related guides

All-in-one access

One subscription. Every exam.

Every plan unlocks unlimited answer search, practice tests, AI explanations, and the full resource library — in 20+ languages.

Monthly
24.87
Just €0.83/day
Everything included:
  • Unlimited answer search
  • Unlimited practice tests
  • AI-powered explanations
  • Full resource library
  • 20+ languages
  • Weekly content updates
  • Rewards & referrals
  • Priority support
Start free trial

No credit card required*

Best value
12 months
179.87
Just €0.49/daySave 40%
Everything included:
  • Unlimited answer search
  • Unlimited practice tests
  • AI-powered explanations
  • Full resource library
  • 20+ languages
  • Weekly content updates
  • Rewards & referrals
  • Priority support
Start free trial

No credit card required*

✓ Free plan included · ✓ Cancel anytime · ✓ All plans unlock the full product