AWS Data Engineer DEA-C01 · 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?
Published · Last updated · checked before publication — how we verify questions
Options
Answer: B. AWS Lake Formation Data Cells Filter with row and column rules
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.
Why the other options are wrong
- 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.
More Data Security and Governance questions
- An enterprise has 350 tables in its AWS Glue Data Catalog and 40 analytics teams. Instead of maintaining thousands of…
- 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…
- An AWS Glue job running inside a private VPC subnet (with no NAT Gateway or Internet Gateway) needs to read and write…
All Data Security and Governance questions and the topic overview →
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.