nerdexam
Amazon

DVA-C02 · Question #65

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…

The correct answer is C. Create an S3 Object Lambda access point from the S3 console. Select the removePii function. The best solution for the given requirements is to use an S3 Object Lambda function to remove the PII from the document. S3 Object Lambda is a new feature that allows the developer to add custom code to S3 GET requests. The developer can create an S3 Object Lambda function to…

Submitted by valeria.br· Mar 5, 2026Development with AWS Services

Question

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?

Options

  • ASet up an S3 event notification that invokes the removePii function when an S3 GET request is
  • BSet up an S3 event notification that invokes the removePii function when an S3 PUT request is
  • CCreate an S3 Object Lambda access point from the S3 console. Select the removePii function.
  • DCreate an S3 access point from the S3 console. Use the access point name to call the

How the community answered

(23 responses)
  • A
    13% (3)
  • B
    9% (2)
  • C
    74% (17)
  • D
    4% (1)

Explanation

The best solution for the given requirements is to use an S3 Object Lambda function to remove the PII from the document. S3 Object Lambda is a new feature that allows the developer to add custom code to S3 GET requests. The developer can create an S3 Object Lambda function to remove the PII from the document and configure S3 to use the function whenever an object is requested from a specific access point. This way, depending on who accesses the document, the document will either be returned as is or with the PII removed, without having to store multiple copies of the document. Therefore, option C is the correct answer. The developer should create an S3 Object Lambda access point from the S3 console, select the removePii function, and use S3 Access Points to access the object without PII. The S3 Object Lambda function will automatically remove the PII from the document whenever an object is requested from the access point. https://docs.aws.amazon.com/AmazonS3/latest/userguide/olap-use.html https://docs.aws.amazon.com/AmazonS3/latest/userguide/tutorial-s3-object-lambda-redact-

Community Discussion

No community discussion yet for this question.

Full DVA-C02 Practice