AWS Glue PII Detection and Obfuscation
A data engineer must use AWS services to ingest a dataset into an Amazon S3 data lake. The data engineer profiles the dataset and discovers that the dataset contains personally identifiable information (PII). The data engineer must implement a solution to profile the dataset and obfuscate the PII. Which solution will meet this requirement with the LEAST operational effort?
Community Votes
69% of anonymous learners picked answer B. Votes are pick records left by other test-takers — they are not the verified answer.
Community Insight
The core concept tested is leveraging managed AWS Glue features versus custom code or orchestration layers, with the common trap being the misconception that Data Quality is required for obfuscation or that Lambda is needed for simple transformations.
This question addresses the least operational effort solution for profiling and obfuscating Personally Identifiable Information (PII) in an Amazon S3 data lake using AWS services. It establishes that AWS Glue Studio's built-in capabilities handle both detection and obfuscation natively.
Many learners incorrectly choose Option C because they assume AWS Glue Data Quality handles obfuscation; however, Data Quality is strictly for validation and monitoring, not data transformation or masking.
Community Discussion (23 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
Option B is the correct answer because AWS Glue Studio provides a native 'Detect PII' transform that can identify PII and automatically apply obfuscation actions (such as masking or tokenization) without writing custom code. By using this single transform within a Glue job, the engineer achieves both profiling and obfuscation with minimal configuration. The Step Functions orchestration is a standard pattern for pipeline management but does not add significant operational overhead compared to building custom Lambda functions.Why the Other Options Are Wrong
Option A involves creating a Kinesis Firehose stream and a custom Lambda function, which requires coding, testing, and managing more infrastructure than a Glue job, thus violating the 'least operational effort' requirement. Option C incorrectly suggests using AWS Glue Data Quality for obfuscation; Data Quality is designed for validating data against rules and generating reports, not for modifying or masking data values. Option D proposes ingesting into DynamoDB first, which adds unnecessary complexity, storage costs, and development effort for a task that can be done directly in Glue before loading to S3.Community Comment Notes
Community comments heavily support Option B, with many users noting that Glue Studio handles PII detection and obfuscation directly. As user milofficial noted, "How does Data Quality obfuscate PII? You can do this directly in Glue Studio," highlighting the key distinction between validation and transformation. User bigfoot1501 confirmed that "Just AWS Glue is enough, it can detect and obfuscate PII data already," referencing official documentation. Some users initially chose C due to confusion about Data Quality's role, but consensus clarified that it cannot perform obfuscation.Official Reference
Exam Strategy
When asked for 'least operational effort', prioritize fully managed, purpose-built services over custom code (Lambda) or multi-step complex workflows. Familiarize yourself with the specific capabilities of AWS Glue Studio transforms, especially regarding PII handling, to avoid confusing them with Data Quality or other separate services.
Frequently Asked Questions
Can AWS Glue Data Quality obfuscate PII?
No. AWS Glue Data Quality is used for validating data quality and monitoring metrics, not for transforming or obfuscating data values.
Why is Lambda less efficient than Glue for this task?
Lambda requires custom code for detection and obfuscation logic, whereas Glue Studio offers pre-built, no-code transforms for PII handling, reducing development time.
Related Analysis
Practice All DEA-C01 Questions
Access 100 questions with complete answers and detailed explanations.
View Full DEA-C01 Practice Test →