我发现了这个问题..
You want to configure autohealing for network load balancing for a group of Compute Engine instances that run in multiple zones, using the fewest possible steps. You need to configure recreation of VMs if they are unresponsive after 3 attempts of 10 seconds each. What should you do?
A. 使用引用现有实例组的后端配置创建 HTTP 负载平衡器。将健康检查设置为healthy(HTTP)
B. 使用引用现有实例组的后端配置创建 HTTP 负载平衡器。定义平衡模式,设置最大 RPS 为 10。
C. 创建托管实例组。将 Autohealing 健康检查设置为 healthy(HTTP)
D. 创建托管实例组。验证自动缩放设置是否打开。
哪个是正确答案?我认为是A
最佳答案
要配置 VM 的重新创建,您需要自动修复。所以不是 B 和 D。
A:负载平衡健康检查有助于将流量从无响应的实例引导到健康的实例;这些健康检查不会导致 Compute Engine 重新创建实例。
C:基于应用程序的自动修复通过依赖于检测应用程序特定问题(例如卡住、崩溃或过载)的健康检查信号来提高应用程序可用性。如果运行状况检查确定应用程序在某个实例上失败,则该组自动重新创建该实例。
所以答案是 C。
关于google-cloud-platform - http负载均衡器和健康检查,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57872264/