SAP-C02 第 381 题
题目
A company built an ecommerce website on AWS using a three-tier web architecture. The application is Java-based and composed of an Amazon CloudFront distribution, an Apache web server layer of Amazon EC2 instances in an Auto Scaling group, and a backend Amazon Aurora MySQL database. Last month, during a promotional sales event, users reported errors and timeouts while adding items to their shopping carts. The operations team recovered the logs created by the web servers and reviewed Aurora DB cluster performance metrics. Some of the web servers were terminated before logs could be collected and the Aurora metrics were not sufficient for query performance analysis. Which combination of steps must the solutions architect take to improve application performance visibility during peak traffic events? (Choose three.)
中文翻译:
一家公司使用三层 Web 架构在 AWS 上构建了一个电子商务网站。该应用程序基于 Java,由 Amazon CloudFront 发行版、Auto Scaling 组中 Amazon EC2 实例的 Apache Web 服务器层以及后端 Amazon Aurora MySQL 数据库组成。上个月,在促销活动期间,用户报告在将商品添加到购物车时出现错误和超时。运营团队恢复了 Web 服务器创建的日志并审查了 Aurora 数据库集群性能指标。一些 Web 服务器在收集日志之前被终止,并且 Aurora 指标不足以进行查询性能分析。解决方案架构师必须采取哪些步骤组合来提高高峰流量事件期间的应用程序性能可见性? (选择三项。)
选项
A. Configure the Aurora MySQL DB cluster to publish slow query and error logs to Amazon CloudWatch Logs.
中文翻译:
配置 Aurora MySQL 数据库集群以将慢速查询和错误日志发布到 Amazon CloudWatch Logs。
B. Implement the AWS X-Ray SDK to trace incoming HTTP requests on the EC2 instances and implement tracing of SQL queries with the X-Ray SDK for Java.
中文翻译:
实施 AWS X-Ray 开发工具包以跟踪 EC2 实例上的传入 HTTP 请求,并使用适用于 Java 的 X-Ray 开发工具包实施 SQL 查询跟踪。
C. Configure the Aurora MySQL DB cluster to stream slow query and error logs to Amazon Kinesis.
中文翻译:
配置 Aurora MySQL 数据库集群以将慢速查询和错误日志流式传输到 Amazon Kinesis。
D. Install and configure an Amazon CloudWatch Logs agent on the EC2 instances to send the Apache logs to CloudWatch Logs.
中文翻译:
在 EC2 实例上安装并配置 Amazon CloudWatch Logs 代理,以将 Apache 日志发送到 CloudWatch Logs。
E. Enable and configure AWS CloudTrail to collect and analyze application activity from Amazon EC2 and Aurora
中文翻译:
启用并配置 AWS CloudTrail 以收集和分析来自 Amazon EC2 和 Aurora 的应用程序活动
F. Enable Aurora MySQL DB cluster performance benchmarking and publish the stream to AWS X-Ray.
中文翻译:
启用 Aurora MySQL 数据库集群性能基准测试并将流发布到 AWS X-Ray。
答案
ABD
解析
正确答案:ABD 解析: 本题应选择 ABD。 正确选项: A. 配置 Aurora MySQL 数据库集群以将慢速查询和错误日志发布到 Amazon CloudWatch Logs。 B. 实施 AWS X-Ray 开发工具包以跟踪 EC2 实例上的传入 HTTP 请求,并使用适用于 Java 的 X-Ray 开发工具包实施 SQL 查询跟踪。 D. 在 EC2 实例上安装并配置 Amazon CloudWatch Logs 代理,以...