Google ACE: Compute Engine and Virtual Machine Operations — Study Guide

Part of the Google Associate Cloud Engineer — Study Guide. Practice with verified answers in the Google exam hub, or take timed practice tests on ExamRoll.io.

Overview

Compute Engine provides flexible, high-performance virtual machines and orchestration primitives to run general-purpose and specialized workloads. Operational excellence on Compute Engine means selecting the right machine family and disk, shaping instance lifecycle with templates and instance groups, establishing robust autohealing and autoscaling, hardening access paths, and preparing for failure modes with repeatable recovery procedures. This section explains design choices, trade-offs, and operational patterns that minimize toil and maximize reliability and cost efficiency.

Machine Types, Sizing, and Instance Lifecycle

Machine families

Custom machine types

Workload sizing

Instance lifecycle resources

Availability, Autoscaling, and Maintenance

Autoscaling

Autohealing and health checks

Regional MIGs and placement

Maintenance, live migration, and reservations

Storage, Images, and Performance

Persistent disks

Local SSD

Snapshots and images

Disk choices: trade-offs and failure modes

Access, Security, Networking, and Specialized Workloads

Linux and Windows administration

SSH, OS Login, and key management

Metadata, startup scripts, and cloud-init

Service accounts and scopes

Networking and addresses

Specialized workloads and isolation

Troubleshooting and Recovery Operations

Common diagnostics

MIG and load balancer behaviors

Recovery patterns

Operational safeguards

Short examples

Practical Problem Scenario

Northwind Analytics runs a latency-sensitive API on Compute Engine. Incidents show frequent overprovisioning during deployments, occasional SSH access confusion among administrators, and a licensed telemetry server that must remain reachable at 10.0.3.21. The goal is to stabilize scaling, harden access, and ensure the license endpoint is stable.

Approach

  1. Create an instance template with right-sized custom machine type and startup bootstrapping
  1. Deploy a regional managed instance group behind an external HTTP(S) Load Balancer
  1. Configure autoscaling on CPU with cooldown and autohealing with a realistic initial delay
  1. Tune the health check and add an application-level /healthz
  1. Enable OS Login and grant admin access to an IAM group
  1. Reserve the license server’s static internal IP and attach it to a small, dedicated VM
  1. Assign a dedicated service account to the API template with least-privilege IAM
  1. Harden instances with Shielded VM and enforce serial console break-glass
  1. Implement snapshot schedules for stateful disks and test restore
  1. Validate and deploy

Resource Hierarchy · All domains · Containers

Practice these questions → · Timed practice on ExamRoll.io →

Pass the whole exam — not just this question

You found this answer. Get every verified question and explanation in one place, and save hours of prep. Free to start.

Pass your exam →

Browse Google →

Related guides

All-in-one access

One subscription. Every exam.

Every plan unlocks unlimited answer search, practice tests, AI explanations, and the full resource library — in 20+ languages.

Monthly
24.87
Just €0.83/day
Everything included:
  • Unlimited answer search
  • Unlimited practice tests
  • AI-powered explanations
  • Full resource library
  • 20+ languages
  • Weekly content updates
  • Rewards & referrals
  • Priority support
Start free trial

No credit card required*

Best value
12 months
179.87
Just €0.49/daySave 40%
Everything included:
  • Unlimited answer search
  • Unlimited practice tests
  • AI-powered explanations
  • Full resource library
  • 20+ languages
  • Weekly content updates
  • Rewards & referrals
  • Priority support
Start free trial

No credit card required*

✓ Free plan included · ✓ Cancel anytime · ✓ All plans unlock the full product