Medium1 markMultiple Choice
Domain 3.1: Deploying and implementing Compute Engine resourcesCompute EngineMIGAutoscalingInstance Templates
GCP ACE · Question 20 · Domain 3.1: Deploying and implementing Compute Engine resources
You are deploying a web application on Compute Engine. You want the application to automatically scale out (add more instances) when CPU utilization exceeds 70%, and scale in when traffic drops. You also want instances to be automatically recreated if they crash.
What is the correct sequence of resources you need to create?
You are deploying a web application on Compute Engine. You want the application to automatically scale out (add more instances) when CPU utilization exceeds 70%, and scale in when traffic drops. You also want instances to be automatically recreated if they crash.
What is the correct sequence of resources you need to create?
Answer options:
A.
Unmanaged Instance Group -> Autoscaler -> Load Balancer
B.
Instance Template -> Managed Instance Group (MIG) -> Autoscaler
C.
Custom Image -> Autoscaler -> Managed Instance Group (MIG)
D.
Instance Template -> Unmanaged Instance Group -> Autoscaler
How to approach this question
Understand the dependencies for autoscaling in Compute Engine.
Full Answer
B.Instance Template -> Managed Instance Group (MIG) -> Autoscaler✓ Correct
Instance Template -> Managed Instance Group (MIG) -> Autoscaler
To configure autoscaling, you first need an Instance Template (the blueprint). Then, you create a Managed Instance Group (MIG) based on that template. Finally, you configure an Autoscaler policy on the MIG to scale based on metrics like CPU utilization.
Common mistakes
Thinking Unmanaged Instance Groups can autoscale.
Practice the full GCP Associate Cloud Engineer Practice Exam 2
50 questions · hints · full answers · grading
More questions from this exam
Q01Your company is migrating to Google Cloud and needs to establish a resource hierarchy. You have t...EasyQ02You are managing access to a GCP project. You need to grant 15 developers the ability to view Com...MediumQ03You have created a new GCP project using the Cloud Console. You want to deploy a Cloud Function u...EasyQ04Your startup has a strict monthly cloud budget of $500. You want to be notified immediately if yo...EasyQ05Your finance team wants to perform complex SQL analysis on your GCP billing data to understand co...Medium
Expert