
Answer-first summary for fast verification
Answer: 1. Create a managed instance group from the instance template. 2. Configure autoscaling on the managed instance group with a scaling policy based on HTTP traffic. 3. Configure the instance group as the backend service of an External HTTP(S) load balancer.
The correct approach involves creating a managed instance group from the instance template, configuring autoscaling based on HTTP traffic, and setting the instance group as the backend service of an External HTTP(S) load balancer. This setup allows the service to scale up or down automatically in response to traffic changes. Other options either do not support autoscaling (unmanaged instance groups), incorrectly use Cloud Storage as a backend, or misapply the instance template to App Engine, which does not support such templates.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
You have defined an instance template for a Python web application. To ensure the application scales automatically based on HTTP requests when deployed in Google Compute Engine, what steps should you take?
A
B
C
D
E