DAS-C01 · Question #10
A company developed a new elections reporting website that uses Amazon Kinesis Data Firehose to deliver full logs from AWS WAF to an Amazon S3 bucket. The company is now seeking a low-cost option to…
The correct answer is A. Use an AWS Glue crawler to create and update a table in the Glue data catalog from the logs. Using an AWS Glue crawler to automatically create and update a table in the AWS Glue Data Catalog (Option A) is the lowest-cost, least-development-effort solution. Once the Glue crawler registers the WAF log schema in the catalog, analysts can use Amazon Athena (serverless…
Question
A company developed a new elections reporting website that uses Amazon Kinesis Data Firehose to deliver full logs from AWS WAF to an Amazon S3 bucket. The company is now seeking a low-cost option to perform this infrequent data analysis with visualizations of logs in a way that requires minimal development effort. Which solution meets these requirements?
Options
- AUse an AWS Glue crawler to create and update a table in the Glue data catalog from the logs.
- BCreate a second Kinesis Data Firehose delivery stream to deliver the log files to Amazon
- CCreate an AWS Lambda function to convert the logs into .csv format.
- DCreate an Amazon EMR cluster and use Amazon S3 as the data source.
How the community answered
(15 responses)- A73% (11)
- B7% (1)
- C13% (2)
- D7% (1)
Explanation
Using an AWS Glue crawler to automatically create and update a table in the AWS Glue Data Catalog (Option A) is the lowest-cost, least-development-effort solution. Once the Glue crawler registers the WAF log schema in the catalog, analysts can use Amazon Athena (serverless, pay-per-query) to run SQL queries against the S3 logs and Amazon QuickSight for visualizations - forming a fully serverless analytics stack with no infrastructure to manage. This is ideal for infrequent analysis. Option B involves sending logs to a second destination like OpenSearch, adding cost and complexity. Option C only converts data format but provides no query or visualization capability. Option D uses Amazon EMR, which requires cluster provisioning, higher cost, and more administration - all disproportionate for infrequent log analysis.
Topics
Community Discussion
No community discussion yet for this question.