http负载均衡器和健康检查
http load balancer and health check
我发现了这个问题..
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 负载平衡器。将健康检查设置为健康 (HTTP)
B. 使用引用现有实例组的后端配置创建 HTTP 负载平衡器。定义平衡模式,设置最大RPS为10。
C. 创建托管实例组。将自动修复健康检查设置为健康 (HTTP)
D. 创建托管实例组。验证自动缩放设置是否打开。
正确答案是什么?我认为是A
要配置 VM 的重建,您需要自动修复。所以不是 B 和 D。
A:负载平衡健康检查有助于将流量从无响应的实例引导到健康的实例;这些健康检查不会导致 Compute Engine 重新创建实例。
C:基于应用程序的自动修复依靠健康检查信号来提高应用程序可用性,该信号可以检测特定于应用程序的问题,例如冻结、崩溃或过载。如果运行状况检查确定某个应用程序在某个实例上失败,则该组 会自动重新创建该实例。
所以答案是 C。
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?
让我们分析每个可能的答案以确定最佳答案。请注意,此问题有一个关键词 "using the fewest possible steps"。这句话会偏向于选择最佳答案。
A. Create an HTTP load balancer with a backend configuration that
references an existing instance group. Set the health check to
healthy(HTTP)
这是一个可能的答案。此答案假定现有后端配置正确。
B. Create an HTTP load balancer with a backend configuration that
references an existing instance group. Define a balancing mode and set
the maximum RPS to 10.
这是一个可能的答案。此答案假定现有后端配置正确。这个答案在答案 A 的基础上增加了一个额外的步骤。
C. Create a managed instance group. Set the Autohealing health check
to healthy(HTTP)
这只是部分解决方案。默认配置启用自动缩放。您仍然需要创建 HTTP 负载平衡器。
D. Create a managed instance group. Verify that the auto scaling
setting is on.
这只是部分解决方案。需要使用 Auto Scaling 创建托管实例组,但您仍然需要创建 HTTP 负载均衡器。
鼓点请....
所以我认为最佳答案是A。
我发现了这个问题..
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 负载平衡器。将健康检查设置为健康 (HTTP)
B. 使用引用现有实例组的后端配置创建 HTTP 负载平衡器。定义平衡模式,设置最大RPS为10。
C. 创建托管实例组。将自动修复健康检查设置为健康 (HTTP)
D. 创建托管实例组。验证自动缩放设置是否打开。
正确答案是什么?我认为是A
要配置 VM 的重建,您需要自动修复。所以不是 B 和 D。
A:负载平衡健康检查有助于将流量从无响应的实例引导到健康的实例;这些健康检查不会导致 Compute Engine 重新创建实例。
C:基于应用程序的自动修复依靠健康检查信号来提高应用程序可用性,该信号可以检测特定于应用程序的问题,例如冻结、崩溃或过载。如果运行状况检查确定某个应用程序在某个实例上失败,则该组 会自动重新创建该实例。
所以答案是 C。
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?
让我们分析每个可能的答案以确定最佳答案。请注意,此问题有一个关键词 "using the fewest possible steps"。这句话会偏向于选择最佳答案。
A. Create an HTTP load balancer with a backend configuration that references an existing instance group. Set the health check to healthy(HTTP)
这是一个可能的答案。此答案假定现有后端配置正确。
B. Create an HTTP load balancer with a backend configuration that references an existing instance group. Define a balancing mode and set the maximum RPS to 10.
这是一个可能的答案。此答案假定现有后端配置正确。这个答案在答案 A 的基础上增加了一个额外的步骤。
C. Create a managed instance group. Set the Autohealing health check to healthy(HTTP)
这只是部分解决方案。默认配置启用自动缩放。您仍然需要创建 HTTP 负载平衡器。
D. Create a managed instance group. Verify that the auto scaling setting is on.
这只是部分解决方案。需要使用 Auto Scaling 创建托管实例组,但您仍然需要创建 HTTP 负载均衡器。
鼓点请....
所以我认为最佳答案是A。