You must implement row-level access control for a dataset queried via Amazon Athena. The access policy must filter rows by user’s region claim while allowing column-level masking for a sensitive field. Which AWS capability combination best satisfies this?
Answer
Use AWS Lake Formation permissions with a Data Catalog resource policy and define LF-tags for region, plus apply column-level masking using Lake Formation permissions
Explanation
Lake Formation provides fine-grained access using LF-tags and supports masking through permissions. This enforces both row filtering and column masking at query time.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
You must implement data quality checks that prevent corrupt records from being written into the curated zone while still tracking rejected records for auditing. Which approach is best?
View question →
You are ingesting data with AWS Glue Streaming and need low-latency queries while controlling file sizes to avoid small-file performance issues in the lake. Which strategy is most appropriate?
View question →
You are designing a transformation layer for incremental changes from an operational system where updates are represented as CDC events. Which approach best aligns with efficient incremental processing in AWS?
View question →
Which sequence most directly enables a durable, consistent ingestion pipeline for semi-structured JSON events that may arrive out of order, while maintaining idempotency for replays?
View question →
A downstream consumer needs exactly-once processing semantics for a stream-to-lake pipeline. However, producers can retry and networks can duplicate. Which design most directly improves end-to-end idempotency to approximate exactly-once behavior?
View question →
A Glue job writes partitioned Parquet to S3. You observe that query results in Athena are inconsistent across repeated runs for the same time range. What is the most likely cause and mitigation?
View question →