AWS Data Engineer DEA-C01 · Data Store Management · easy
A company runs Amazon Athena queries that typically select only 4 columns out of a 120-column dataset stored on Amazon S3. Currently, the data is stored as uncompressed 500 GB CSV files, and each query scans the full 500 GB at $5.00 per TB ($2.50 per query). Converting the dataset to compressed Apache Parquet reduces total storage to 50 GB and allows Athena to read only the 4 requested columns (scanning 2 GB). How much does each Athena query cost after converting to Parquet?
Published · Last updated · checked before publication — how we verify questions
Options
Answer: D. $0.01 per query (scanning 2 GB of Parquet at $5.00 per TB)
Athena pricing is based on the amount of data scanned per query, at $5.00 per TB. Once the dataset is converted to compressed Parquet, Athena can read only the column chunks for the 4 requested columns instead of all 120, so the query scans about 2 GB. At 2 GB, which is 0.002 TB, the cost is 0.002 times $5.00, or $0.01 per query. That is a 99.6 percent drop from the $2.50 paid on uncompressed CSV. The common trap is to think the whole converted file is read, so the cost follows the 50 GB storage size. Storage size and scanned bytes are different things. Columnar formats let Athena skip unneeded columns, and compression further reduces the bytes read. Partitioning can reduce scans even more, but it is not needed to reach the answer here.
Why the other options are wrong
- A. $2.50 per query (Athena always bills on original CSV size) — This describes the old CSV cost and wrongly claims billing follows the original format. Athena bills on bytes actually scanned, which fall sharply once the data is in a compressed columnar format.
- B. $0.25 per query (scanning the entire 50 GB Parquet dataset) — This assumes Athena reads all 50 GB of the Parquet dataset, which would cost 0.05 TB times $5.00, or $0.25. Parquet is columnar, so Athena reads only the 4 requested columns, about 2 GB, and the question states this.
- C. $0.10 per query (scanning 20 GB of row-group metadata headers) — This invents a 20 GB scan of row-group metadata headers, which does not match how Parquet queries work. Footer metadata is tiny compared with column data, and the question states 2 GB is scanned, which gives $0.01, not $0.10.
More Data Store Management questions
- In Amazon Redshift, a 4-billion-row fact_orders table is frequently joined with a 600-million-row fact_shipments table…
- An AWS Glue Crawler runs nightly against s3://analytics-lake/events/year=2026/month=10/. Sometimes upstream producers…
- An Amazon S3 data lake stores 2 PB of raw clickstream archives. Regulatory rules require the objects to remain…
- An IoT ingestion pipeline writes 50,000 tiny 4 KB JSON files per hour into an Amazon S3 partition (200 MB total per…
- An e-commerce company runs operational transactions on Amazon Aurora MySQL and wants near-real-time analytics on those…
- In Amazon Redshift, 95% of analytical queries filter on WHERE transaction_date BETWEEN '2026-01-01' AND '2026-01-31'…
- A data engineering team stores petabytes of customer records on Amazon S3 and needs to perform GDPR record-level…
All Data Store Management questions and the topic overview →
AWS and Amazon Web Services are trademarks of Amazon.com, Inc. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Amazon Web Services.