AWS Certified Data Engineer - Associate (DEA-C01) · AWS
Data Security and Governance
12 practice questions covering 18% of the official AWS Certified Data Engineer - Associate (DEA-C01) blueprint. Every item includes a worked explanation of the correct answer.
View all 4 domains in AWS Certified Data Engineer - Associate (DEA-C01)
Syllabus Coverage & Domain Overview
Data Security and Governance is the fourth content domain of the DEA-C01 exam and carries 18 percent of the scored content, so it is a substantial slice rather than a side topic. The official outline splits it into five tasks: applying authentication mechanisms, applying authorization mechanisms, ensuring encryption and masking, preparing logs for audit, and understanding data privacy and governance. Expect each of these to show up as a scenario about a pipeline, a data lake or a warehouse, not as a stand-alone security question.
Authentication covers security groups, IAM roles and the services that assume them (Lambda, API Gateway, CloudFormation, the CLI), credential storage and rotation with Secrets Manager, and endpoint-related policies such as S3 Access Points and PrivateLink. Authorization goes further: custom IAM policies written for least privilege, database-level grants in Amazon Redshift, and permissions managed through AWS Lake Formation for Athena, EMR, Redshift and S3. You should be able to tell role-based, tag-based and attribute-based access apart and know when each reduces administrative effort. Encryption covers KMS keys, encryption in transit and before transit, masking and anonymization driven by policy, and encryption across account boundaries, where both the key policy and the caller's IAM permissions must allow the action. Audit work centers on CloudTrail for API activity, CloudTrail Lake for queries across events, CloudWatch Logs for application logs, and analysis with Athena, Logs Insights or OpenSearch. Governance includes Redshift data sharing, PII detection with Macie alongside Lake Formation, AWS Config for configuration history, keeping backups and replicas out of disallowed Regions, data sovereignty, and SageMaker Catalog and Unified Studio projects.
The distinctions the exam rewards are the ones between similar tools. Secrets Manager versus Parameter Store, customer managed versus AWS managed KMS keys, Lake Formation permissions versus plain IAM and bucket policies, CloudTrail (who called what) versus Config (what changed) versus CloudWatch Logs (what the application said), and detecting sensitive data versus protecting it. Granularity matters too: a requirement for column, row or cell restrictions points toward Lake Formation data filters or Redshift masking and row-level controls instead of broad table grants.
Questions usually describe a requirement and ask for the solution with the least operational overhead, the least privilege, or no data movement. Common traps include choosing a custom-built option when a managed feature exists, forgetting that a cross-account reader needs access to the encryption key as well as the data, granting wide permissions where a scoped policy would do, and picking a detection service when the scenario needs enforcement. Watch for wording about Regions, private connectivity and auditability, since these often decide between two otherwise plausible answers.
To prepare, read the five task statements and make sure you can explain each listed skill in a sentence. Then build a small lab: register an S3 location in Lake Formation, grant column-level access to a second role, query it from Athena, add a KMS key, rotate a secret, and look up the resulting events in CloudTrail. Practicing questions afterward helps you spot the keywords that separate near-identical answers.
In the official AWS Certified Data Engineer - Associate (DEA-C01) examination blueprint, Data Security and Governance carries a weightage of 18%. Out of the total examination duration of 2 hr 10 min, candidates should budget approximately 23 min for questions from this domain to maintain pace across the paper.
How to Master Data Security and Governance for AWS Certified Data Engineer - Associate (DEA-C01)
Our 12 published questions in Data Security and Governance are written for PrepIQ Hub and checked as set out in our editorial policy. Each item is written to the medium difficulty level of the AWS exam:
- Targeted Topic Drills: Launch Topic Practice mode to work exclusively through Data Security and Governance items and review the step-by-step derivation after each submission.
- Negative Marking Discipline: The AWS Certified Data Engineer - Associate (DEA-C01) applies no negative marking penalty, so practice eliminating the three distractors systematically on every Data Security and Governance item.
- Benchmark Target: Aim for at least 72% accuracy in Data Security and Governance drills before moving to full-paper simulations.
Data Security and Governance worked examples
Data Security and Governance questions from the AWS Certified Data Engineer - Associate (DEA-C01) syllabus, answered in full. Try each one before opening the explanation.
Example 1 · Data Security and Governance · medium
An enterprise has 350 tables in its AWS Glue Data Catalog and 40 analytics teams. Instead of maintaining thousands of individual IAM policies and S3 bucket prefixes, the security team wants to attach classification tags (such as Confidentiality=PII and Department=Finance) to databases, tables, and columns, and grant permissions dynamically based on those tags. Which AWS service feature provides this?
Show answer and explanation
Correct answer: A. AWS Lake Formation Tag-Based Access Control (LF-TBAC)
Why
AWS Lake Formation Tag-Based Access Control (LF-TBAC) is the Lake Formation feature built for this exact scenario. Data stewards create LF-Tags as key-value pairs, such as Confidentiality=PII or Department=Finance, and attach them to Data Catalog databases, tables, and columns. Tags assigned at the database level are inherited by the tables and columns beneath it, unless a lower level overrides them. Permissions are then granted to IAM principals through LF-Tag expressions rather than named resources. A principal who is granted SELECT on Department=Finance automatically gets access to every matching resource, including new tables that carry the tag. This scales far better than named-resource grants or hundreds of IAM and S3 prefix policies, and it works across integrated engines such as Athena, Redshift Spectrum, and EMR. The common trap is picking a network or content-delivery control because it sounds like security. Only Lake Formation governs catalog metadata and columns by tag.
- B. Amazon S3 Pre-signed URLs with 15-minute expiration — S3 pre-signed URLs are time-limited links that give a holder temporary access to one S3 object, using the signer's credentials. They have no knowledge of catalog tags, tables, or columns, and they would not remove the need to manage many policies.
- C. AWS Network Firewall stateless 5-tuple packet filters — AWS Network Firewall is a managed network firewall that inspects VPC traffic using stateless rules, such as 5-tuple filters, and stateful rules. It works at the packet level and cannot see Glue Data Catalog databases, tables, or columns, so it cannot grant data permissions based on tags.
- D. Amazon CloudFront Origin Access Control (OAC) policies — CloudFront Origin Access Control restricts access to an S3 or other origin so that content can be served only through a CloudFront distribution. It secures CDN delivery and does not govern analytics access to catalog tables or columns by classification tag.
Example 2 · Data Security and Governance · medium
A healthcare analytics team queries a patient_encounters table in Amazon Athena governed by AWS Lake Formation. Nurses in the Clinical_US role must only see rows where country = 'US' AND must NOT see the ssn or credit_card columns. Which single AWS Lake Formation feature enforces both row filtering and column exclusion simultaneously?
Show answer and explanation
Correct answer: B. AWS Lake Formation Data Cells Filter with row and column rules
Why
AWS Lake Formation data filters, also called data cells filters, provide cell-level security on Glue Data Catalog tables. A single filter can contain a row filter expression, such as country = 'US', together with a column list that either includes only allowed columns or excludes specific ones, such as ssn and credit_card. You create the filter on the table and grant SELECT on it to a principal, here the Clinical_US role. Integrated engines like Athena, Redshift Spectrum and EMR then apply the filter at query time, so the nurses never receive restricted rows or columns. This is centralized and does not require duplicating data into separate tables or views. The common trap is choosing something that sounds related to data lifecycle, cataloging or geography but is not an access control mechanism. Another trap is thinking you need separate column-level grants and a separate row-level mechanism. A data cells filter combines both in one resource, which is why the question says single feature.
- A. Amazon S3 Lifecycle Expiration rules set to 1 day — S3 Lifecycle rules transition or expire objects based on age to manage storage cost and retention. They act on whole objects, not on rows or columns, and know nothing about IAM roles or query-time access, so they cannot restrict what nurses see.
- C. AWS Glue Crawler classifier Grok patterns on the S3 bucket — A Glue crawler classifier with Grok patterns tells the crawler how to parse custom-format text files so it can infer a schema for the Data Catalog. It is a schema discovery tool and does not enforce row or column permissions at query time.
- D. Amazon Route 53 Geolocation routing policy for US users — Route 53 geolocation routing is a DNS policy that answers queries differently depending on the requester's location. It controls traffic routing to endpoints, not data access, and has no ability to filter rows or hide columns in Athena. The country column in the data is unrelated to the user's DNS location.
Example 3 · Data Security and Governance · easy
A compliance auditor requires an automated AWS service that continuously scans newly uploaded objects in Amazon S3 buckets using machine learning and pattern matching to discover unencrypted Personally Identifiable Information (PII) such as credit card numbers, passport numbers, and Social Security numbers. Which service is purpose-built for this?
Show answer and explanation
Correct answer: D. Amazon Macie automated sensitive data discovery on S3
Why
Amazon Macie is the AWS service purpose-built to discover sensitive data in Amazon S3. It uses machine learning and pattern matching, including managed data identifiers for items such as credit card numbers, passport numbers, and Social Security numbers, and you can add custom data identifiers for your own patterns. Automated sensitive data discovery continuously samples and evaluates objects across your buckets, and classification jobs can scan specific buckets or newly uploaded objects. Findings are published to Amazon EventBridge and AWS Security Hub for alerting and remediation workflows. Macie also reports bucket-level posture, such as whether buckets are public or unencrypted. The common trap is picking a service from the broader security family just because it sounds like compliance or scanning. On the exam, S3 plus PII discovery plus machine learning points to Macie. Inspector is about vulnerabilities, Shield about DDoS, and Artifact about compliance reports.
- A. Amazon Inspector scanning EC2 instances for OS CVEs — Amazon Inspector is a vulnerability management service that scans EC2 instances, container images in ECR, and Lambda functions for software vulnerabilities and unintended network exposure. It does not inspect the contents of S3 objects for PII, so it cannot meet this requirement.
- B. AWS Shield Standard protecting against L3/L4 SYN floods — AWS Shield Standard is automatic DDoS protection against common network and transport layer attacks such as SYN floods. It protects availability and does not read or classify data stored in S3, so it cannot discover PII.
- C. AWS Artifact hosting downloadable SOC 2 compliance PDFs — AWS Artifact is a self-service portal for downloading AWS compliance reports and agreements, such as SOC reports. It supplies documentation about AWS's own compliance and does not scan your data, so it cannot find PII in your buckets.
Example 4 · Data Security and Governance · medium
In Amazon Redshift, customer support analysts need to query the customers table, where the email column (alice@example.com) must be shown in full to the Compliance_Admin role, but automatically rendered as xxxxx@example.com for the Support_Analyst role without duplicating the table. Which native Redshift security feature implements this?
Show answer and explanation
Correct answer: C. Amazon Redshift Dynamic Data Masking policies attached by role
Why
Amazon Redshift Dynamic Data Masking (DDM) allows administrators to define masking policies (CREATE MASKING POLICY ... USING (regexp_replace(email, ...))) and attach them to columns and roles so sensitive values are obfuscated at query runtime based on the querying user's role.
- A. Amazon Redshift Concurrency Scaling burst cluster routing — Concurrency Scaling adds read cluster capacity under load and does not mask column values.
- B. Amazon Redshift Automatic Table Optimization (ATO) sort keys — ATO tunes sort and distribution keys for performance, not role-based PII masking.
- D. AWS Certificate Manager (ACM) public TLS wildcard certificates — ACM manages TLS transport certificates and does not mask SQL column values per database role.
Example 5 · Data Security and Governance · hard
Account A (the central Data Mesh Producer account) owns an S3 data lake governed by AWS Lake Formation and wants to share specific tables in the sales_db Glue database with Account B (a Consumer account) so Account B's analysts can query the tables in Amazon Athena without copying any S3 data. Which two steps are required? (Select two.)
Show answer and explanation
Correct answers: B. Grant Lake Formation SELECT and DESCRIBE permissions to Account B; C. Create a Resource Link to the shared table in Account B's Catalog
Why
Zero-copy cross-account data sharing in AWS Lake Formation works by granting Lake Formation permissions (SELECT / DESCRIBE) to Account B (which uses AWS Resource Access Manager — AWS RAM — under the hood) (B) and having Account B create a Resource Link in its own local Glue Data Catalog pointing to the shared table/database so Athena can query it (C).
- A. Make the Producer S3 bucket public (Principal: *) on the internet — Making an enterprise data-lake S3 bucket public violates security governance and is blocked by S3 Block Public Access.
- D. Copy the Parquet files nightly into Account B using AWS Snowball — Lake Formation cross-account sharing is zero-copy and queries the Producer's S3 bucket directly in place.
Every worked example on this page passed our independent verification before publication — how that works is set out in our editorial policy. Spotted an error? Tell us through the contact page and we will correct it.
All 5 Data Security and Governance questions with answers
- An enterprise has 350 tables in its AWS Glue Data Catalog and 40 analytics teams. Instead of maintaining thousands of…
- A healthcare analytics team queries a patient_encounters table in Amazon Athena governed by AWS Lake Formation. Nurses…
- A compliance auditor requires an automated AWS service that continuously scans newly uploaded objects in Amazon S3…
- In Amazon Redshift, customer support analysts need to query the customers table, where the email column…
- Account A (the central Data Mesh Producer account) owns an S3 data lake governed by AWS Lake Formation and wants to…
All Syllabus Domains in AWS Certified Data Engineer - Associate (DEA-C01)
Data Ingestion and Transformation
11 questions · 34%Data Store Management
14 questions · 26%Data Operations and Support
10 questions · 22%Data Security and Governance (Current domain)
12 questions · 18%
AWS and Amazon Web Services are trademarks of Amazon.com, Inc. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Amazon Web Services.