Associate Cloud Engineer decision tables: compute, disks, storage, databases, load balancers, IAM and gcloud
Most Associate Cloud Engineer (ACE) questions boil down to "which service or command fits this scenario". This article turns the common choices into decision tables: compute, disks, storage classes, databases, load balancers, IAM and the gcloud commands worth memorizing. For the exam structure and study plan, read the ACE study guide first; this article doesn't repeat the traps covered there.
Key takeaways
- Most ACE questions ask you to pick a service or command for a situation; the article collects the common choices into decision tables.
- The tables cover compute, disk, storage class, database, load balancer, IAM and the gcloud commands you need to know.
- Storage classes have minimum storage durations: Nearline 30 days, Coldline 90 days, Archive 365 days; deleting or changing class earlier is still billed as if stored for the full time.
- Reading tip: read the constraint before the options, for example "scale to zero" hints at Cloud Run and "preserve client IP" hints at a passthrough Network Load Balancer.
Choosing compute
| Scenario | Choice | Why |
|---|---|---|
| Need OS control, custom software, lift-and-shift | Compute Engine | Full VM control, machine types, disks |
| Many identical VMs that scale and self-heal | Managed instance group (MIG) + instance template | Autoscaling, autohealing via health checks |
| Containers that need Kubernetes orchestration | GKE (Autopilot if you don't want to manage nodes) | Autopilot has Google manage nodes; Standard allows node pool tuning |
| Stateless containers, scale to zero, fastest deploy | Cloud Run | Serverless, pay per use |
| Code reacting to events (Pub/Sub, Cloud Storage, Eventarc) | Cloud Run functions | The new name for Cloud Functions |
| Fault-tolerant batch at the lowest cost | Spot VMs | Deep discounts, but can be preempted at any time |
| Running managed AI agents | Agent Runtime on Gemini Enterprise Agent Platform | The exam guide notes its former name, Vertex AI Agent Engine |
Spot VMs are the latest version of preemptible VMs and have no minimum or maximum runtime unless you set a limit. Older answers saying "preemptible VMs" for nightly batch carry the same idea, but newer questions tend to say Spot VMs.
MIG and VM settings that show up often
- Autohealing: create a MIG with a health check so unresponsive VMs are recreated (practice question #4).
- VMs recreated in a loop right after scale-out: the health check runs before the app finishes booting; increase the initial delay (question #43).
- Availability during maintenance: availability policy with Automatic restart on and On-host maintenance set to Migrate (question #47).
- More memory: stop the VM, change the machine type or memory, then start it (question #49).
Choosing Compute Engine disks
| Need | Choice |
|---|---|
| Ordinary durable disk in one zone | Zonal Persistent Disk or Hyperdisk |
| Survive a zonal outage | Regional Persistent Disk or Hyperdisk Balanced High Availability (synchronous replication between two zones in a region) |
| Very high IOPS with data persisting across restarts (e.g. SAP HANA) | Hyperdisk Extreme (question #375) |
| Extremely fast scratch space, data loss acceptable | Local SSD |
Choosing a Cloud Storage class
| Class | Minimum storage duration | Fits |
|---|---|---|
| Standard | None | Frequently accessed data, websites, analytics |
| Nearline | 30 days | Accessed about once a month or less, backups |
| Coldline | 90 days | Accessed about once a quarter |
| Archive | 365 days | Long-term archives, disaster recovery, compliance |
Deleting or changing class before the minimum duration is still charged as if stored for the full period. To share an object temporarily with an outside party that has no Google account, use a signed URL with an expiration (question #29).
Choosing databases and data services
| Scenario | Choice |
|---|---|
| Relational, single region, MySQL, PostgreSQL, SQL Server | Cloud SQL |
| High-performance PostgreSQL with analytics | AlloyDB |
| Relational, horizontal scale, strong global consistency | Spanner |
| Document NoSQL for web and mobile apps | Firestore |
| Wide-column, very high throughput, time series, IoT | Bigtable |
| SQL analytics warehouse | BigQuery |
| In-memory cache | Memorystore |
| Messaging and stream processing | Pub/Sub, Dataflow, Managed Service for Apache Kafka |
Choosing a load balancer
| Need | Choice |
|---|---|
| HTTP/HTTPS, URL-based routing, TLS terminated at the load balancer | Application Load Balancer (external or internal) |
| TCP or SSL proxy to backends in one or more regions | Proxy Network Load Balancer |
| Preserve client source IP, UDP, ESP, ICMP, no proxy | Passthrough Network Load Balancer |
A public HTTPS web app that must terminate the client SSL session uses an external Application Load Balancer, formerly called the HTTP(S) Load Balancer (question #40). Then pick external or internal, global or regional based on where clients and backends are.
Networking basics
- Production and test in separate subnets but reachable over internal IPs: one custom mode VPC with two subnets (question #50).
- An app that expects a fixed internal IP: reserve a static internal IP (question #8).
- VMs without external IPs that need internet access: Cloud NAT; between VPCs: VPC Network Peering or Shared VPC; to on-premises: Cloud VPN or Cloud Interconnect.
IAM: picking roles and scope
| Scenario | Approach |
|---|---|
| Colleagues manage buckets and files | Storage Admin (question #28) |
| VMs only write objects to one bucket | A service account with roles/storage.objectCreator on that bucket (question #26) |
| A service account in project A acts on project B | Grant that service account a role on project B (question #36) |
| Several users need the same access | Add them to a group and grant the role to the group (question #38) |
| Copy a custom role to another project | gcloud iam roles copy (question #10) |
| Database password in a GKE manifest | A Kubernetes Secret instead of plain text (question #42) |
IAM has three role types: basic (broad: Owner, Editor, Viewer), predefined (Google-managed, per service) and custom (your own permission list). ACE answers almost always favor a predefined role at the narrowest scope granted to a group. Policies inherit from the organization down to folders, projects and resources.
gcloud commands to know
| Task | Command |
|---|---|
| Create and switch between configurations (account, project, region) | gcloud config configurations create, ... activate (question #21) |
| See the active configuration (deployed to the wrong project) | gcloud config list (question #46) |
| Set the default project | gcloud config set project PROJECT_ID |
| List running VMs | gcloud compute instances list |
| Reserve an IP | gcloud compute addresses create (with --region, --subnet, --addresses for internal IPs) |
| Get kubectl credentials | gcloud container clusters get-credentials |
| Deploy to Cloud Run | gcloud run deploy --image |
| Grant a project IAM role | gcloud projects add-iam-policy-binding |
| Create a bucket, copy files | gcloud storage buckets create, gcloud storage cp |
Older questions often use gsutil; current Cloud Storage docs use gcloud storage. Check full syntax in the gcloud CLI reference.
Operations: monitoring and infrastructure as code
- Near-real-time alerts when a MIG's average CPU exceeds a threshold for a duration: a Cloud Monitoring alerting policy on the CPU utilization metric (question #371).
- Managing Google Cloud resources with Kubernetes manifests like your apps: Config Connector (question #372); otherwise Terraform is the most common IaC tool on the exam.
Reading the question
Read the constraints before the options: "scale to zero" points to Cloud Run, "preserve client IP" to a passthrough Network Load Balancer, "fault-tolerant batch, lowest cost" to Spot VMs, "survive a zonal failure" to regional disks or a multi-zone MIG. For access questions, rule out options that use basic roles or download service account keys.
Start practicing
Try the 60 free ACE questions, then a timed exam (Pro).