exam questions

Exam AWS Certified Solutions Architect - Professional All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional exam

Exam AWS Certified Solutions Architect - Professional topic 1 question 932 discussion

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?

  • A. Create an AWS Lambda function that consolidates each days AWS WAF logs into one log file.
  • B. Reduce the amount of data scanned by configuring AWS WAF to send logs to a different S3 bucket each day.
  • C. Update the Kinesis Data Firehose configuration to partition the data in Amazon S3 by date and time. Create external tables for Amazon Redshift. Configure Amazon Redshift Spectrum to query the data source.
  • D. Modify the Kinesis Data Firehose configuration and Athena table definition to partition the data by date and time. Change the Athena query to view the relevant partitions.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
masetromain
2 years, 5 months ago
Selected Answer: D
D. Modify the Kinesis Data Firehose configuration and Athena table definition to partition the data by date and time. Change the Athena query to view the relevant partitions. To prevent the query time from continuing to increase and minimize operational overhead, a solutions architect should modify the Kinesis Data Firehose configuration and the Athena table definition to partition the data by date and time. This will allow Athena to only scan the relevant partitions, reducing the amount of data that needs to be scanned and improving query performance. Additionally, the architect should change the Athena query to view the relevant partitions, ensuring that the query is only scanning the necessary data.
upvoted 1 times
masetromain
2 years, 5 months ago
Option A: Create an AWS Lambda function that consolidates each day's AWS WAF logs into one log file, this would reduce the number of files that Athena needs to scan, but it does not address the issue of the increasing query time. Option B: Reduce the amount of data scanned by configuring AWS WAF to send logs to a different S3 bucket each day, this would reduce the number of files that Athena needs to scan, but it does not address the issue of the increasing query time. Option C: Update the Kinesis Data Firehose configuration to partition the data in Amazon S3 by date and time. Create external tables for Amazon Redshift. Configure Amazon Redshift Spectrum to query the data source. This option is more complex and requires additional resources and maintenance,
upvoted 1 times
...
...
Kende
2 years, 5 months ago
Selected Answer: D
"D" is the one.
upvoted 1 times
...
AwsBRFan
2 years, 9 months ago
Selected Answer: D
D https://docs.aws.amazon.com/athena/latest/ug/partition-projection-kinesis-firehose-example.html
upvoted 3 times
...
cale
2 years, 9 months ago
Selected Answer: D
It is D. The solution is to partition the data.
upvoted 2 times
...
SGES
2 years, 9 months ago
I will go for D Key word - minimum operational overhead
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...