SAP-C02 学习助手

SAP-C02 第 50 题

Lambda EC2 RDS Aurora Kinesis DMS Auto Scaling

题目

A company wants to migrate its data analytics environment from on premises to AWS. The environment consists of two simple Node.js applications. One of the applications collects sensor data and loads it into a MySQL database. The other application aggregates the data into reports. When the aggregation jobs run, some of the load jobs fail to run correctly. The company must resolve the data loading issue. The company also needs the migration to occur without interruptions or changes for the company’s customers. What should a solutions architect do to meet these requirements?

中文翻译:
一家公司希望将其数据分析环境从本地迁移到 AWS。该环境由两个简单的 Node.js 应用程序组成。其中一个应用程序收集传感器数据并将其加载到 MySQL 数据库中。另一个应用程序将数据聚合到报告中。聚合作业运行时,部分加载作业无法正常运行。公司必须解决数据加载问题。该公司还需要在不中断或不改变公司客户的情况下进行迁移。解决方案架构师应该怎样做才能满足这些要求?

选项

A. Set up an Amazon Aurora MySQL database as a replication target for the on-premises database. Create an Aurora Replica for the Aurora MySQL database, and move the aggregation jobs to run against the Aurora Replica. Set up collection endpoints as AWS Lambda functions behind a Network Load Balancer (NLB), and use Amazon RDS Proxy to write to the Aurora MySQL database. When the databases are synced, disable the replication job and restart the Aurora Replica as the primary instance. Point the collector DNS record to the NLB.

中文翻译:
将 Amazon Aurora MySQL 数据库设置为本地数据库的复制目标。为 Aurora MySQL 数据库创建 Aurora 副本,并将聚合作业移动到针对 Aurora 副本运行。将收集终端节点设置为网络负载均衡器 (NLB) 后面的 AWS Lambda 函数,并使用 Amazon RDS 代理写入 Aurora MySQL 数据库。数据库同步后,禁用复制作业并重新启动 Aurora 副本作为主实例。将收集器 DNS 记录指向 NLB。

B. Set up an Amazon Aurora MySQL database. Use AWS Database Migration Service (AWS DMS) to perform continuous data replication from the on-premises database to Aurora. Move the aggregation jobs to run against the Aurora MySQL database. Set up collection endpoints behind an Application Load Balancer (ALB) as Amazon EC2 instances in an Auto Scaling group. When the databases are synced, point the collector DNS record to the ALDisable the AWS DMS sync task after the cutover from on premises to AWS.

中文翻译:
设置 Amazon Aurora MySQL 数据库。使用 AWS Database Migration Service (AWS DMS) 执行从本地数据库到 Aurora 的连续数据复制。将聚合作业移至针对 Aurora MySQL 数据库运行。将 Application Load Balancer (ALB) 后面的收集终端节点设置为 Auto Scaling 组中的 Amazon EC2 实例。同步数据库后,将收集器 DNS 记录指向 ALDisable 从本地切换到 AWS 后的 AWS DMS 同步任务。

C. Set up an Amazon Aurora MySQL database. Use AWS Database Migration Service (AWS DMS) to perform continuous data replication from the on-premises database to Aurora. Create an Aurora Replica for the Aurora MySQL database, and move the aggregation jobs to run against the Aurora Replica. Set up collection endpoints as AWS Lambda functions behind an Application Load Balancer (ALB), and use Amazon RDS Proxy to write to the Aurora MySQL database. When the databases are synced, point the collector DNS record to the ALB. Disable the AWS DMS sync task after the cutover from on premises to AWS.

中文翻译:
设置 Amazon Aurora MySQL 数据库。使用 AWS Database Migration Service (AWS DMS) 执行从本地数据库到 Aurora 的连续数据复制。为 Aurora MySQL 数据库创建 Aurora 副本,并将聚合作业移动到针对 Aurora 副本运行。将收集终端节点设置为应用程序负载均衡器 (ALB) 后面的 AWS Lambda 函数,并使用 Amazon RDS 代理写入 Aurora MySQL 数据库。同步数据库后,将收集器 DNS 记录指向 ALB。从本地切换到 AWS 后禁用 AWS DMS 同步任务。

D. Set up an Amazon Aurora MySQL database. Create an Aurora Replica for the Aurora MySQL database, and move the aggregation jobs to run against the Aurora Replica. Set up collection endpoints as an Amazon Kinesis data stream. Use Amazon Kinesis Data Firehose to replicate the data to the Aurora MySQL database. When the databases are synced, disable the replication job and restart the Aurora Replica as the primary instance. Point the collector DNS record to the Kinesis data stream.

中文翻译:
设置 Amazon Aurora MySQL 数据库。为 Aurora MySQL 数据库创建 Aurora 副本,并将聚合作业移动到针对 Aurora 副本运行。将收集终端节点设置为 Amazon Kinesis 数据流。使用 Amazon Kinesis Data Firehose 将数据复制到 Aurora MySQL 数据库。数据库同步后,禁用复制作业并重新启动 Aurora 副本作为主实例。将收集器 DNS 记录指向 Kinesis 数据流。

答案

C

解析

正确答案:C 解析: 本题应选择 C。 正确选项: C. 设置 Amazon Aurora MySQL 数据库。使用 AWS Database Migration Service (AWS DMS) 执行从本地数据库到 Aurora 的连续数据复制。为 Aurora MySQL 数据库创建 Aurora 副本,并将聚合作业移动到针对 Aurora 副本运行。将收集终端节点设置为应用程序负载均衡器 (ALB) 后面的 AWS Lambda...

登录后查看完整解析