SAP-C02 第 468 题
题目
A company deploys workloads in multiple AWS accounts. Each account has a VPC with VPC flow logs published in text log format to a centralized Amazon S3 bucket. Each log file is compressed with gzip compression. The company must retain the log files indefinitely. A security engineer occasionally analyzes the logs by using Amazon Athena to query the VPC flow logs. The query performance is degrading over time as the number of ingested logs is growing. A solutions architect must improve the performance of the log analysis and reduce the storage space that the VPC flow logs use. Which solution will meet these requirements with the LARGEST performance improvement?
中文翻译:
一家公司在多个 AWS 账户中部署工作负载。每个账户都有一个 VPC,其中 VPC 流日志以文本日志格式发布到集中式 Amazon S3 存储桶。每个日志文件都使用 gzip 压缩进行压缩。公司必须无限期保留日志文件。安全工程师偶尔会使用 Amazon Athena 查询 VPC 流日志来分析日志。随着摄取日志数量的增加,查询性能会随着时间的推移而下降。解决方案架构师必须提高日志分析的性能并减少 VPC 流日志使用的存储空间。哪种解决方案能够满足这些要求并具有最大的性能改进?
选项
A. Create an AWS Lambda function to decompress the gzip files and to compress the files with bzip2 compression. Subscribe the Lambda function to an s3:ObjectCreated:Put S3 event notification for the S3 bucket.
中文翻译:
创建一个 AWS Lambda 函数来解压缩 gzip 文件并使用 bzip2 压缩来压缩文件。为 Lambda 函数订阅 S3 存储桶的 s3:ObjectCreated:Put S3 事件通知。
B. Enable S3 Transfer Acceleration for the S3 bucket. Create an S3 Lifecycle configuration to move files to the S3 Intelligent- Tiering storage class as soon as the files are uploaded.
中文翻译:
为 S3 存储桶启用 S3 传输加速。创建 S3 生命周期配置,以便在文件上传后立即将文件移动到 S3 智能分层存储类。
C. Update the VPC flow log configuration to store the files in Apache Parquet format. Specify hourly partitions for the log files.
中文翻译:
更新 VPC 流日志配置以将文件存储为 Apache Parquet 格式。指定日志文件每小时的分区。
D. Create a new Athena workgroup without data usage control limits. Use Athena engine version 2.
中文翻译:
创建一个新的 Athena 工作组,没有数据使用控制限制。使用 Athena 引擎版本 2。
答案
C
解析
正确答案:C 解析: 本题应选择 C。 正确选项: C. 更新 VPC 流日志配置以将文件存储为 Apache Parquet 格式。指定日志文件每小时的分区。 选择理由: 该选项最直接地满足题干中的关键约束。做 SAP-C02 题目时,需要同时对照题干里的限定词,例如最高性能、最低运维开销、成本效益、可靠性、可扩展性、安全性、RTO/RPO、合规要求等。本题相关考点主要包括:VPC、Lambda、S3、Config。 排除思路: A、...