A data scientist needs near-real-time SQL querying over a stream of GZIP-compressed files. Which option provides the lowest-latency way to query the stream using SQL?
Choose an answer
Tap an option to check your answer.
Correct answer: Use Amazon Kinesis Data Analytics to run SQL queries over the streaming data (with a Lambda transform if needed)..
Why this is the answer
Amazon Kinesis Data Analytics (KDA) is designed for near-real-time SQL querying over streaming data. It can directly ingest data from Kinesis Data Streams (which the GZIP files would likely be fed into) and apply SQL queries, providing the lowest latency for this use case. A Lambda transform can handle decompression if KDA's built-in capabilities don't suffice. AWS Glue is primarily an ETL service for batch processing and data cataloging, not optimized for near-real-time streaming SQL queries. Kinesis Client Library (KCL) applications require custom code for processing and then writing to another service like Elasticsearch, adding complexity and potential latency compared to KDA's direct SQL capabilities. Kinesis Data Firehose delivers data to destinations like S3, which is suitable for later querying but not for near-real-time SQL querying directly on the stream.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed