Skip to Content

DVA-C02: How to Remove Customer Identifiers from Data with Kinesis Data Firehose

Learn how to use AWS Lambda and Kinesis Data Firehose to remove pattern-based customer identifiers from data and store the modified data in an Amazon S3 bucket. This tutorial will show you how to implement data transformation and configure the delivery stream.

Question

An Amazon Kinesis Data Firehose delivery stream is receiving customer data that contains personally identifiable information. A developer needs to remove pattern-based customer identifiers from the data and store the modified data in an Amazon S3 bucket.

What should the developer do to meet these requirements?

A. Implement Kinesis Data Firehose data transformation as an AWS Lambda function. Configure the function to remove the customer identifiers. Set an Amazon S3 bucket as the destination of the delivery stream.

B. Launch an Amazon EC2 instance. Set the EC2 instance as the destination of the delivery stream. Run an application on the EC2 instance to remove the customer identifiers. Store the transformed data in an Amazon S3 bucket.

C. Create an Amazon OpenSearch Service instance. Set the OpenSearch Service instance as the destination of the delivery stream. Use search and replace to remove the customer identifiers. Export the data to an Amazon S3 bucket.

D. Create an AWS Step Functions workflow to remove the customer identifiers. As the last step in the workflow, store the transformed data in an Amazon S3 bucket. Set the workflow as the destination of the delivery stream.

Answer

A. Implement Kinesis Data Firehose data transformation as an AWS Lambda function. Configure the function to remove the customer identifiers. Set an Amazon S3 bucket as the destination of the delivery stream.

Explanation

The correct answer is A. Implement Kinesis Data Firehose data transformation as an AWS Lambda function. Configure the function to remove the customer identifiers. Set an Amazon S3 bucket as the destination of the delivery stream.

Here is an explanation of why this solution will meet the requirements:

  • The problem is that the developer needs to remove pattern-based customer identifiers from the customer data that is received by a Kinesis Data Firehose delivery stream, and store the modified data in an S3 bucket. Customer identifiers are sensitive information that should not be exposed or stored without proper encryption or masking.
  • To solve this problem, the developer needs to use a feature of Kinesis Data Firehose that allows data transformation before delivery. Data transformation is a process that modifies the data records in a delivery stream by using a custom AWS Lambda function. The Lambda function can perform any logic on the data records, such as filtering, enriching, aggregating, or masking.
  • The solution that meets the requirements is to implement Kinesis Data Firehose data transformation as a Lambda function, and configure the function to remove the customer identifiers. The developer can write a Lambda function in any supported language, such as Python, Node.js, or Java, and use regular expressions or other methods to identify and remove the customer identifiers from the data records. The developer can then set an S3 bucket as the destination of the delivery stream, where the transformed data will be stored in batches.
  • This solution will meet the requirements because it will provide a simple and scalable way to remove sensitive information from the customer data, and store the modified data in a durable and cost-effective storage service.

Therefore, option A is the correct solution that will meet the requirements. Option B is incorrect because it will require launching and managing an EC2 instance, which will add more resources and costs to the application. Option C is incorrect because it will require creating and managing an OpenSearch Service instance, which is not designed for data transformation or export. Option D is incorrect because it will require creating and managing a Step Functions workflow, which is not compatible with Kinesis Data Firehose as a destination.

The latest AWS Certified Developer – Associate DVA-C02 certification actual real practice exam question and answer (Q&A) dumps are available free, which are helpful for you to pass the AWS Certified Developer – Associate DVA-C02 exam and earn AWS Certified Developer – Associate DVA-C02 certification.

AWS Certified Developer - Associate DVA-C02 Exam Questions and Answers

Alex Lim is a certified IT Technical Support Architect with over 15 years of experience in designing, implementing, and troubleshooting complex IT systems and networks. He has worked for leading IT companies, such as Microsoft, IBM, and Cisco, providing technical support and solutions to clients across various industries and sectors. Alex has a bachelor’s degree in computer science from the National University of Singapore and a master’s degree in information security from the Massachusetts Institute of Technology. He is also the author of several best-selling books on IT technical support, such as The IT Technical Support Handbook and Troubleshooting IT Systems and Networks. Alex lives in Bandar, Johore, Malaysia with his wife and two chilrdren. You can reach him at [email protected] or follow him on Website | Twitter | Facebook

    Ads Blocker Image Powered by Code Help Pro

    Your Support Matters...

    We run an independent site that is committed to delivering valuable content, but it comes with its challenges. Many of our readers use ad blockers, causing our advertising revenue to decline. Unlike some websites, we have not implemented paywalls to restrict access. Your support can make a significant difference. If you find this website useful and choose to support us, it would greatly secure our future. We appreciate your help. If you are currently using an ad blocker, please consider disabling it for our site. Thank you for your understanding and support.