You must design an ingestion path where transformation logic needs to run in near real time, but the curated datasets must be queryable with low latency and high concurrency. Which AWS patterns best balance streaming freshness and batch-friendly optimization?
Answer
Ingest events into S3 via Kinesis Data Firehose or Data Streams + buffering, process with AWS Glue or Flink-like processing, then write partitioned Parquet to a lakehouse (S3) and optionally sync metadata to Athena/Redshift Spectrum
Explanation
Buffered streaming into S3 preserves replayability, while processing into columnar, partitioned Parquet enables efficient scans and consistent metadata for Athena/Redshift Spectrum. Direct-to-warehouse or message-body querying reduces optimization and can increase latency.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
A dataset is stored in S3 as Parquet and queried by Athena using a Glue Data Catalog table. You need to ensure that analysts can query only the last 30 days by adding a mandatory filter, and also restrict access by department. What is the best mechanism combination?
View question →
A Redshift cluster runs complex joins on a large fact table with multiple dim tables. You observe high query runtime variance and frequent disk spills. Which strategy most directly improves performance and reduces spills while staying within reasonable maintenance effort?
View question →
In a data pipeline using AWS Glue and Redshift, you need to ensure exactly-once semantics for ingesting late-arriving records arriving with an event-time timestamp and possible duplicates. Which combination best addresses deduplication and ordering guarantees?
View question →
You are migrating a legacy on-prem data warehouse to AWS. The old system uses incremental loads based on a “high-water mark” timestamp column, but late updates can change records for earlier times. In AWS, which ingestion strategy best preserves correctness without requiring full reloads?
View question →
A streaming system uses Kinesis Data Streams feeding a Lambda-based ingestion that writes to an S3 “raw” prefix partitioned by hour. After changing the schema to add a new nullable column, analytics jobs fail because older partitions have no column in their catalog definition. What is the best approach to keep the data catalog and query behavior consistent?
View question →
A customer requires that personally identifiable information (PII) be masked in curated analytics but still available for a limited set of authorized users. Which AWS-native approach best supports column-level masking with role-based access and auditable governance?
View question →