Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Google Cloud Certified Associate Cloud Engineer · Google Cloud
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
A MIG's basic job, independent of autoscaling, is to maintain the target size you set. If an instance crashes, is deleted, or fails a health check, the MIG automatically recreates it to bring the group back to the target size (this is sometimes called "auto-healing" — a separate feature from autoscaling). Autoscaling only controls whether GCP automatically changes the target size up or down based on load metrics (CPU, load balancer capacity, etc.). Turning it Off just means the target size stays fixed at whatever you set (1, in this case) — it doesn't mean the MIG stops maintaining that count.
A - Correct - It correctly solves the problem with only a single instance at one time B - Incorrect - Does not fit the requirement because AFTER the deletion of the instance, no other instance was created
Por qué usar autoscaling ON con min=1 y max=1: Si el autoscaling está activado, el grupo puede recrear automáticamente la instancia si falla (por ejemplo, si el VM se detiene o se elimina). Con min=1 y max=1, garantizas que solo exista una instancia en todo momento. Esto es la práctica recomendada para asegurar disponibilidad sin permitir escalado horizontal.