ASSOCIATE-CLOUD-ENGINEER · Question #145
You have a definition for an instance template that contains a web application. You are asked to deploy the application so that it can scale based on the HTTP traffic it receives. What should you do?
The correct answer is C. Create a managed instance group based on the instance template. Configure autoscaling based. A Is not correct because the Load Balancer will just load balance access to the uploaded image itself, and not create or autoscale VMs based on that image. B Is not correct because while the App Engine can scale as a proxy, all requests will still end up on the same Compute…
Question
Options
- ACreate a VM from the instance template. Create a custom image from the VM's disk. Export the
- BCreate a VM from the instance template. Create an App Engine application in Automatic Scaling
- CCreate a managed instance group based on the instance template. Configure autoscaling based
- DCreate the necessary amount of instances required for peak user traffic based on the instance
How the community answered
(51 responses)- A4% (2)
- B12% (6)
- C76% (39)
- D8% (4)
Explanation
A Is not correct because the Load Balancer will just load balance access to the uploaded image itself, and not create or autoscale VMs based on that image. B Is not correct because while the App Engine can scale as a proxy, all requests will still end up on the same Compute Engine instance, which needs to scale itself. C is correct because a managed instance group can use an instance template to scale based on D is not correct because unmanaged instance groups do not offer autoscaling. https://cloud.google.com/compute/docs/instance- groups/#managed_instance_groups_and_autoscaling https://cloud.google.com/compute/docs/images/export-image https://cloud.google.com/compute/docs/load-balancing/http/adding-a-backend-bucket-to-content- based-load-balancing
Topics
Community Discussion
No community discussion yet for this question.