SAP-C02 学习助手

SAP-C02 第 119 题

Lambda EC2 RDS EventBridge Config Backup

题目

A company runs its application in the eu-west-1 Region and has one account for each of its environments: development, testing, and production. All the environments are running 24 hours a day, 7 days a week by using stateful Amazon EC2 instances and Amazon RDS for MySQL databases. The databases are between 500 GB and 800 GB in size. The development team and testing team work on business days during business hours, but the production environment operates 24 hours a day, 7 days a week. The company wants to reduce costs. All resources are tagged with an environment tag with either development, testing, or production as the key. What should a solutions architect do to reduce costs with the LEAST operational effort?

中文翻译:
一家公司在 eu-west-1 区域运行其应用程序,并为其每个环境(开发、测试和生产)拥有一个帐户。所有环境都使用有状态 Amazon EC2 实例和 Amazon RDS for MySQL 数据库,每周 7 天、每天 24 小时运行。数据库大小在 500 GB 到 800 GB 之间。开发团队和测试团队在工作日上班时间工作,但生产环境每周7天、每天24小时运行。该公司希望降低成本。所有资源都标有环境标签,以开发、测试或生产为键。解决方案架构师应该如何做才能以最少的运营工作来降低成本?

选项

A. Create an Amazon EventBridge rule that runs once every day. Configure the rule to invoke one AWS Lambda function that starts or slops instances based on me tag, day, and time.

中文翻译:
创建每天运行一次的 Amazon EventBridge 规则。配置规则以调用一个 AWS Lambda 函数,该函数根据我的标签、日期和时间启动或停止实例。

B. Create an Amazon EventBridge rule that runs every business day in the evening. Configure the rule to invoke an AWS Lambda function that stops instances based on the tag. Create a second EventBridge rule that runs every business day in the morning. Configure the second rule lo invoke another Lambda function that starts instances based on the tag.

中文翻译:
创建在每个工作日晚上运行的 Amazon EventBridge 规则。配置规则以调用根据标签停止实例的 AWS Lambda 函数。创建第二个在每个工作日早上运行的 EventBridge 规则。配置第二条规则以调用另一个 Lambda 函数,该函数根据标签启动实例。

C. Create an Amazon EventBridge rule that runs every business day in the evening, Configure the rule to invoke an AWS Lambda function that terminates, instances based on the lag. Create a second EventBridge rule that runs every business day in the morning. Configure the second rule lo invoke another Lambda function that restores the instances from their last backup based on the tag.

中文翻译:
创建一个在每个工作日晚上运行的 Amazon EventBridge 规则,配置该规则以调用根据延迟终止实例的 AWS Lambda 函数。创建第二个在每个工作日早上运行的 EventBridge 规则。配置第二条规则以调用另一个 Lambda 函数,该函数根据标签从上次备份中恢复实例。

D. Create an Amazon EventBridge rule that runs every hour. Configure the rule to invoke one AWS Lambda function that terminates or restores instances from their last backup based on the tag. day, and time.

中文翻译:
创建每小时运行一次的 Amazon EventBridge 规则。配置规则以调用一个 AWS Lambda 函数,该函数根据标签终止实例或从上次备份恢复实例。日期和时间。

答案

B

解析

正确答案:B 解析: 本题应选择 B。 正确选项: B. 创建在每个工作日晚上运行的 Amazon EventBridge 规则。配置规则以调用根据标签停止实例的 AWS Lambda 函数。创建第二个在每个工作日早上运行的 EventBridge 规则。配置第二条规则以调用另一个 Lambda 函数,该函数根据标签启动实例。 选择理由: 该选项最直接地满足题干中的关键约束。做 SAP-C02 题目时,需要同时对照题干里的限定词,例如最...

登录后查看完整解析