Flashcardsfor IT Certifications

D2: Managed Instance Groups & Autoscaling

Google Cloud Associate Cloud Engineer exam practice questions · 13 flashcards

Question
What is an instance template?
1 / 13

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

Show all 13 Managed Instance Groups & Autoscaling practice questions and answers
  1. What is an instance template?
    A resource defining VM configuration (machine type, image, disks, metadata) used to create VMs.
  2. Can an instance template be edited?
    No; create a new template and update the MIG.
  3. What is a managed instance group (MIG)?
    A group of identical VMs from a template with autoscaling, autohealing and rolling updates.
  4. Zonal vs regional MIG?
    Regional MIG spreads VMs across zones for higher availability.
  5. Autoscaling signals?
    CPU utilization, load balancer serving capacity, Cloud Monitoring metrics and schedules.
  6. What is the initialization period?
    Time the autoscaler waits for a new VM to start before using its metrics.
  7. What is autohealing?
    Recreating VMs that fail an application health check.
  8. How do you create a MIG?
    gcloud compute instance-groups managed create NAME --template=TEMPLATE --size=N --zone/--region.
  9. How do you enable autoscaling?
    gcloud compute instance-groups managed set-autoscaling NAME --max-num-replicas=N --target-cpu-utilization=0.6.
  10. What are maxSurge and maxUnavailable?
    Rolling update controls for extra and unavailable instances during updates.
  11. Proactive vs opportunistic updates?
    Proactive: apply immediately. Opportunistic: apply only when VMs are recreated.
  12. What is a canary update?
    Updating a subset of instances to a new template first.
  13. Unmanaged vs managed instance groups?
    Unmanaged: heterogeneous VMs, no autoscaling/autohealing.