SAP-C02 学习助手

SAP-C02 第 209 题

Route 53 Lambda DynamoDB EC2 EBS Config Auto Scaling Global Accelerator

题目

A company runs an IoT application in the AWS Cloud. The company has millions of sensors that collect data from houses in the United States. The sensors use the MQTT protocol to connect and send data to a custom MQTT broker. The MQTT broker stores the data on a single Amazon EC2 instance. The sensors connect to the broker through the domain named iot.example.com. The company uses Amazon Route 53 as its DNS service. The company stores the data in Amazon DynamoDB. On several occasions, the amount of data has overloaded the MQTT broker and has resulted in lost sensor data. The company must improve the reliability of the solution. Which solution will meet these requirements?

中文翻译:
一家公司在 AWS 云中运行 IoT 应用程序。该公司拥有数百万个传感器,从美国的房屋收集数据。传感器使用 MQTT 协议连接并向自定义 MQTT 代理发送数据。 MQTT 代理将数据存储在单个 Amazon EC2 实例上。传感器通过名为 iot.example.com 的域连接到代理。该公司使用 Amazon Route 53 作为其 DNS 服务。该公司将数据存储在 Amazon DynamoDB 中。在某些情况下,数据量使 MQTT 代理超载并导致传感器数据丢失。公司必须提高解决方案的可靠性。哪种解决方案可以满足这些要求?

选项

A. Create an Application Load Balancer (ALB) and an Auto Scaling group for the MQTT broker. Use the Auto Scaling group as the target for the ALB. Update the DNS record in Route 53 to an alias record. Point the alias record to the ALB. Use the MQTT broker to store the data.

中文翻译:
为 MQTT 代理创建应用程序负载均衡器 (ALB) 和 Auto Scaling 组。使用 Auto Scaling 组作为 ALB 的目标。将 Route 53 中的 DNS 记录更新为别名记录。将别名记录指向 ALB。使用 MQTT 代理来存储数据。

B. Set up AWS IoT Core to receive the sensor data. Create and configure a custom domain to connect to AWS IoT Core. Update the DNS record in Route 53 to point to the AWS IoT Core Data-ATS endpoint. Configure an AWS IoT rule to store the data.

中文翻译:
设置 AWS IoT Core 以接收传感器数据。创建并配置自定义域以连接到 AWS IoT Core。更新 Route 53 中的 DNS 记录以指向 AWS IoT Core Data-ATS 终端节点。配置 AWS IoT 规则来存储数据。

C. Create a Network Load Balancer (NLB). Set the MQTT broker as the target. Create an AWS Global Accelerator accelerator. Set the NLB as the endpoint for the accelerator. Update the DNS record in Route 53 to a multivalue answer record. Set the Global Accelerator IP addresses as values. Use the MQTT broker to store the data.

中文翻译:
创建网络负载均衡器 (NLB)。将 MQTT 代理设置为目标。创建 AWS Global Accelerator 加速器。将 NLB 设置为加速器的端点。将 Route 53 中的 DNS 记录更新为多值应答记录。将全局加速器 IP 地址设置为值。使用 MQTT 代理来存储数据。

D. Set up AWS IoT Greengrass to receive the sensor data. Update the DNS record in Route 53 to point to the AWS IoT Greengrass endpoint. Configure an AWS IoT rule to invoke an AWS Lambda function to store the data.

中文翻译:
设置 AWS IoT Greengrass 以接收传感器数据。更新 Route 53 中的 DNS 记录以指向 AWS IoT Greengrass 终端节点。配置 AWS IoT 规则以调用 AWS Lambda 函数来存储数据。

答案

B

解析

正确答案:B 解析: 本题应选择 B。 正确选项: B. 设置 AWS IoT Core 以接收传感器数据。创建并配置自定义域以连接到 AWS IoT Core。更新 Route 53 中的 DNS 记录以指向 AWS IoT Core Data-ATS 终端节点。配置 AWS IoT 规则来存储数据。 选择理由: 该选项最直接地满足题干中的关键约束。做 SAP-C02 题目时,需要同时对照题干里的限定词,例如最高性能、最低运维开销、成...

登录后查看完整解析