google-cloud-platform - http负载均衡器和健康检查

标签 google-cloud-platform health-monitoring

我发现了这个问题..

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/

相关文章:

perl - 自动重启关闭的 FastCGI 进程的好策略是什么?

java - 迭代 Google Cloud Bucket 中的文件

docker - Kubernetes - 从服务端点自动填充 CloudDNS 记录

kubernetes - Google Cloud Kubernetes无法连接到集群

java - Spring Boot 2 Actuator/health 端点在使用身份验证时不显示附加信息

java - 使用 Java 进行简单的服务器监控

usb - 如何让电脑闪灯

c# - 获取跨平台系统健康 ASP.Net Core

google-cloud-platform - 不同项目内的 Cloud SQL 连接

python - 无法使用 torch.save() 将模型保存到 gs 存储桶