SAP-C02 学习助手

SAP-C02 第 325 题

Direct Connect EC2 Config DMS

题目

A company is running an application on Amazon EC2 instances in the AWS Cloud. The application is using a MongoDB database with a replica set as its data tier. The MongoDB database is installed on systems in the company’s on-premises data center and is accessible through an AWS Direct Connect connection to the data center environment. A solutions architect must migrate the on-premises MongoDB database to Amazon DocumentDB (with MongoDB compatibility). Which strategy should the solutions architect choose to perform this migration?

中文翻译:
一家公司正在 AWS 云中的 Amazon EC2 实例上运行应用程序。该应用程序使用 MongoDB 数据库,并将副本集作为其数据层。 MongoDB 数据库安装在公司本地数据中心的系统上,可通过与数据中心环境的 AWS Direct Connect 连接进行访问。解决方案架构师必须将本地 MongoDB 数据库迁移到 Amazon DocumentDB(与 MongoDB 兼容)。解决方案架构师应该选择哪种策略来执行此迁移?

选项

A. Create a fleet of EC2 instances. Install MongoDB Community Edition on the EC2 instances, and create a database. Configure continuous synchronous replication with the database that is running in the on-premises data center.

中文翻译:
创建 EC2 实例队列。在 EC2 实例上安装 MongoDB Community Edition,并创建数据库。配置与本地数据中心运行的数据库的连续同步复制。

B. Create an AWS Database Migration Service (AWS DMS) replication instance. Create a source endpoint for the on-premises MongoDB database by using change data capture (CDC). Create a target endpoint for the Amazon DocumentDB database. Create and run a DMS migration task.

中文翻译:
创建 AWS Database Migration Service (AWS DMS) 复制实例。使用更改数据捕获 (CDC) 为本地 MongoDB 数据库创建源终端节点。为 Amazon DocumentDB 数据库创建目标终端节点。创建并运行DMS迁移任务。

C. Create a data migration pipeline by using AWS Data Pipeline. Define data nodes for the on-premises MongoDB database and the Amazon DocumentDB database. Create a scheduled task to run the data pipeline.

中文翻译:
使用 AWS Data Pipeline 创建数据迁移管道。为本地 MongoDB 数据库和 Amazon DocumentDB 数据库定义数据节点。创建计划任务来运行数据管道。

D. Create a source endpoint for the on-premises MongoDB database by using AWS Glue crawlers. Configure continuous asynchronous replication between the MongoDB database and the Amazon DocumentDB database.

中文翻译:
使用 AWS Glue 爬网程序为本地 MongoDB 数据库创建源终端节点。配置 MongoDB 数据库和 Amazon DocumentDB 数据库之间的连续异步复制。

答案

B

解析

正确答案:B 解析: 本题应选择 B。 正确选项: B. 创建 AWS Database Migration Service (AWS DMS) 复制实例。使用更改数据捕获 (CDC) 为本地 MongoDB 数据库创建源终端节点。为 Amazon DocumentDB 数据库创建目标终端节点。创建并运行DMS迁移任务。 选择理由: 该选项最直接地满足题干中的关键约束。做 SAP-C02 题目时,需要同时对照题干里的限定词,例如最高性能...

登录后查看完整解析