SAP-C02 练习题

SAP-C02 题目讲解:固定入口 IP 与全球路由相结合

SAP-C02 练习题讲解。答案 B。客户防火墙要稳定 IP,而服务实例和 Region 可以变化。

SAP-C02 免费试练题 · 考证匠讲解

题目

The company is deploying the application into additional Regions. The company must provide static IP addresses for the application to customers so that the customers can add the IP addresses to allow lists. The solution must automatically route customers to the Region that is geographically closest to them. Which solution will meet these requirements?

A. Create an Amazon CloudFront distribution. Create a CloudFront origin group. Add the NLB for each additional Region to the origin group. Provide customers with the IP address ranges of the distribution's edge locations.
B. Create an AWS Global Accelerator standard accelerator. Create a standard accelerator endpoint for the NLB in each additional Region. Provide customers with the Global Accelerator IP address.
C. Create an Amazon CloudFront distribution. Create a custom origin for the NLB in each additional Region. Provide customers with the IP address ranges of the distribution's edge locations.
D. Create an AWS Global Accelerator custom routing accelerator. Create a listener for the custom routing accelerator. Add the IP address and ports for the NLB in each additional Region. Provide customers with the Global Accelerator IP address.

答案

答案 B。客户防火墙要稳定 IP,而服务实例和 Region 可以变化。

拆题

  • 客户防火墙要稳定 IP,而服务实例和 Region 可以变化。
  • 标准 Global Accelerator 提供固定入口 IP,并按健康与网络性能路由到区域端点;不等同于承诺地理最近永远最快。
  • NLB 是可用端点类型,新增 Region 时更新 endpoint group,客户通常无需重新改 allowlist。

每个选项为什么对、为什么错

  • A:CloudFront 边缘 IP 范围会变化且范围较大,不是题中要求的稳定应用入口 IP;origin group 也不是任意多区 NLB 的自动就近机制。
  • B(正确):标准 accelerator 与区域 NLB 端点提供稳定 IP 和区域流量管理,符合两个限制。
  • C:多个自定义 origin 不会自动形成题中需要的固定 IP 与健康就近选择。
  • D:custom routing 用于将连接映射到特定目的地址和端口,不是标准 accelerator 这种自动健康区域路由用途。

放到具体场景里

教学例子:客户只把 accelerator 的两个固定 IP 加入出口规则。应用从悉尼扩到新加坡后,为新 Region 加 endpoint group,并验证健康。区域维护时把该组 traffic dial 调低;不要用更换客户 allowlist 作为发布步骤。

检查对象本例条件或动作结果与边界
客户入口固定 accelerator IP规则稳定
区域端点各 Region NLB可扩展与健康检查
路由选择网络性能与配置不是纯直线距离

遇到同类题的判断顺序

  1. 创建入口:标准 accelerator 提供 IP。
  2. 登记端点:按 Region 加入 NLB。
  3. 验证健康:检查探测和服务响应。
  4. 调节流量:区域维护时受控降低 traffic dial。
结论:Global Accelerator 管稳定网络入口,CloudFront 主要管内容边缘分发。

参考资料

继续练这门考试

同一门考试的免费试练题都附这样的完整讲解,做完再看讲解。