MLS-C01 Question 34
Select 2A company is using Amazon Kinesis Data Firehose to deliver streaming data from their IoT devices to an Amazon S3 bucket for long-term storage. They require the data to be delivered in a compressed format to save storage costs and also need any malformed records to be logged for troubleshooting without impacting the delivery of the remaining data. How should they configure their Kinesis Data Firehose delivery stream to meet these requirements?
- A
Enable data compression in the Kinesis Data Firehose delivery stream and specify the desired compression format like GZIP or Snappy.
- B
Enable error logging by configuring the delivery stream to log failed records to an Amazon CloudWatch Log Group.
- C
Configure the delivery stream to use a Lambda function for data transformation and validation before delivery.
- D
Enable data encryption in the delivery stream to ensure secure storage of data in Amazon S3.
- E
Use the default Kinesis Data Firehose settings as they automatically handle both compression and error logging.
Show answer and explanation
Correct answers: A, B
Explanation
To meet the requirements, the company must enable data compression in Kinesis Data Firehose to save on storage costs and configure error logging to handle malformed records. While other features like Lambda transformations and encryption are beneficial, they do not directly address the stated needs of compression and error logging.
- A. Correct.
This is correct. Kinesis Data Firehose supports data compression formats like GZIP or Snappy, which can be enabled to reduce storage costs in Amazon S3.
- B. Correct.
This is correct. Kinesis Data Firehose allows you to log failed records to an Amazon CloudWatch Log Group for troubleshooting, ensuring that malformed records do not impact the delivery of valid data.
- C. Incorrect.
While Lambda-based transformations are supported by Kinesis Data Firehose, they are not strictly required for compression or logging of malformed records.
- D. Incorrect.
Although encryption is a useful feature for securing data, it does not address the requirement of data compression or logging malformed records.
- E. Incorrect.
This is incorrect. Kinesis Data Firehose does not enable compression or error logging by default; these features must be explicitly configured.