Skip to main content

Associate Cloud Engineer practice question · Planning and implementing a cloud solution

A team is creating a managed instance group (MIG). Every VM the group creates, whether during autoscaling or…

A team is creating a managed instance group (MIG). Every VM the group creates, whether during autoscaling or autohealing, must have the same machine type, boot disk image, and startup script in its metadata. Nobody should have to specify these settings by hand for each VM. Which resource should the team create and reference when they create the MIG?

  • AAn instance template
  • BA custom image
  • CA machine image
  • DAn instance schedule
Show the answer and explanation

Correct answer: A) An instance template

A managed instance group creates identical VMs from the instance template it references. The template holds the machine type, boot disk image, metadata, and other properties. Images, machine images, and schedules can't take its place.

Why each option is right or wrong

  • A) Correct. An instance template defines VM properties such as machine type, boot disk image, network, and metadata (including a startup script). A MIG must reference an instance template, and Compute Engine uses it to create identical VMs whenever the group adds or recreates an instance.
  • B) Incorrect. A custom image captures the contents of a single disk, such as a boot disk. It can serve as the boot disk image that an instance template points to, but it does not define the machine type or metadata. A MIG also cannot be created directly from an image.
  • C) Incorrect. A machine image stores the configuration, metadata, permissions, and disk data of an existing VM. It is used for backup, recovery, and cloning individual instances. A MIG is not created by referencing a machine image; it must reference an instance template.
  • D) Incorrect. An instance schedule starts and stops VMs at set times. It does not define the machine type, boot disk image, or metadata of new VMs.
Exam domain
Planning and implementing a cloud solution · ~30% of Associate Cloud Engineer
Question type
Multiple choice (one answer)

Practise the full Associate Cloud Engineer exam

This question is one of a small free sample from the CertRidge Associate Cloud Engineer bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.

Original question written from the official exam guide. Not affiliated with Google Cloud; never copied from the real exam.