AWS Certified Data Analytics – Specialty — Question 48

A smart home automation company must efficiently ingest and process messages from various connected devices and sensors. The majority of these messages are comprised of a large number of small files. These messages are ingested using Amazon Kinesis Data Streams and sent to Amazon S3 using a Kinesis data stream consumer application. The Amazon S3 message data is then passed through a processing pipeline built on Amazon EMR running scheduled PySpark jobs.
The data platform team manages data processing and is concerned about the efficiency and cost of downstream data processing. They want to continue to use
PySpark.
Which solution improves the efficiency of the data processing jobs and is well architected?

Answer options

Correct answer: D

Explanation

The correct answer is D because using AWS Glue to merge small files and convert them to Apache Parquet format optimizes storage and processing efficiency, which is crucial for large datasets. Option A, while beneficial, does not specifically address the merging of small files. Option B does not provide a scalable solution for batch processing of large amounts of data, and option C shifts processing to Redshift, which is not leveraging the existing PySpark jobs as required.