
Answer-first summary for fast verification
Answer: Extend the HTTP health check's initial delay to 200 seconds.
Option A is incorrect because disabling auto-scaling and limiting to 1 instance would not handle the traffic load effectively. Option B is incorrect as reducing the maximum instances to 3 doesn't address the initialization time issue. Option C is incorrect because changing the health check type doesn't solve the delay problem. Option D is correct because increasing the health check's initial delay beyond the app's initialization time (3 minutes) ensures instances are ready before being checked, preventing over-provisioning.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
As a GCP engineer for a legal cricket betting app, you're managing an auto-scaling managed instance group that scales up when CPU utilization exceeds 85%, with a cap of 6 VMs. The app takes 3 minutes to initialize, but the HTTP health check starts after just 30 seconds, leading to over-provisioning. How can you prevent unnecessary resource use?
A
Disable auto-scaling, limiting the group to 1 instance.
B
Lower the maximum instance count to 3.
C
Replace the HTTP health check with a TCP health check.
D
Extend the HTTP health check's initial delay to 200 seconds.
No comments yet.