AWS Data Engineer DEA-C01 · Data Operations and Support · hard

An Amazon S3 table is partitioned by date (s3://logs/dt=2026-01-01/, dt=2026-01-02/, etc.) across 10 years (3,650 partitions). Running MSCK REPAIR TABLE or a Glue Crawler takes several minutes, and Athena query planning slows down when fetching thousands of partition metadata entries from the Glue Data Catalog. Which Athena feature calculates partition locations mathematically from table properties without querying partition metadata in the Glue Catalog?

Published · Last updated · checked before publication — how we verify questions

Options

  • ARunning MSCK REPAIR TABLE before each scheduled SELECT query
  • BAthena Partition Projection configured in table propertiesCorrect answer
  • CConverting the partitioned Parquet table into a 50 TB CSV file
  • DEnabling Amazon S3 Requester Pays on the underlying logging bucket

Answer: B. Athena Partition Projection configured in table properties

Amazon Athena Partition Projection configures partition patterns (such as date, integer, or enum ranges and an S3 storage location template) in the Glue table properties so Athena computes partition paths in memory at query time without making Glue Catalog GetPartitions API calls or running MSCK REPAIR TABLE.

Why the other options are wrong

  • A. Running MSCK REPAIR TABLE before each scheduled SELECT query — MSCK REPAIR TABLE scans S3 prefixes and adds latency rather than eliminating partition metadata lookups.
  • C. Converting the partitioned Parquet table into a 50 TB CSV file — A single 50 TB CSV file eliminates partition pruning entirely, causing every query to scan 50 TB.
  • D. Enabling Amazon S3 Requester Pays on the underlying logging bucket — Requester Pays shifts S3 billing to the querying account and has no effect on Glue partition metadata latency.

All Data Operations and Support 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.