SAP-C02 学习助手

SAP-C02 第 2 题

Route 53 API Gateway Lambda DynamoDB

题目

A company is providing weather data over a REST-based API to several customers. The API is hosted by Amazon API Gateway and is integrated with different AWS Lambda functions for each API operation. The company uses Amazon Route 53 for DNS and has created a resource record of weather.example.com. The company stores data for the API in Amazon DynamoDB tables. The company needs a solution that will give the API the ability to fail over to a different AWS Region. Which solution will meet these requirements?

中文翻译:
一家公司通过基于 REST 的 API 向多个客户提供天气数据。该 API 由 Amazon API Gateway 托管,并针对每个 API 操作与不同的 AWS Lambda 函数集成。该公司使用 Amazon Route 53 作为 DNS,并创建了weather.example.com 的资源记录。该公司将 API 的数据存储在 Amazon DynamoDB 表中。该公司需要一种解决方案,使 API 能够故障转移到不同的 AWS 区域。哪种解决方案可以满足这些要求?

选项

A. Deploy a new set of Lambda functions in a new Region. Update the API Gateway API to use an edge-optimized API endpoint with Lambda functions from both Regions as targets. Convert the DynamoDB tables to global tables.

中文翻译:
在新区域中部署一组新的 Lambda 函数。更新 API Gateway API 以使用边缘优化的 API 终端节点,并将来自两个区域的 Lambda 函数作为目标。将 DynamoDB 表转换为全局表。

B. Deploy a new API Gateway API and Lambda functions in another Region. Change the Route 53 DNS record to a multivalue answer. Add both API Gateway APIs to the answer. Enable target health monitoring. Convert the DynamoDB tables to global tables.

中文翻译:
在另一个区域部署新的 API Gateway API 和 Lambda 函数。将 Route 53 DNS 记录更改为多值答案。将两个 API Gateway API 添加到答案中。启用目标健康监控。将 DynamoDB 表转换为全局表。

C. Deploy a new API Gateway API and Lambda functions in another Region. Change the Route 53 DNS record to a failover record. Enable target health monitoring. Convert the DynamoDB tables to global tables.

中文翻译:
在另一个区域部署新的 API Gateway API 和 Lambda 函数。将 Route 53 DNS 记录更改为故障转移记录。启用目标健康监控。将 DynamoDB 表转换为全局表。

D. Deploy a new API Gateway API in a new Region. Change the Lambda functions to global functions. Change the Route 53 DNS record to a multivalue answer. Add both API Gateway APIs to the answer. Enable target health monitoring. Convert the DynamoDB tables to global tables.

中文翻译:
在新区域中部署新的 API Gateway API。将 Lambda 函数更改为全局函数。将 Route 53 DNS 记录更改为多值答案。将两个 API Gateway API 添加到答案中。启用目标健康监控。将 DynamoDB 表转换为全局表。

答案

C

解析

正确答案:C 解析: 本题应选择 C。 正确选项: C. 在另一个区域部署新的 API Gateway API 和 Lambda 函数。将 Route 53 DNS 记录更改为故障转移记录。启用目标健康监控。将 DynamoDB 表转换为全局表。 选择理由: 该选项最直接地满足题干中的关键约束。做 SAP-C02 题目时,需要同时对照题干里的限定词,例如最高性能、最低运维开销、成本效益、可靠性、可扩展性、安全性、RTO/RPO、合规要求...

登录后查看完整解析