SAP-C02 学习助手

SAP-C02 第 387 题

Lambda S3 Redshift Kinesis Config WAF

题目

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?

中文翻译:
一家公司部署了一个新的 Web 应用程序。作为设置的一部分,该公司将 AWS WAF 配置为通过 Amazon Kinesis Data Firehose 登录到 Amazon S3。该公司开发了一个 Amazon Athena 查询,该查询每天运行一次,以返回过去 24 小时内的 AWS WAF 日志数据。每日日志量是恒定的。然而,随着时间的推移,相同的查询将花费更多的时间来运行。解决方案架构师需要设计一个解决方案来防止查询时间继续增加。该解决方案必须最大限度地减少运营开销。哪种解决方案可以满足这些要求?

选项

A. Create an AWS Lambda function that consolidates each day's AWS WAF logs into one log file.

中文翻译:
创建一个 AWS Lambda 函数,将每天的 AWS WAF 日志合并到一个日志文件中。

B. Reduce the amount of data scanned by configuring AWS WAF to send logs to a different S3 bucket each day.

中文翻译:
通过配置 AWS WAF 每天将日志发送到不同的 S3 存储桶,减少扫描的数据量。

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.

中文翻译:
更新 Kinesis Data Firehose 配置以按日期和时间对 Amazon S3 中的数据进行分区。为 Amazon Redshift 创建外部表。配置 Amazon Redshift Spectrum 以查询数据源。

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.

中文翻译:
修改 Kinesis Data Firehose 配置和 Athena 表定义以按日期和时间对数据进行分区。更改 Athena 查询以查看相关分区。

答案

D

解析

正确答案:D 解析: 本题应选择 D。 正确选项: D. 修改 Kinesis Data Firehose 配置和 Athena 表定义以按日期和时间对数据进行分区。更改 Athena 查询以查看相关分区。 选择理由: 该选项最直接地满足题干中的关键约束。做 SAP-C02 题目时,需要同时对照题干里的限定词,例如最高性能、最低运维开销、成本效益、可靠性、可扩展性、安全性、RTO/RPO、合规要求等。本题相关考点主要包括:Lambda、...

登录后查看完整解析