Give each application an S3 Object Lambda access point that redacts data as objects are retrieved
A company is launching an application that stores raw data in an Amazon S3 bucket. Three applications need to access the data to generate reports. The data must be redacted differently for each application before the applications can access the data. Which solution will meet these requirements?
Community Votes
100% of anonymous learners picked answer D. Votes are pick records left by other test-takers — they are not the verified answer.
Community Insight
S3 Object Lambda access points run an AWS Lambda function on each GET request, which is the only option that applies a per-consumer transformation at read time without duplicating data (D). Option A replicates the same raw objects into three buckets, producing no redaction at all, and option C writes redacted copies through an ordinary access point, which stores one fixed redaction rather than a per-application one and still requires an event-driven copy step. Option B funnels every application through one shared Kinesis stream, so per-consumer redaction is impossible there.
Because the raw data must be redacted differently for each of the three reporting applications, each application needs its own on-read transformation. Create an S3 access point on the raw-data bucket, then for each application create an S3 Object Lambda access point backed by that access point with its own Lambda function that performs the application-specific redaction during retrieval. Each application then reads through its own Object Lambda access point and receives data redacted exactly as it requires, with the raw bucket itself never exposed.
Using S3 Same-Region Replication to three buckets (A)—replication copies identical raw objects and performs no redaction, so every application would still see sensitive fields. Writing redacted data through a standard S3 access point with an event-triggered Lambda (C)—a plain access point serves stored bytes with no on-read transformation, and one stored redaction cannot satisfy three different redaction requirements. Sharing a Kinesis stream across all applications (B) also cannot vary the output per consumer. Object Lambda access points are the mechanism built for per-request, per-consumer transformation.
Community Discussion (9 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
S3 Object Lambda access points associate an AWS Lambda function with an access point so that the function is invoked on each object retrieval and can transform the response before it reaches the client. Pointing them at an access point on the raw-data bucket gives each of the three reporting applications its own access point and its own redaction logic, so each consumer receives data redacted to its own specification while the underlying bucket remains private and unmodified.Why the Other Options Are Wrong
A replicates the identical raw objects into three separate buckets, which performs no redaction at all and triples storage without changing what any application sees. C stores redacted objects through a standard access point, which serves stored bytes with no on-read transformation; it would also require choosing a single redaction format, which cannot satisfy three different requirements, and the dzn commenter noted that Object Lambda is generally a poor fit for generating aggregate reports, which is a valid workload caveat. B publishes every application onto one shared Kinesis data stream, so consumers cannot each receive a different transformation of the same record. D is the correct choice.Community Comment Notes
Community voted D (92), with commenters linking the AWS tutorial on using an S3 Object Lambda access point to transform data. One commenter argued for C on the grounds that Object Lambda is costly for aggregate reporting; that is a legitimate workload-specific concern, but the requirement is a different transformation per application at read time, for which Object Lambda access points are the purpose-built mechanism.Official Reference
Related Analysis
Practice All DOP-C02 Questions
Access 85 questions with complete answers and detailed explanations.
View Full DOP-C02 Practice Test →