SAP-C02 学习助手

SAP-C02 第 444 题

Route 53 EC2 RDS ElastiCache CloudWatch Config Auto Scaling

题目

A public retail web application uses an Application Load Balancer (ALB) in front of Amazon EC2 instances running across multiple Availability Zones (AZs) in a Region backed by an Amazon RDS MySQL Multi-AZ deployment. Target group health checks are configured to use HTTP and pointed at the product catalog page. Auto Scaling is configured to maintain the web fleet size based on the ALB health check. Recently, the application experienced an outage. Auto Scaling continuously replaced the instances during the outage. A subsequent investigation determined that the web server metrics were within the normal range, but the database tier was experiencing high load, resulting in severely elevated query response times. Which of the following changes together would remediate these issues while improving monitoring capabilities for the availability and functionality of the entire application stack for future growth? (Choose two.)

中文翻译:
公共零售 Web 应用程序在 Amazon EC2 实例前面使用应用程序负载均衡器 (ALB),这些实例跨由 Amazon RDS MySQL 多可用区部署支持的区域中的多个可用区 (AZ) 运行。目标组运行状况检查配置为使用 HTTP 并指向产品目录页面。 Auto Scaling 配置为根据 ALB 运行状况检查来维护 Web 队列大小。最近,该应用程序遇到了中断。 Auto Scaling 在中断期间不断替换实例。随后的调查确定 Web 服务器指标在正常范围内,但数据库层负载较高,导致查询响应时间严重延长。以下哪些更改可以共同解决这些问题,同时提高整个应用程序堆栈的可用性和功能的监控能力,以实现未来的增长? (选择两个。)

选项

A. Configure read replicas for Amazon RDS MySQL and use the single reader endpoint in the web application to reduce the load on the backend database tier.

中文翻译:
为 Amazon RDS MySQL 配置只读副本,并在 Web 应用程序中使用单个读取器终端节点来减少后端数据库层的负载。

B. Configure the target group health check to point at a simple HTML page instead of a product catalog page and the Amazon Route 53 health check against the product page to evaluate full application functionality. Configure Amazon CloudWatch alarms to notify administrators when the site fails.

中文翻译:
将目标组运行状况检查配置为指向简单的 HTML 页面而不是产品目录页面,并针对产品页面进行 Amazon Route 53 运行状况检查以评估完整的应用程序功能。配置 Amazon CloudWatch 警报以在站点发生故障时通知管理员。

C. Configure the target group health check to use a TCP check of the Amazon EC2 web server and the Amazon Route 53 health check against the product page to evaluate full application functionality. Configure Amazon CloudWatch alarms to notify administrators when the site fails.

中文翻译:
配置目标组运行状况检查以使用 Amazon EC2 Web 服务器的 TCP 检查和针对产品页面的 Amazon Route 53 运行状况检查来评估完整的应用程序功能。配置 Amazon CloudWatch 警报以在站点发生故障时通知管理员。

D. Configure an Amazon CloudWatch alarm for Amazon RDS with an action to recover a high-load, impaired RDS instance in the database tier.

中文翻译:
为 Amazon RDS 配置 Amazon CloudWatch 警报,并执行恢复数据库层中高负载、受损的 RDS 实例的操作。

E. Configure an Amazon ElastiCache cluster and place it between the web application and RDS MySQL instances to reduce the load on the backend database tier.

中文翻译:
配置 Amazon ElastiCache 集群并将其放置在 Web 应用程序和 RDS MySQL 实例之间,以减少后端数据库层的负载。

答案

BE

解析

正确答案:BE 解析: 本题应选择 BE。 正确选项: B. 将目标组运行状况检查配置为指向简单的 HTML 页面而不是产品目录页面,并针对产品页面进行 Amazon Route 53 运行状况检查以评估完整的应用程序功能。配置 Amazon CloudWatch 警报以在站点发生故障时通知管理员。 E. 配置 Amazon ElastiCache 集群并将其放置在 Web 应用程序和 RDS MySQL 实例之间,以减少后端数据库层的...

登录后查看完整解析