SAP-C02 · Question #230
SAP-C02 Question #230: Real Exam Question with Answer & Explanation
The correct answer is D: Modify the Kinesis Data Firehose configuration and Athena table definition to partition the data by. https://docs.aws.amazon.com/athena/latest/ug/partition-projection-kinesis-firehose-example.html
Question
A company deploys a new web application. As part of the setup, the company configures AWS WAF to log to Amazon S3 through Amazon Kinesis Data Firehose. The company develops an Amazon Athena query that runs once daily to return AWS WAF log data from the previous 24 hours. The volume of daily logs is constant. However, over time, the same query is taking more time to run. A solutions architect needs to design a solution to prevent the query time from continuing to increase. The solution must minimize operational overhead. Which solution will meet these requirements?
Options
- ACreate an AWS Lambda function that consolidates each days AWS WAF logs into one log file.
- BReduce the amount of data scanned by configuring AWS WAF to send logs to a different S3
- CUpdate the Kinesis Data Firehose configuration to partition the data in Amazon S3 by date and
- DModify the Kinesis Data Firehose configuration and Athena table definition to partition the data by
Explanation
https://docs.aws.amazon.com/athena/latest/ug/partition-projection-kinesis-firehose-example.html
Community Discussion
No community discussion yet for this question.