SAP-C02 学习助手

SAP-C02 第 462 题

Lambda DynamoDB S3 EC2 RDS ElastiCache Config

题目

A company needs to implement disaster recovery for a critical application that runs in a single AWS Region. The application's users interact with a web frontend that is hosted on Amazon EC2 instances behind an Application Load Balancer (ALB). The application writes to an Amazon RDS for MySQL DB instance. The application also outputs processed documents that are stored in an Amazon S3 bucket. The company’s finance team directly queries the database to run reports. During busy periods, these queries consume resources and negatively affect application performance. A solutions architect must design a solution that will provide resiliency during a disaster. The solution must minimize data loss and must resolve the performance problems that result from the finance team's queries. Which solution will meet these requirements?

中文翻译:
公司需要为在单个 AWS 区域中运行的关键应用程序实施灾难恢复。应用程序的用户与托管在应用程序负载均衡器 (ALB) 后面的 Amazon EC2 实例上的 Web 前端进行交互。该应用程序写入 Amazon RDS for MySQL 数据库实例。该应用程序还输出存储在 Amazon S3 存储桶中的已处理文档。该公司的财务团队直接查询数据库来运行报告。在繁忙期间,这些查询会消耗资源并对应用程序性能产生负面影响。解决方案架构师必须设计一个能够在灾难期间提供弹性的解决方案。该解决方案必须最大限度地减少数据丢失,并且必须解决财务团队查询导致的性能问题。哪种解决方案可以满足这些要求?

选项

A. Migrate the database to Amazon DynamoDB and use DynamoDB global tables. Instruct the finance team to query a global table in a separate Region. Create an AWS Lambda function to periodically synchronize the contents of the original S3 bucket to a new S3 bucket in the separate Region. Launch EC2 instances and create an ALB in the separate Region. Configure the application to point to the new S3 bucket.

中文翻译:
将数据库迁移到 Amazon DynamoDB 并使用 DynamoDB 全局表。指示财务团队查询单独区域中的全局表。创建一个 AWS Lambda 函数以定期将原始 S3 存储桶的内容同步到单独区域中的新 S3 存储桶。启动 EC2 实例并在单独的区域中创建 ALB。配置应用程序以指向新的 S3 存储桶。

B. Launch additional EC2 instances that host the application in a separate Region. Add the additional instances to the existing ALIn the separate Region, create a read replica of the RDS DB instance. Instruct the finance team to run queries against the read replica. Use S3 Cross-Region Replication (CRR) from the original S3 bucket to a new S3 bucket in the separate Region. During a disaster, promote the read replica to a standalone DB instance. Configure the application to point to the new S3 bucket and to the newly promoted read replica.

中文翻译:
启动在单独区域中托管应用程序的其他 EC2 实例。将其他实例添加到现有 AL 在单独的区域中,创建 RDS 数据库实例的只读副本。指示财务团队针对只读副本运行查询。使用 S3 跨区域复制 (CRR) 从原始 S3 存储桶到单独区域中的新 S3 存储桶。在灾难期间,将只读副本提升为独立数据库实例。配置应用程序以指向新的 S3 存储桶和新升级的只读副本。

C. Create a read replica of the RDS DB instance in a separate Region. Instruct the finance team to run queries against the read replica. Create AMIs of the EC2 instances that host the application frontend. Copy the AMIs to the separate Region. Use S3 Cross-Region Replication (CRR) from the original S3 bucket to a new S3 bucket in the separate Region. During a disaster, promote the read replica to a standalone DB instance. Launch EC2 instances from the AMIs and create an ALB to present the application to end users. Configure the application to point to the new S3 bucket.

中文翻译:
在单独的区域中创建 RDS 数据库实例的只读副本。指示财务团队针对只读副本运行查询。创建托管应用程序前端的 EC2 实例的 AMI。将 AMI 复制到单独的区域。使用 S3 跨区域复制 (CRR) 从原始 S3 存储桶到单独区域中的新 S3 存储桶。在灾难期间,将只读副本提升为独立数据库实例。从 AMI 启动 EC2 实例并创建 ALB 以向最终用户展示应用程序。配置应用程序以指向新的 S3 存储桶。

D. Create hourly snapshots of the RDS DB instance. Copy the snapshots to a separate Region. Add an Amazon ElastiCache cluster in front of the existing RDS database. Create AMIs of the EC2 instances that host the application frontend. Copy the AMIs to the separate Region. Use S3 Cross-Region Replication (CRR) from the original S3 bucket to a new S3 bucket in the separate Region. During a disaster, restore the database from the latest RDS snapshot. Launch EC2 instances from the AMIs and create an ALB to present the application to end users. Configure the application to point to the new S3 bucket.

中文翻译:
创建 RDS 数据库实例的每小时快照。将快照复制到单独的区域。在现有 RDS 数据库前面添加 Amazon ElastiCache 集群。创建托管应用程序前端的 EC2 实例的 AMI。将 AMI 复制到单独的区域。使用 S3 跨区域复制 (CRR) 从原始 S3 存储桶到单独区域中的新 S3 存储桶。在灾难期间,从最新的 RDS 快照恢复数据库。从 AMI 启动 EC2 实例并创建 ALB 以向最终用户展示应用程序。配置应用程序以指向新的 S3 存储桶。

答案

C

解析

正确答案:C 解析: 本题应选择 C。 正确选项: C. 在单独的区域中创建 RDS 数据库实例的只读副本。指示财务团队针对只读副本运行查询。创建托管应用程序前端的 EC2 实例的 AMI。将 AMI 复制到单独的区域。使用 S3 跨区域复制 (CRR) 从原始 S3 存储桶到单独区域中的新 S3 存储桶。在灾难期间,将只读副本提升为独立数据库实例。从 AMI 启动 EC2 实例并创建 ALB 以向最终用户展示应用程序。配置应用程序以指...

登录后查看完整解析