AWS Certified Developer – Associate — Question 93

A financial company must store original customer records for 10 years for legal reasons. A complete record contains personally identifiable information (PII). According to local regulations. PII is available to only certain people in the company and must not be shared with third parties. The company needs to make the records available to third-party organizations for statistical analysis without sharing the PII.

A developer wants to store the original immutable record in Amazon S3. Depending on who accesses the S3 document, the document should be returned as is or with all the PII removed. The developer has written an AWS Lambda function to remove the PII from the document. The function is named removePii.

What should the developer do so that the company can meet the PII requirements while maintaining only one copy of the document?

Answer options

Correct answer: C

Explanation

The correct answer is C because creating an S3 Object Lambda access point allows the developer to process the object through the removePii function when accessed, ensuring that the PII is removed for third-party analysis while keeping a single copy of the document. Options A and B incorrectly use GET and PUT requests, which do not align with the requirement for dynamic PII removal. Option D incorrectly suggests using the GetObjectLegalHold API, which is not designed for accessing objects without PII.