A dataset is partitioned by event_date and ingested daily into S3. Analytics queries are slow due to scanning too many partitions. Which action most directly reduces the scanned data in Athena while keeping late-arriving events accurate?
Answer
Enable partition projection for event_date and ensure late-arriving events write to the correct event_date partition
Explanation
Partition projection and correct partitioning on the queried column allow Athena to restrict scans to relevant partitions. Writing late events to their event_date keeps results correct without broad scans.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
You must ingest CDC-style changes from an OLTP system into AWS using AWS DMS, then land them in a lake for downstream analytics. Which pipeline ensures the most reliable incremental changes with minimal reprocessing?
View question →
A Glue job reads data from S3 in CSV and writes to Parquet with Snappy. You discover a large number of small files, causing poor query performance in Athena. What approach best mitigates small-file problems?
View question →
You need to guarantee at-least-once processing semantics while preventing duplicates when using AWS Glue (Spark) jobs reading from a streaming source into an S3 data lake. What design is most appropriate?
View question →
In an AWS data engineering workflow, which combination best addresses schema drift when ingesting semi-structured records into a governed analytics lake?
View question →
You need to implement fine-grained access controls on S3 data for multiple teams while supporting analytics queries via Athena. Which strategy is best aligned with least privilege and efficient governance?
View question →
A data engineer partitions data by year/month/day and uses AWS Glue to crawl the S3 layout into a Data Catalog. Later, they switch to partition projection for Athena. What operational consequence is most likely?
View question →