A data engineer notices slow query performance on a highly partitioned table that is in Amazon Athena. The table contains daily data for the previous 5 years, partitioned by date. The data engineer wants to improve query performance and to automate partition management. Which solution will meet these requirements?
Select an option, then click Submit answer.
- ○ Use an AWS Lambda function that runs daily. Configure the function to manually create new partitions in AWS Glue for each day’s data.
- ○ Use partition projection in Athena. Configure the table properties by using a date range from 5 years ago to the present.
- ○ Reduce the number of partitions by changing the partitioning schema from daily to monthly granularity.
- ○ Increase the processing capacity of Athena queries by allocating more compute resources.