nerdexam
Google

ASSOCIATE-CLOUD-ENGINEER · Question #24

You want to configure 10 Compute Engine instances for availability when maintenance occurs. Your requirements state that these instances should attempt to automatically restart if they crash. Also, th

The correct answer is A. Create an instance template for the instances.. onHostMaintenance: Determines the behavior when a maintenance event occurs that might cause your instance to reboot. [Default] MIGRATE, which causes Compute Engine to live migrate an instance when there is a maintenance event. TERMINATE, which stops an instance instead of migrati

Submitted by mike_84· Mar 30, 2026Planning and configuring a cloud solution

Question

You want to configure 10 Compute Engine instances for availability when maintenance occurs. Your requirements state that these instances should attempt to automatically restart if they crash. Also, the instances should be highly available including during system maintenance. What should you do?

Options

  • ACreate an instance template for the instances.
  • BCreate an instance template for the instances.
  • CCreate an instance group for the instances.
  • DCreate an instance group for the instance.

How the community answered

(30 responses)
  • A
    70% (21)
  • B
    10% (3)
  • C
    17% (5)
  • D
    3% (1)

Explanation

onHostMaintenance: Determines the behavior when a maintenance event occurs that might cause your instance to reboot. [Default] MIGRATE, which causes Compute Engine to live migrate an instance when there is a maintenance event. TERMINATE, which stops an instance instead of migrating it. automaticRestart: Determines the behavior when an instance crashes or is stopped by the [Default] true, so Compute Engine restarts an instance if the instance crashes or is stopped. false, so Compute Engine does not restart an instance if the instance crashes or is stopped. https://cloud.google.com/compute/docs/instances/setting-instance-scheduling-options

Topics

#instance templates#automatic restart#live migration#high availability

Community Discussion

No community discussion yet for this question.

Full ASSOCIATE-CLOUD-ENGINEER Practice