Q22 — AWS SAA-C03 第2章
第 22/65 题 | ← 返回第2章
Q87.公司需要与其用户达成严格的服务水平协议 (SLA) 以确保应用程序可用性.主要应用程序堆栈托管在 us-east-1 区域中,堆栈的副本位于 us-west-2 中用于灾难恢复.公司要求 us-west-2 中的应用程序堆栈不提供任何用户流量,除非 us-east-1 中的应用程序堆栈出现问题.在没有人工干预的情况下,解决方案架构师应该怎么做才能满足公司的需求?
- A. 在Amazon Route 53中配置加权路由策略,设置us-east-1的权重为100,us-west-2的权重为0.
- B. 在Amazon Route 53中配置加权路由策略,us-west-2的权重设置为5O,us-east-1设置为50.
- C. 在 Amazon Route 53 中配置故障转移路由策略.将 us-east-1 设置为主,将 us-west-2 设置为辅助. ✓
- D. 在 Amazon Route 53 中配置故障转移路由策略.将 us-west-2 设置为主,将 us-east-1 设置为辅助.
正确答案: C. 在 Amazon Route 53 中配置故障转移路由策略.将 us-east-1 设置为主,将 us-west-2 设置为辅助.
解析
The correct answer is C. Configure a failover routing policy in Amazon Route 53. Set us-east-1 as the primary and us-west-2 as the secondary. To meet the company's needs, a failover routing policy can be used in Amazon Route 53. The primary application stack in us-east-1 will handle all user traffic under normal conditions. If there is an issue with the application stack in us-east-1, Route 53 will automatically redirect traffic to the replica stack in us-west-2. Option A, a weighted routing policy with the weight of us-east-1 set to 100 and us-west-2 set to 0, would always direct traffic to us-east-1 regardless of the availability of that region. Option B, a weighted routing policy with the weight of us-west-2 set to 50 and us-east-1 set to 50, would result in both regions receiving traffic at all times, which could put additional load on the systems and increase costs. Option D, setting us-west-2 as the primary and us-east-1 as the secondary, would cause user traffic to be served by the us-west-2 region instead of the primary region unless there was an issue with the us-west-2 region. This does not meet the requirement of the company to have the us-east-1 region serve all user traffic under normal conditions.