SAP-C02 学习助手

SAP-C02 第 472 题

Route 53 Lambda RDS Config Backup

题目

A solutions architect must implement a multi-Region architecture for an Amazon RDS for PostgreSQL database that supports a web application. The database launches from an AWS CloudFormation template that includes AWS services and features that are present in both the primary and secondary Regions. The database is configured for automated backups, and it has an RTO of 15 minutes and an RPO of 2 hours. The web application is configured to use an Amazon Route 53 record to route traffic to the database. Which combination of steps will result in a highly available architecture that meets all the requirements? (Choose two.)

中文翻译:
解决方案架构师必须为支持 Web 应用程序的 Amazon RDS for PostgreSQL 数据库实施多区域架构。该数据库从 AWS CloudFormation 模板启动,该模板包含主要区域和次要区域中都存在的 AWS 服务和功能。该数据库配置为自动备份,RTO 为 15 分钟,RPO 为 2 小时。 Web 应用程序配置为使用 Amazon Route 53 记录将流量路由到数据库。哪种步骤组合将产生满足所有要求的高可用架构? (选择两个。)

选项

A. Create a cross-Region read replica of the database in the secondary Region. Configure an AWS Lambda function in the secondary Region to promote the read replica during a failover event.

中文翻译:
在辅助区域中创建数据库的跨区域只读副本。在辅助区域中配置 AWS Lambda 函数以在故障转移事件期间提升只读副本。

B. In the primary Region, create a health check on the database that will invoke an AWS Lambda function when a failure is detected. Program the Lambda function to recreate the database from the latest database snapshot in the secondary Region and update the Route 53 host records for the database.

中文翻译:
在主要区域中,对数据库创建运行状况检查,以便在检测到故障时调用 AWS Lambda 函数。对 Lambda 函数进行编程,以根据辅助区域中的最新数据库快照重新创建数据库,并更新数据库的 Route 53 主机记录。

C. Create an AWS Lambda function to copy the latest automated backup to the secondary Region every 2 hours.

中文翻译:
创建一个 AWS Lambda 函数,每 2 小时将最新的自动备份复制到次要区域。

D. Create a failover routing policy in Route 53 for the database DNS record. Set the primary and secondary endpoints to the endpoints in each Region.

中文翻译:
在 Route 53 中为数据库 DNS 记录创建故障转移路由策略。将主要和次要端点设置为每个区域中的端点。

E. Create a hot standby database in the secondary Region. Use an AWS Lambda function to restore the secondary database to the latest RDS automatic backup in the event that the primary database fails.

中文翻译:
在辅助Region中创建热备数据库。当主数据库发生故障时,使用 AWS Lambda 函数将辅助数据库恢复到最新的 RDS 自动备份。

答案

AD

解析

正确答案:AD 解析: 本题应选择 AD。 正确选项: A. 在辅助区域中创建数据库的跨区域只读副本。在辅助区域中配置 AWS Lambda 函数以在故障转移事件期间提升只读副本。 D. 在 Route 53 中为数据库 DNS 记录创建故障转移路由策略。将主要和次要端点设置为每个区域中的端点。 选择理由: 该选项最直接地满足题干中的关键约束。做 SAP-C02 题目时,需要同时对照题干里的限定词,例如最高性能、最低运维开销、成本效益、...

登录后查看完整解析