S3 Object Lambda for Redacting PII with Least Overhead
Short answer
A Use an S3 Object Lambda Access Point with a Lambda function to dynamically redact PII from text files upon retrieval by the external service provider.
Question
Key Takeaways
The core concept is dynamic data transformation via S3 Object Lambda; the common trap is choosing batch processing or secondary storage (EC2/DynamoDB) which increases complexity and cost.
This question tests the use of S3 Object Lambda to dynamically redact sensitive data like PII from text files without storing separate copies. The correct solution leverages a Lambda function attached to an Object Lambda Access Point to handle redaction on retrieval, ensuring minimal operational overhead.
Common mistake: Learners often choose Option B (EC2 batch process) because it feels familiar, but it fails the 'least operational overhead' requirement by requiring instance management and scheduled jobs.
Expert Analysis
Why the Answer Is Correct
Option A is the correct choice because S3 Object Lambda allows you to add your own code to Amazon S3 GET requests that modifies the object returned to the caller. By creating an Object Lambda Access Point and attaching a Lambda function, the system automatically redacts PII every time the external provider reads a file. This approach requires no additional infrastructure like EC2 instances or DynamoDB tables, satisfying the 'least operational overhead' constraint while naturally scaling with S3.
Why the Other Options Are Wrong
Option B involves managing an EC2 instance for a batch process, which introduces significant operational overhead (patching, scaling, monitoring) and latency, violating the efficiency requirement. Option C requires maintaining a DynamoDB table and a complex trigger architecture to sync non-PII data, which is over-engineered for simple file access and adds unnecessary database management costs. Note: One comment incorrectly references RAID 0 (Option D in a different context), which is irrelevant here as there is no fourth option provided in this specific question text.
Community Comment Notes
The community overwhelmingly supports Option A, citing its simplicity and alignment with AWS best practices for dynamic data masking. As user osmk noted, official documentation confirms this pattern for redacting PII. Users like trinh_le emphasize that Object Lambda handles transformations 'on the fly' without needing extra buckets or instances, minimizing operational burden. Multiple users confirmed that while other methods might work technically, they fail the specific constraint of 'least operational overhead'.
Official Reference
- https://docs.aws.amazon.com/AmazonS3/latest/userguide/customize-object-response.html
- https://docs.aws.amazon.com/AmazonS3/latest/userguide/tutorial-s3-object-lambda-redact-pii.html
These links open the official vendor documentation in a new tab.
Exam Strategy
When asked for 'least operational overhead' in AWS solutions, always look for managed services that eliminate infrastructure management (like EC2 or self-managed databases). If the requirement involves transforming data on access rather than storing it differently, S3 Object Lambda is likely the intended answer.
Frequently Asked Questions
Why is S3 Object Lambda better than batch processing?
Does S3 Object Lambda support random sample access?
Community Votes
100% of anonymous learners picked answer A. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 7 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 7
-
osmk 👍 13 Answered Ahttps://docs.aws.amazon.com/AmazonS3/latest/userguide/tutorial-s3-object-lambda-redact-pii.html
-
trinh_le 👍 3 Answered AUse AWS Lambda functions to change the Object before it is retrieved by the caller application. Only one S3 bucket is needed, on top of which we create S3 Access Point And S3 Object Lambda Access Points Use case: 1. Redact PII for analytics or non-production environment 2. Convert across data formats ex: XML to Json 3. Resizing and watermaking images on fly using caller-specific details ex: user who requested the object
-
zinabu 👍 1 Answered DCreating a RAID 0 array allows you to achieve a higher level of performance for a file system than you can provision on a single Amazon EBS volume. Use RAID 0 when I/O performance is of the utmost importance. With RAID 0, I/O is distributed across the volumes in a stripe. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/raid-config.html
-
LeonSauveterre 👍 1 Answered AIf you want to achieve the goal stipulated in the question, all 4 options work, but only option A minimizes operational overhead and ensures scalability while redacting PII dynamically.
-
Andy_09 👍 5Option A
Show 2 more comments
-
VIad 👍 3A is the correct choice.
-
Umuntu 👍 3A is the best choice
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All SAA-C03 Questions
Access 120 questions with complete answers and detailed explanations.
View Full SAA-C03 Practice Test →