SAP-C02 第 396 题
题目
A company owns a chain of travel agencies and is running an application in the AWS Cloud. Company employees use the application to search for information about travel destinations. Destination content is updated four times each year. Two fixed Amazon EC2 instances serve the application. The company uses an Amazon Route 53 public hosted zone with a multivalue record of travel.example.com that returns the Elastic IP addresses for the EC2 instances. The application uses Amazon DynamoDB as its primary data store. The company uses a self-hosted Redis instance as a caching solution. During content updates, the load on the EC2 instances and the caching solution increases drastically. This increased load has led to downtime on several occasions. A solutions architect must update the application so that the application is highly available and can handle the load that is generated by the content updates. Which solution will meet these requirements?
中文翻译:
一家公司拥有一系列旅行社,并在 AWS 云中运行一个应用程序。公司员工使用该应用程序搜索有关旅行目的地的信息。目的地内容每年更新四次。两个固定的 Amazon EC2 实例为该应用程序提供服务。该公司使用 Amazon Route 53 公共托管区域,该区域具有 Travel.example.com 的多值记录,该记录返回 EC2 实例的弹性 IP 地址。该应用程序使用 Amazon DynamoDB 作为其主要数据存储。该公司使用自托管的 Redis 实例作为缓存解决方案。在内容更新期间,EC2 实例和缓存解决方案的负载急剧增加。负载的增加多次导致停机。解决方案架构师必须更新应用程序,以便应用程序具有高可用性,并且可以处理内容更新生成的负载。哪种解决方案可以满足这些要求?
选项
A. Set up DynamoDB Accelerator (DAX) as in-memory cache. Update the application to use DAX. Create an Auto Scaling group for the EC2 instances. Create an Application Load Balancer (ALB). Set the Auto Scaling group as a target for the ALB. Update the Route 53 record to use a simple routing policy that targets the ALB's DNS alias. Configure scheduled scaling for the EC2 instances before the content updates.
中文翻译:
将 DynamoDB Accelerator (DAX) 设置为内存缓存。更新应用程序以使用 DAX。为 EC2 实例创建 Auto Scaling 组。创建应用程序负载均衡器 (ALB)。将 Auto Scaling 组设置为 ALB 的目标。更新 Route 53 记录以使用针对 ALB 的 DNS 别名的简单路由策略。在内容更新之前配置 EC2 实例的计划扩展。
B. Set up Amazon ElastiCache for Redis. Update the application to use ElastiCache. Create an Auto Scaling group for the EC2 instances. Create an Amazon CloudFront distribution, and set the Auto Scaling group as an origin for the distribution. Update the Route 53 record to use a simple routing policy that targets the CloudFront distribution’s DNS alias. Manually scale up EC2 instances before the content updates.
中文翻译:
设置适用于 Redis 的 Amazon ElastiCache。更新应用程序以使用 ElastiCache。为 EC2 实例创建 Auto Scaling 组。创建 Amazon CloudFront 分配,并将 Auto Scaling 组设置为分配的源。更新 Route 53 记录以使用针对 CloudFront 分配的 DNS 别名的简单路由策略。在内容更新之前手动扩展 EC2 实例。
C. Set up Amazon ElastiCache for Memcached. Update the application to use ElastiCache. Create an Auto Scaling group for the EC2 instances. Create an Application Load Balancer (ALB). Set the Auto Scaling group as a target for the ALB. Update the Route 53 record to use a simple routing policy that targets the ALB's DNS alias. Configure scheduled scaling for the application before the content updates.
中文翻译:
为 Memcached 设置 Amazon ElastiCache。更新应用程序以使用 ElastiCache。为 EC2 实例创建 Auto Scaling 组。创建应用程序负载均衡器 (ALB)。将 Auto Scaling 组设置为 ALB 的目标。更新 Route 53 记录以使用针对 ALB 的 DNS 别名的简单路由策略。在内容更新之前配置应用程序的计划缩放。
D. Set up DynamoDB Accelerator (DAX) as in-memory cache. Update the application to use DAX. Create an Auto Scaling group for the EC2 instances. Create an Amazon CloudFront distribution, and set the Auto Scaling group as an origin for the distribution. Update the Route 53 record to use a simple routing policy that targets the CloudFront distribution's DNS alias. Manually scale up EC2 instances before the content updates.
中文翻译:
将 DynamoDB Accelerator (DAX) 设置为内存缓存。更新应用程序以使用 DAX。为 EC2 实例创建 Auto Scaling 组。创建 Amazon CloudFront 分配,并将 Auto Scaling 组设置为分配的源。更新 Route 53 记录以使用针对 CloudFront 分配的 DNS 别名的简单路由策略。在内容更新之前手动扩展 EC2 实例。
答案
A
解析
正确答案:A 解析: 本题应选择 A。 正确选项: A. 将 DynamoDB Accelerator (DAX) 设置为内存缓存。更新应用程序以使用 DAX。为 EC2 实例创建 Auto Scaling 组。创建应用程序负载均衡器 (ALB)。将 Auto Scaling 组设置为 ALB 的目标。更新 Route 53 记录以使用针对 ALB 的 DNS 别名的简单路由策略。在内容更新之前配置 EC2 实例的计划扩展。 选择理由:...