SAP-C02 学习助手

SAP-C02 第 289 题

RDS Aurora Config

题目

A company has deployed its database on an Amazon RDS for MySQL DB instance in the us-east-1 Region. The company needs to make its data available to customers in Europe. The customers in Europe must have access to the same data as customers in the United States (US) and will not tolerate high application latency or stale data. The customers in Europe and the customers in the US need to write to the database. Both groups of customers need to see updates from the other group in real time. Which solution will meet these requirements?

中文翻译:
一家公司已将其数据库部署在 us-east-1 区域的 Amazon RDS for MySQL 数据库实例上。该公司需要向欧洲客户提供其数据。欧洲客户必须能够访问与美国 (US) 客户相同的数据,并且不能容忍高应用程序延迟或过时的数据。欧洲的客户和美国的客户需要写入数据库。两组客户都需要实时查看另一组的更新。哪种解决方案可以满足这些要求?

选项

A. Create an Amazon Aurora MySQL replica of the RDS for MySQL DB instance. Pause application writes to the RDS DB instance. Promote the Aurora Replica to a standalone DB cluster. Reconfigure the application to use the Aurora database and resume writes. Add eu-west-1 as a secondary Region to the DB cluster. Enable write forwarding on the DB cluster. Deploy the application in eu-west-1. Configure the application to use the Aurora MySQL endpoint in eu-west-1.

中文翻译:
创建 RDS for MySQL 数据库实例的 Amazon Aurora MySQL 副本。暂停应用程序写入 RDS 数据库实例。将 Aurora 副本提升为独立数据库集群。重新配置应用程序以使用 Aurora 数据库并恢复写入。将 eu-west-1 作为辅助区域添加到数据库集群。在数据库集群上启用写转发。在 eu-west-1 中部署应用程序。配置应用程序以使用 eu-west-1 中的 Aurora MySQL 终端节点。

B. Add a cross-Region replica in eu-west-1 for the RDS for MySQL DB instance. Configure the replica to replicate write queries back to the primary DB instance. Deploy the application in eu-west-1. Configure the application to use the RDS for MySQL endpoint in eu-west-1.

中文翻译:
在 eu-west-1 中为 RDS for MySQL 数据库实例添加跨区域副本。配置副本以将写入查询复制回主数据库实例。在 eu-west-1 中部署应用程序。配置应用程序以使用 eu-west-1 中的 RDS for MySQL 端点。

C. Copy the most recent snapshot from the RDS for MySQL DB instance to eu-west-1. Create a new RDS for MySQL DB instance in eu-west-1 from the snapshot. Configure MySQL logical replication from us-east-1 to eu-west-1. Enable write forwarding on the DB cluster. Deploy the application in eu-wes&1. Configure the application to use the RDS for MySQL endpoint in eu-west-1.

中文翻译:
将最新快照从 RDS for MySQL 数据库实例复制到 eu-west-1。从快照在 eu-west-1 中创建新的 RDS for MySQL 数据库实例。配置从 us-east-1 到 eu-west-1 的 MySQL 逻辑复制。在数据库集群上启用写转发。在 eu-wes&1 中部署应用程序。配置应用程序以使用 eu-west-1 中的 RDS for MySQL 端点。

D. Convert the RDS for MySQL DB instance to an Amazon Aurora MySQL DB cluster. Add eu-west-1 as a secondary Region to the DB cluster. Enable write forwarding on the DB cluster. Deploy the application in eu-west-1. Configure the application to use the Aurora MySQL endpoint in eu-west-1.

中文翻译:
将 RDS for MySQL 数据库实例转换为 Amazon Aurora MySQL 数据库集群。将 eu-west-1 作为辅助区域添加到数据库集群。在数据库集群上启用写转发。在 eu-west-1 中部署应用程序。配置应用程序以使用 eu-west-1 中的 Aurora MySQL 终端节点。

答案

A

解析

正确答案:A 解析: 本题应选择 A。 正确选项: A. 创建 RDS for MySQL 数据库实例的 Amazon Aurora MySQL 副本。暂停应用程序写入 RDS 数据库实例。将 Aurora 副本提升为独立数据库集群。重新配置应用程序以使用 Aurora 数据库并恢复写入。将 eu-west-1 作为辅助区域添加到数据库集群。在数据库集群上启用写转发。在 eu-west-1 中部署应用程序。配置应用程序以使用 eu-we...

登录后查看完整解析